Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 349d2554d6fca97c817ada98ee99106d95f3ebb2 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-ssh18150032357962857405.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6109810485702064018.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10559933654228595806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3165456525476322153.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-ssh6300079351490227484.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 Running on prd-ubuntu20.04-docker-8c-8g-13365 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 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 > git rev-list --no-walk 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:53:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:53:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:53:27 ========================================================= 02:53:27 EdgeX Global Pipelines Version Info 02:53:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:53:28 ------------------- 02:53:28 stable info: 02:53:28 ------------------- 02:53:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:53:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:53:28 Message: update stable to v1.0.249 02:53:29 ------------------- 02:53:29 experimental info: 02:53:29 ------------------- 02:53:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:53:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:53:29 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 349d255 [Pipeline] echo 02:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:29 provisioning config files... 02:53:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5201159582501863742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:30 ---> docker-login.sh 02:53:30 nexus3.edgexfoundry.org:10001 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 nexus3.edgexfoundry.org:10002 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 nexus3.edgexfoundry.org:10003 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 nexus3.edgexfoundry.org:10004 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:30 Configure a credential helper to remove this warning. See 02:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:30 02:53:30 Login Succeeded 02:53:30 docker.io 02:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:31 Configure a credential helper to remove this warning. See 02:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:31 02:53:31 Login Succeeded 02:53:31 ---> docker-login.sh ends [Pipeline] } 02:53:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:53:31 + git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 02:53:31 -----------> git rev-list -1 --merges 349d2554d6fca97c817ada98ee99106d95f3ebb2~1..349d2554d6fca97c817ada98ee99106d95f3ebb2 349d2554d6fca97c817ada98ee99106d95f3ebb2 [false] [Pipeline] sh 02:53:31 + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 02:53:31 ========================================================= 02:53:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:53:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:32 + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] echo 02:53:32 [semverPrep] GIT_COMMIT: 349d2554d6fca97c817ada98ee99106d95f3ebb2, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337) [Pipeline] echo 02:53:32 [semverPrep] This is not a build commit. [Pipeline] sh 02:53:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:53:32 + grep -v github /etc/ssh/ssh_known_hosts 02:53:32 + [ -e /tmp/ssh_known_hosts ] 02:53:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:53:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:53:32 + sudo tee -a /etc/ssh/ssh_known_hosts 02:53:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:33 02:53:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:33 0.1.4: Pulling from edgex-devops/py-git-semver 02:53:33 b85a868b505f: Pulling fs layer 02:53:33 e2be974225ed: Pulling fs layer 02:53:33 339a4e72a1f5: Pulling fs layer 02:53:33 988bab9f4d93: Pulling fs layer 02:53:33 1469e6f7b9e6: Pulling fs layer 02:53:33 eaf3925da568: Pulling fs layer 02:53:33 bab4dde63d76: Pulling fs layer 02:53:33 bde34c3a00c8: Pulling fs layer 02:53:33 b352a97aabf1: Pulling fs layer 02:53:33 bab4dde63d76: Waiting 02:53:33 1469e6f7b9e6: Waiting 02:53:33 eaf3925da568: Waiting 02:53:33 bde34c3a00c8: Waiting 02:53:33 988bab9f4d93: Waiting 02:53:33 4872d77fe225: Pulling fs layer 02:53:33 b352a97aabf1: Waiting 02:53:33 5851b861e8e6: Pulling fs layer 02:53:33 5851b861e8e6: Waiting 02:53:33 4872d77fe225: Waiting 02:53:33 e2be974225ed: Verifying Checksum 02:53:33 e2be974225ed: Download complete 02:53:33 1469e6f7b9e6: Verifying Checksum 02:53:33 1469e6f7b9e6: Download complete 02:53:33 eaf3925da568: Verifying Checksum 02:53:33 eaf3925da568: Download complete 02:53:33 339a4e72a1f5: Verifying Checksum 02:53:33 339a4e72a1f5: Download complete 02:53:33 bde34c3a00c8: Download complete 02:53:33 b352a97aabf1: Verifying Checksum 02:53:33 b352a97aabf1: Download complete 02:53:33 4872d77fe225: Download complete 02:53:33 5851b861e8e6: Download complete 02:53:33 b85a868b505f: Verifying Checksum 02:53:33 b85a868b505f: Download complete 02:53:33 bab4dde63d76: Verifying Checksum 02:53:33 bab4dde63d76: Download complete 02:53:34 b85a868b505f: Pull complete 02:53:34 e2be974225ed: Pull complete 02:53:35 339a4e72a1f5: Pull complete 02:53:35 988bab9f4d93: Pull complete 02:53:35 1469e6f7b9e6: Pull complete 02:53:35 eaf3925da568: Pull complete 02:53:37 bab4dde63d76: Pull complete 02:53:37 bde34c3a00c8: Pull complete 02:53:37 b352a97aabf1: Pull complete 02:53:37 4872d77fe225: Pull complete 02:53:37 5851b861e8e6: Pull complete 02:53:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:53:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:38 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 02:53:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:53:40 $ docker top d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 -eo pid,comm 02:53:40 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). 02:53:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:53:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:40 [ssh-agent] Looking for ssh-agent implementation... 02:53:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:40 $ docker exec d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 ssh-agent 02:53:40 SSH_AUTH_SOCK=/tmp/ssh-OORYK9eYmsjd/agent.31 02:53:40 SSH_AGENT_PID=37 02:53:40 Running ssh-add (command line suppressed) 02:53:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8891970108626739761.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8891970108626739761.key) 02:53:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:40 + git tag --points-at HEAD [Pipeline] } 02:53:40 $ docker exec --env ******** --env ******** d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 ssh-agent -k 02:53:41 unset SSH_AUTH_SOCK; 02:53:41 unset SSH_AGENT_PID; 02:53:41 echo Agent pid 37 killed; 02:53:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:53:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:53:41 [ssh-agent] Looking for ssh-agent implementation... 02:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:53:41 $ docker exec d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 ssh-agent 02:53:41 SSH_AUTH_SOCK=/tmp/ssh-i4Qz0OTDVZkE/agent.69 02:53:41 SSH_AGENT_PID=75 02:53:41 Running ssh-add (command line suppressed) 02:53:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6890116940813262618.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6890116940813262618.key) 02:53:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:53:41 + git semver init 02:53:42 2023-05-05 02:53:41,918 [run_init] DEBUG init version:0.0.0 force:False 02:53:42 2023-05-05 02:53:41,919 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 02:53:42 2023-05-05 02:53:41,919 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 02:53:42 2023-05-05 02:53:41,920 [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) 02:53:42 2023-05-05 02:53:42,767 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 02:53:42 2023-05-05 02:53:42,768 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 02:53:42 2023-05-05 02:53:42,768 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:53:42 2023-05-05 02:53:42,768 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 02:53:42 3.0.0-dev.38 [Pipeline] } 02:53:42 $ docker exec --env ******** --env ******** d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 ssh-agent -k 02:53:43 unset SSH_AUTH_SOCK; 02:53:43 unset SSH_AGENT_PID; 02:53:43 echo Agent pid 75 killed; 02:53:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:53:43 + git semver [Pipeline] } 02:53:43 $ docker stop --time=1 d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 02:53:44 $ docker rm -f --volumes d775bf51f00af10db8014d4c9c4b86e7ae5257b303fef3caa08fd64d6b8afe95 [Pipeline] // withDockerContainer [Pipeline] sh 02:53:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:53:45 Stashed 1 file(s) [Pipeline] echo 02:53:45 [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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 02:53:45 provisioning config files... 02:53:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18188997683944605236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:53:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13807 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 02:53:45 Running in /w/workspace/device-onvif-camera/134 [Pipeline] { [Pipeline] checkout 02:53:45 ---> docker-login.sh 02:53:45 nexus3.edgexfoundry.org:10001 02:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:45 Configure a credential helper to remove this warning. See 02:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:45 02:53:45 Login Succeeded 02:53:45 nexus3.edgexfoundry.org:10002 02:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:45 Configure a credential helper to remove this warning. See 02:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:45 02:53:45 Login Succeeded 02:53:45 nexus3.edgexfoundry.org:10003 02:53:45 The recommended git tool is: git 02:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:46 Configure a credential helper to remove this warning. See 02:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:46 02:53:46 Login Succeeded 02:53:46 nexus3.edgexfoundry.org:10004 02:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:46 Configure a credential helper to remove this warning. See 02:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:46 02:53:46 Login Succeeded 02:53:46 docker.io 02:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:46 Configure a credential helper to remove this warning. See 02:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:46 02:53:46 Login Succeeded 02:53:46 ---> docker-login.sh ends [Pipeline] } 02:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:53:46 ========================================================= 02:53:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:53:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:46 + 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 . 02:53:46 Sending build context to Docker daemon 21.51MB 02:53:46 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:53:46 Step 2/13 : FROM ${BASE} AS builder 02:53:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:53:47 f56be85fc22e: Pulling fs layer 02:53:47 85791d961cd3: Pulling fs layer 02:53:47 d694b5ae8c79: Pulling fs layer 02:53:47 9f32a84ed3da: Pulling fs layer 02:53:47 4d19c01a9841: Pulling fs layer 02:53:47 9325e15d5711: Pulling fs layer 02:53:47 556b6ee489ea: Pulling fs layer 02:53:47 c5a4b2cf53e6: Pulling fs layer 02:53:47 9f32a84ed3da: Waiting 02:53:47 4d19c01a9841: Waiting 02:53:47 9325e15d5711: Waiting 02:53:47 556b6ee489ea: Waiting 02:53:47 c5a4b2cf53e6: Waiting 02:53:47 85791d961cd3: Download complete 02:53:47 9f32a84ed3da: Download complete 02:53:47 4d19c01a9841: Verifying Checksum 02:53:47 4d19c01a9841: Download complete 02:53:47 f56be85fc22e: Verifying Checksum 02:53:47 f56be85fc22e: Download complete 02:53:47 9325e15d5711: Download complete 02:53:47 f56be85fc22e: Pull complete 02:53:47 85791d961cd3: Pull complete 02:53:47 c5a4b2cf53e6: Verifying Checksum 02:53:47 c5a4b2cf53e6: Download complete 02:53:47 d694b5ae8c79: Download complete 02:53:47 556b6ee489ea: Download complete 02:53:50 using credential edgex-jenkins-ssh 02:53:50 Cloning the remote Git repository 02:53:51 d694b5ae8c79: Pull complete 02:53:51 9f32a84ed3da: Pull complete 02:53:51 4d19c01a9841: Pull complete 02:53:51 9325e15d5711: Pull complete 02:53:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:53:51 > git init /w/workspace/device-onvif-camera/134 # timeout=10 02:53:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:53:51 > git --version # timeout=10 02:53:51 > git --version # 'git version 2.25.1' 02:53:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:53:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:53:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:53:53 556b6ee489ea: Pull complete 02:53:53 Avoid second fetch 02:53:53 Checking out Revision 349d2554d6fca97c817ada98ee99106d95f3ebb2 (main) 02:53:54 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#337)" 02:53:54 c5a4b2cf53e6: Pull complete 02:53:54 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:53:54 ---> c4be618373d6 02:53:54 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:53:53 > git config core.sparsecheckout # timeout=10 02:53:53 > git checkout -f 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:53:57 ---> Running in db8de114d087 02:53:57 Removing intermediate container db8de114d087 02:53:57 ---> 8693809f1373 02:53:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:57 ---> Running in d955273d916a 02:53:57 Removing intermediate container d955273d916a 02:53:57 ---> 97d07057bd12 02:53:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:53:57 ---> Running in f4589477998f 02:53:57 Removing intermediate container f4589477998f 02:53:57 ---> 37aafa275d23 02:53:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:53:57 ---> Running in 19f8adec6fa2 02:53:57 Removing intermediate container 19f8adec6fa2 02:53:57 ---> 8c4aa4a4fc18 02:53:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:53:57 ---> Running in ec89e9d617ed 02:53:57 Removing intermediate container ec89e9d617ed 02:53:57 ---> 3bcd4cc018f7 02:53:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:53:57 ---> Running in db12bb9c409d 02:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:53:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:57 Dload Upload Total Spent Left Speed 02:53:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 02:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:53:58 OK: 265 MiB in 53 packages 02:53:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:53:58 Removing intermediate container db12bb9c409d 02:53:58 ---> 82a77051fa3d 02:53:58 Step 9/13 : WORKDIR /device-onvif-camera 02:53:58 ---> Running in 89d3028ba74e 02:53:58 Removing intermediate container 89d3028ba74e 02:53:58 ---> c26f9abf777f 02:53:58 Step 10/13 : COPY go.mod vendor* ./ 02:53:58 ---> f434d573b637 02:53:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:58 ---> Running in 67ae4a16c0ff 02:53:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:53:58 + sudo tee /etc/docker/daemon.new 02:53:58 { 02:53:58 "registry-mirrors": [ 02:53:58 "https://nexus3.edgexfoundry.org:10001" 02:53:58 ], 02:53:58 "bip": "10.250.0.254/24", 02:53:58 "hosts": [ 02:53:58 "tcp://0.0.0.0:5555", 02:53:58 "unix:///var/run/docker.sock" 02:53:58 ], 02:53:58 "mtu": 1458, 02:53:58 "selinux-enabled": true, 02:53:58 "seccomp-profile": "/etc/docker/seccomp.json" 02:53:58 } [Pipeline] sh 02:53:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:53:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:17 provisioning config files... 02:54:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/134@tmp/config9676754831227502080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:18 ---> docker-login.sh 02:54:18 nexus3.edgexfoundry.org:10001 02:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:18 Configure a credential helper to remove this warning. See 02:54:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:18 02:54:18 Login Succeeded 02:54:18 nexus3.edgexfoundry.org:10002 02:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:19 Configure a credential helper to remove this warning. See 02:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:19 02:54:19 Login Succeeded 02:54:19 nexus3.edgexfoundry.org:10003 02:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:19 Configure a credential helper to remove this warning. See 02:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:19 02:54:19 Login Succeeded 02:54:19 nexus3.edgexfoundry.org:10004 02:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:19 Configure a credential helper to remove this warning. See 02:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:19 02:54:19 Login Succeeded 02:54:19 docker.io 02:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:20 Configure a credential helper to remove this warning. See 02:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:20 02:54:20 Login Succeeded 02:54:20 ---> docker-login.sh ends [Pipeline] } 02:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:20 ========================================================= 02:54:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:54:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:20 + 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 . 02:54:21 Sending build context to Docker daemon 14.17MB 02:54:21 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:54:21 Step 2/13 : FROM ${BASE} AS builder 02:54:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:54:21 c41833b44d91: Pulling fs layer 02:54:21 ed15518f5707: Pulling fs layer 02:54:21 feae8fd75edb: Pulling fs layer 02:54:21 242c74f7c9fa: Pulling fs layer 02:54:21 3cdef696dda3: Pulling fs layer 02:54:21 2ced38df9373: Pulling fs layer 02:54:21 58f1dce35555: Pulling fs layer 02:54:21 3cdef696dda3: Waiting 02:54:21 2ced38df9373: Waiting 02:54:21 58f1dce35555: Waiting 02:54:21 ed15518f5707: Verifying Checksum 02:54:21 ed15518f5707: Download complete 02:54:21 242c74f7c9fa: Download complete 02:54:21 3cdef696dda3: Verifying Checksum 02:54:21 3cdef696dda3: Download complete 02:54:21 c41833b44d91: Verifying Checksum 02:54:21 c41833b44d91: Download complete 02:54:22 58f1dce35555: Verifying Checksum 02:54:22 58f1dce35555: Download complete 02:54:23 c41833b44d91: Pull complete 02:54:23 feae8fd75edb: Download complete 02:54:23 2ced38df9373: Verifying Checksum 02:54:23 2ced38df9373: Download complete 02:54:24 ed15518f5707: Pull complete 02:54:25 Removing intermediate container 67ae4a16c0ff 02:54:25 ---> bfb3b52d6249 02:54:25 Step 12/13 : COPY . . 02:54:25 ---> 46faab1c6536 02:54:25 Step 13/13 : RUN ${MAKE} 02:54:25 ---> Running in 528cc3cad95a 02:54:25 noop 02:54:25 Removing intermediate container 528cc3cad95a 02:54:25 ---> d74113035b63 02:54:25 Successfully built d74113035b63 02:54:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:25 + docker inspect -f . ci-base-image-x86_64 02:54:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:25 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 02:54:25 $ 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 ******** ci-base-image-x86_64 cat 02:54:26 $ docker top 0ad214c311166da595da8fac33f8dfa4ca4cb00ac5c6495be9a276d2d6ec41a1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:26 + go version 02:54:26 go version go1.20.2 linux/amd64 [Pipeline] } 02:54:26 $ docker stop --time=1 0ad214c311166da595da8fac33f8dfa4ca4cb00ac5c6495be9a276d2d6ec41a1 02:54:27 $ docker rm -f --volumes 0ad214c311166da595da8fac33f8dfa4ca4cb00ac5c6495be9a276d2d6ec41a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:28 + docker inspect -f . ci-base-image-x86_64 02:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:54:28 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 02:54:28 $ 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 ******** ci-base-image-x86_64 cat 02:54:28 $ docker top 1d6728dc49436355b28935479c848cef5e6375f96f50818fa6016e1199a94541 -eo pid,comm [Pipeline] { [Pipeline] sh 02:54:28 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 02:54:29 + make test 02:54:29 go test ./... -coverprofile=coverage.out ./... 02:54:34 feae8fd75edb: Pull complete 02:54:34 242c74f7c9fa: Pull complete 02:54:34 3cdef696dda3: Pull complete 02:54:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:54:41 2ced38df9373: Pull complete 02:54:42 58f1dce35555: Pull complete 02:54:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:54:42 ---> fadd8f120f05 02:54:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:54:44 ---> Running in b2070feb8afa 02:54:44 Removing intermediate container b2070feb8afa 02:54:44 ---> ffeb749b6c1f 02:54:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:54:44 ---> Running in 6d36bca9336a 02:54:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:54:44 Removing intermediate container 6d36bca9336a 02:54:44 ---> 7beea368630a 02:54:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 02:54:45 ---> Running in 3fcb002b9b3d 02:54:45 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:54:45 Removing intermediate container 3fcb002b9b3d 02:54:45 ---> 1d939599c4a6 02:54:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 02:54:45 ---> Running in eb2ab7f9e713 02:54:45 Removing intermediate container eb2ab7f9e713 02:54:45 ---> a1cd098ee07a 02:54:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 02:54:45 ---> Running in a44b83bbff80 02:54:46 Removing intermediate container a44b83bbff80 02:54:46 ---> 5a1097ad58f8 02:54:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:46 ---> Running in 74dff7622a18 02:54:47 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.050s coverage: 31.1% of statements 02:54:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.095s coverage: 86.5% of statements 02:54:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:54:49 OK: 263 MiB in 53 packages 02:54:49 Removing intermediate container 74dff7622a18 02:54:49 ---> 3091bd47cb24 02:54:49 Step 9/13 : WORKDIR /device-onvif-camera 02:54:50 ---> Running in 5f5ba47cd477 02:54:50 Removing intermediate container 5f5ba47cd477 02:54:50 ---> bd14a6b20792 02:54:50 Step 10/13 : COPY go.mod vendor* ./ 02:54:50 ---> a4209e99f3ee 02:54:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:51 ---> Running in b5971dde2767 02:54:55 go vet ./... 02:54:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:58 ./bin/test-attribution-txt.sh [Pipeline] echo 02:54:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:54:58 $ docker stop --time=1 1d6728dc49436355b28935479c848cef5e6375f96f50818fa6016e1199a94541 02:55:01 $ docker rm -f --volumes 1d6728dc49436355b28935479c848cef5e6375f96f50818fa6016e1199a94541 [Pipeline] // withDockerContainer [Pipeline] sh 02:55:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:55:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:55:02 + ls -al . 02:55:02 total 232 02:55:02 drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:54 . 02:55:02 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 .. 02:55:02 drwxrwxr-x 8 jenkins jenkins 4096 May 5 02:53 .git 02:55:02 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:53 .github 02:55:02 -rw-rw-r-- 1 jenkins jenkins 496 May 5 02:53 .gitignore 02:55:02 -rw-rw-r-- 1 jenkins jenkins 42 May 5 02:53 .golangci.yml 02:55:02 drwxr-xr-x 3 jenkins jenkins 4096 May 5 02:53 .semver 02:55:02 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 02:53 Attribution.txt 02:55:02 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 02:53 CHANGELOG.md 02:55:02 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 02:53 Dockerfile 02:55:02 -rw-rw-r-- 1 jenkins jenkins 677 May 5 02:53 GOVERNANCE.md 02:55:02 -rw-rw-r-- 1 jenkins jenkins 734 May 5 02:53 Jenkinsfile 02:55:02 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 02:53 LICENSE 02:55:02 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 02:53 Makefile 02:55:02 -rw-rw-r-- 1 jenkins jenkins 625 May 5 02:53 OWNERS.md 02:55:02 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 02:53 README.md 02:55:02 -rw-rw-r-- 1 jenkins jenkins 12 May 5 02:53 VERSION 02:55:02 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:53 bin 02:55:02 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:53 cmd 02:55:02 -rw-r--r-- 1 jenkins jenkins 79191 May 5 02:54 coverage.out 02:55:02 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 doc 02:55:02 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 02:53 go.mod 02:55:02 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 02:53 go.sum 02:55:02 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 internal 02:55:02 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 snap 02:55:02 -rw-rw-r-- 1 jenkins jenkins 236 May 5 02:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:03 + 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=349d2554d6fca97c817ada98ee99106d95f3ebb2 --label arch=amd64 --label version=3.0.0-dev.38 . 02:55:03 Sending build context to Docker daemon 21.59MB 02:55:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 02:55:03 Step 2/26 : FROM ${BASE} AS builder 02:55:03 ---> d74113035b63 02:55:03 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:55:03 ---> Running in d2c903a1a4ac 02:55:03 Removing intermediate container d2c903a1a4ac 02:55:03 ---> ca5a2ae3f3a3 02:55:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:03 ---> Running in 8efdc503ec08 02:55:03 Removing intermediate container 8efdc503ec08 02:55:03 ---> c2fc7f621c14 02:55:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:55:03 ---> Running in 4a46679066d1 02:55:03 Removing intermediate container 4a46679066d1 02:55:03 ---> 2678dc1f8817 02:55:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:55:03 ---> Running in 34c802095638 02:55:03 Removing intermediate container 34c802095638 02:55:03 ---> 13c00735023d 02:55:03 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:55:03 ---> Running in b6656b42369a 02:55:03 Removing intermediate container b6656b42369a 02:55:03 ---> 3d1011174df7 02:55:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:03 ---> Running in 6cae50380e4f 02:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:55:04 OK: 265 MiB in 53 packages 02:55:04 Removing intermediate container 6cae50380e4f 02:55:04 ---> 3d9c1c554cab 02:55:04 Step 9/26 : WORKDIR /device-onvif-camera 02:55:04 ---> Running in e0bb8774990d 02:55:04 Removing intermediate container e0bb8774990d 02:55:04 ---> 0d2a27163501 02:55:04 Step 10/26 : COPY go.mod vendor* ./ 02:55:04 ---> 0055d47342d8 02:55:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:04 ---> Running in 8d3fac60e0e9 02:55:05 Removing intermediate container 8d3fac60e0e9 02:55:05 ---> cb123942b05c 02:55:05 Step 12/26 : COPY . . 02:55:06 ---> b4f0e8301481 02:55:06 Step 13/26 : RUN ${MAKE} 02:55:06 ---> Running in a2518a506ca8 02:55:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 02:55:28 Removing intermediate container a2518a506ca8 02:55:28 ---> ddd5c40edcb8 02:55:28 Step 14/26 : FROM alpine:3.17 02:55:28 3.17: Pulling from library/alpine 02:55:28 f56be85fc22e: Already exists 02:55:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:55:28 Status: Downloaded newer image for alpine:3.17 02:55:28 ---> 9ed4aefc74f6 02:55:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:55:28 ---> Running in 977d325a430a 02:55:28 Removing intermediate container 977d325a430a 02:55:28 ---> 01541736df22 02:55:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:55:28 ---> Running in 89dba81f6e5b 02:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:55:28 (1/1) Installing dumb-init (1.2.5-r2) 02:55:28 Executing busybox-1.35.0-r29.trigger 02:55:28 OK: 7 MiB in 16 packages 02:55:28 Removing intermediate container 89dba81f6e5b 02:55:28 ---> 3e3ea6d8b8c8 02:55:28 Step 17/26 : WORKDIR / 02:55:28 ---> Running in 9b812818f808 02:55:28 Removing intermediate container 9b812818f808 02:55:28 ---> 9b26a817563f 02:55:28 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:55:28 ---> 8192c17d079d 02:55:28 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:55:28 ---> 2e993f5d3c12 02:55:28 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:55:28 ---> 51aaa0e2b58e 02:55:28 Step 21/26 : EXPOSE 59984 02:55:28 ---> Running in 9cf96d991bff 02:55:28 Removing intermediate container 9cf96d991bff 02:55:28 ---> f38ae45b04bc 02:55:28 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:55:28 ---> Running in 8bd9206b0a27 02:55:28 Removing intermediate container 8bd9206b0a27 02:55:28 ---> e424e0055aaf 02:55:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:55:28 ---> Running in f0601555f26c 02:55:28 Removing intermediate container f0601555f26c 02:55:28 ---> 03c39f65f4fc 02:55:28 Step 24/26 : LABEL arch=amd64 02:55:28 ---> Running in 7739e207ce05 02:55:28 Removing intermediate container 7739e207ce05 02:55:28 ---> b8449a4ebed7 02:55:28 Step 25/26 : LABEL git_sha=349d2554d6fca97c817ada98ee99106d95f3ebb2 02:55:28 ---> Running in ad9e2632ba12 02:55:28 Removing intermediate container ad9e2632ba12 02:55:28 ---> 3167282696d9 02:55:28 Step 26/26 : LABEL version=3.0.0-dev.38 02:55:28 ---> Running in 99a6b1738927 02:55:28 Removing intermediate container 99a6b1738927 02:55:28 ---> 0e5d6771ec1a 02:55:28 [Warning] One or more build-args [ARCH] were not consumed 02:55:28 Successfully built 0e5d6771ec1a 02:55:28 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 02:55:29 provisioning config files... 02:55:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15519614624354936788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:29 ---> docker-login.sh 02:55:29 nexus3.edgexfoundry.org:10001 02:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:29 Configure a credential helper to remove this warning. See 02:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:29 02:55:29 Login Succeeded 02:55:29 nexus3.edgexfoundry.org:10002 02:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:29 Configure a credential helper to remove this warning. See 02:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:29 02:55:29 Login Succeeded 02:55:29 nexus3.edgexfoundry.org:10003 02:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:29 Configure a credential helper to remove this warning. See 02:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:29 02:55:29 Login Succeeded 02:55:29 nexus3.edgexfoundry.org:10004 02:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:29 Configure a credential helper to remove this warning. See 02:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:29 02:55:29 Login Succeeded 02:55:29 docker.io 02:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:29 Configure a credential helper to remove this warning. See 02:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:29 02:55:29 Login Succeeded 02:55:29 ---> docker-login.sh ends [Pipeline] } 02:55:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:55:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:29 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 02:55:29 349d2554d6fca97c817ada98ee99106d95f3ebb2 02:55:29 latest 02:55:29 3.0.0-dev.38 02:55:29 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 02:55:29 main 02:55:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:30 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 02:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:55:30 fe30463949fa: Preparing 02:55:30 f6c1acb56aa1: Preparing 02:55:30 626d53cf8f34: Preparing 02:55:30 15d0493306bb: Preparing 02:55:30 f1417ff83b31: Preparing 02:55:30 f1417ff83b31: Layer already exists 02:55:30 fe30463949fa: Pushed 02:55:30 f6c1acb56aa1: Pushed 02:55:30 15d0493306bb: Pushed 02:55:33 626d53cf8f34: Pushed 02:55:33 349d2554d6fca97c817ada98ee99106d95f3ebb2: digest: sha256:b04cd4f9c95d961498860c2186ed665208a5c60b05be23404dc440fd12da6284 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:55:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:55:33 fe30463949fa: Preparing 02:55:33 f6c1acb56aa1: Preparing 02:55:33 626d53cf8f34: Preparing 02:55:33 15d0493306bb: Preparing 02:55:33 f1417ff83b31: Preparing 02:55:33 15d0493306bb: Layer already exists 02:55:33 f6c1acb56aa1: Layer already exists 02:55:33 626d53cf8f34: Layer already exists 02:55:33 fe30463949fa: Layer already exists 02:55:33 f1417ff83b31: Layer already exists 02:55:33 latest: digest: sha256:b04cd4f9c95d961498860c2186ed665208a5c60b05be23404dc440fd12da6284 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:33 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 02:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:55:34 fe30463949fa: Preparing 02:55:34 f6c1acb56aa1: Preparing 02:55:34 626d53cf8f34: Preparing 02:55:34 15d0493306bb: Preparing 02:55:34 f1417ff83b31: Preparing 02:55:34 f1417ff83b31: Layer already exists 02:55:34 fe30463949fa: Layer already exists 02:55:34 15d0493306bb: Layer already exists 02:55:34 f6c1acb56aa1: Layer already exists 02:55:34 626d53cf8f34: Layer already exists 02:55:34 3.0.0-dev.38: digest: sha256:b04cd4f9c95d961498860c2186ed665208a5c60b05be23404dc440fd12da6284 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 02:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:55:34 fe30463949fa: Preparing 02:55:34 f6c1acb56aa1: Preparing 02:55:34 626d53cf8f34: Preparing 02:55:34 15d0493306bb: Preparing 02:55:34 f1417ff83b31: Preparing 02:55:34 fe30463949fa: Layer already exists 02:55:34 f1417ff83b31: Layer already exists 02:55:34 15d0493306bb: Layer already exists 02:55:34 f6c1acb56aa1: Layer already exists 02:55:34 626d53cf8f34: Layer already exists 02:55:34 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38: digest: sha256:b04cd4f9c95d961498860c2186ed665208a5c60b05be23404dc440fd12da6284 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:35 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 02:55:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 02:55:35 fe30463949fa: Preparing 02:55:35 f6c1acb56aa1: Preparing 02:55:35 626d53cf8f34: Preparing 02:55:35 15d0493306bb: Preparing 02:55:35 f1417ff83b31: Preparing 02:55:35 15d0493306bb: Layer already exists 02:55:35 f6c1acb56aa1: Layer already exists 02:55:35 f1417ff83b31: Layer already exists 02:55:35 626d53cf8f34: Layer already exists 02:55:35 fe30463949fa: Layer already exists 02:55:35 main: digest: sha256:b04cd4f9c95d961498860c2186ed665208a5c60b05be23404dc440fd12da6284 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:55:35 ===================================================== [Pipeline] echo 02:55:35 taggedImages: 02:55:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2 02:55:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 02:55:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.38 02:55:35 - nexus3.edgexfoundry.org:10004/device-onvif-camera:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 02:55:35 - 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 02:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:35 02:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:36 latest: Pulling from edgex-lftools-log-publisher 02:55:36 5eb5b503b376: Pulling fs layer 02:55:36 5c69ac0246d0: Pulling fs layer 02:55:36 ec43610c2a17: Pulling fs layer 02:55:36 3a2ae6a8a46f: Pulling fs layer 02:55:36 33b1e0a273af: Pulling fs layer 02:55:36 5d3b04190fa2: Pulling fs layer 02:55:36 2f39f015ded8: Pulling fs layer 02:55:36 33b1e0a273af: Waiting 02:55:36 5d3b04190fa2: Waiting 02:55:36 2f39f015ded8: Waiting 02:55:36 3a2ae6a8a46f: Waiting 02:55:36 5c69ac0246d0: Verifying Checksum 02:55:36 5c69ac0246d0: Download complete 02:55:36 3a2ae6a8a46f: Verifying Checksum 02:55:36 3a2ae6a8a46f: Download complete 02:55:36 33b1e0a273af: Verifying Checksum 02:55:36 33b1e0a273af: Download complete 02:55:36 5d3b04190fa2: Verifying Checksum 02:55:36 5d3b04190fa2: Download complete 02:55:36 ec43610c2a17: Verifying Checksum 02:55:36 5eb5b503b376: Verifying Checksum 02:55:36 5eb5b503b376: Download complete 02:55:37 2f39f015ded8: Download complete 02:55:37 5eb5b503b376: Pull complete 02:55:37 5c69ac0246d0: Pull complete 02:55:37 ec43610c2a17: Pull complete 02:55:37 3a2ae6a8a46f: Pull complete 02:55:38 33b1e0a273af: Pull complete 02:55:38 5d3b04190fa2: Pull complete 02:55:42 2f39f015ded8: Pull complete 02:55:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:42 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 02:55:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:55:45 $ docker top ad801c591a9a87abbf56975d2899583c67deac7600593ae71480330476fafb11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:45 ---> job-cost.sh 02:55:45 lf-activate-venv: SKIPPING 02:55:45 INFO: No Stack... 02:55:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:55:46 INFO: Archiving Costs [Pipeline] sh 02:55:46 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 02:55:46 + cut -d, -f6 [Pipeline] lock 02:55:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] 02:55:46 Resource [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] did not exist. Created. 02:55:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:47 + echo total: 0.2199999988079071 [Pipeline] stash 02:55:47 Stashed 1 file(s) [Pipeline] } 02:55:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 02:55:47 $ docker stop --time=1 ad801c591a9a87abbf56975d2899583c67deac7600593ae71480330476fafb11 02:55:48 $ docker rm -f --volumes ad801c591a9a87abbf56975d2899583c67deac7600593ae71480330476fafb11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:55:58 Removing intermediate container b5971dde2767 02:55:58 ---> d8a55649c973 02:55:58 Step 12/13 : COPY . . 02:55:58 ---> 59ca3abec08c 02:55:58 Step 13/13 : RUN ${MAKE} 02:55:58 ---> Running in e4c74474bb47 02:55:58 noop 02:55:58 Removing intermediate container e4c74474bb47 02:55:58 ---> 8b3fb5402686 02:55:58 Successfully built 8b3fb5402686 02:55:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:55:59 + docker inspect -f . ci-base-image-arm64 02:55:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:55:59 prd-ubuntu20.04-docker-arm64-4c-16g-13807 does not seem to be running inside a container 02:55:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/134 -v /w/workspace/device-onvif-camera/134:/w/workspace/device-onvif-camera/134:rw,z -v /w/workspace/device-onvif-camera/134@tmp:/w/workspace/device-onvif-camera/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:56:00 $ docker top fe97622132718edd9a8d9a206371e8f38b751ae2ac83dbf06859906b93df3691 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:01 + go version 02:56:01 go version go1.20.2 linux/arm64 [Pipeline] } 02:56:01 $ docker stop --time=1 fe97622132718edd9a8d9a206371e8f38b751ae2ac83dbf06859906b93df3691 02:56:03 $ docker rm -f --volumes fe97622132718edd9a8d9a206371e8f38b751ae2ac83dbf06859906b93df3691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:03 + docker inspect -f . ci-base-image-arm64 02:56:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:04 prd-ubuntu20.04-docker-arm64-4c-16g-13807 does not seem to be running inside a container 02:56:04 $ 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/134 -v /w/workspace/device-onvif-camera/134:/w/workspace/device-onvif-camera/134:rw,z -v /w/workspace/device-onvif-camera/134@tmp:/w/workspace/device-onvif-camera/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:56:05 $ docker top 87e3d1e70b0e4ad2283749070fa8b0ffc3fdeb4e722907544f3e2cd3f01f808b -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/134 [Pipeline] fileExists [Pipeline] sh 02:56:06 + make test 02:56:06 go test ./... -coverprofile=coverage.out ./... 02:56:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:58:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:58:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:58:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.180s coverage: 31.1% of statements 02:58:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.338s coverage: 86.5% of statements 02:58:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:50 go vet ./... 02:59:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:17 ./bin/test-attribution-txt.sh [Pipeline] echo 02:59:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:59:17 $ docker stop --time=1 87e3d1e70b0e4ad2283749070fa8b0ffc3fdeb4e722907544f3e2cd3f01f808b 02:59:19 $ docker rm -f --volumes 87e3d1e70b0e4ad2283749070fa8b0ffc3fdeb4e722907544f3e2cd3f01f808b [Pipeline] // withDockerContainer [Pipeline] sh 02:59:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:20 Warning: overwriting stash ‘coverage-report’ 02:59:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:21 + ls -al . 02:59:21 total 228 02:59:21 drwxrwxr-x 9 jenkins jenkins 4096 May 5 02:56 . 02:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 .. 02:59:21 drwxrwxr-x 8 jenkins jenkins 4096 May 5 02:53 .git 02:59:21 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:53 .github 02:59:21 -rw-rw-r-- 1 jenkins jenkins 496 May 5 02:53 .gitignore 02:59:21 -rw-rw-r-- 1 jenkins jenkins 42 May 5 02:53 .golangci.yml 02:59:21 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 02:53 Attribution.txt 02:59:21 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 02:53 CHANGELOG.md 02:59:21 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 02:53 Dockerfile 02:59:21 -rw-rw-r-- 1 jenkins jenkins 677 May 5 02:53 GOVERNANCE.md 02:59:21 -rw-rw-r-- 1 jenkins jenkins 734 May 5 02:53 Jenkinsfile 02:59:21 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 02:53 LICENSE 02:59:21 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 02:53 Makefile 02:59:21 -rw-rw-r-- 1 jenkins jenkins 625 May 5 02:53 OWNERS.md 02:59:21 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 02:53 README.md 02:59:21 -rw-rw-r-- 1 jenkins jenkins 12 May 5 02:53 VERSION 02:59:21 drwxrwxr-x 2 jenkins jenkins 4096 May 5 02:53 bin 02:59:21 drwxrwxr-x 3 jenkins jenkins 4096 May 5 02:53 cmd 02:59:21 -rw-r--r-- 1 jenkins jenkins 79191 May 5 02:58 coverage.out 02:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 doc 02:59:21 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 02:53 go.mod 02:59:21 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 02:53 go.sum 02:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 internal 02:59:21 drwxrwxr-x 4 jenkins jenkins 4096 May 5 02:53 snap 02:59:21 -rw-rw-r-- 1 jenkins jenkins 236 May 5 02:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:22 + 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=349d2554d6fca97c817ada98ee99106d95f3ebb2 --label arch=arm64 --label version=3.0.0-dev.38 . 02:59:22 Sending build context to Docker daemon 14.25MB 02:59:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 02:59:22 Step 2/26 : FROM ${BASE} AS builder 02:59:22 ---> 8b3fb5402686 02:59:22 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:59:22 ---> Running in 3bd9633c0340 02:59:22 Removing intermediate container 3bd9633c0340 02:59:22 ---> e6ae560360d6 02:59:22 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:22 ---> Running in f136fe665e4f 02:59:23 Removing intermediate container f136fe665e4f 02:59:23 ---> d2bca13c587c 02:59:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 02:59:23 ---> Running in 8366f2ac9c47 02:59:23 Removing intermediate container 8366f2ac9c47 02:59:23 ---> f1834b3fa146 02:59:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:59:23 ---> Running in cade86248dda 02:59:23 Removing intermediate container cade86248dda 02:59:23 ---> 2897b2d43a94 02:59:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 02:59:23 ---> Running in dcd348021780 02:59:24 Removing intermediate container dcd348021780 02:59:24 ---> 8bd76e8993c8 02:59:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:24 ---> Running in a9605819d313 02:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:59:27 OK: 263 MiB in 53 packages 02:59:27 Removing intermediate container a9605819d313 02:59:27 ---> 4af8bfa33519 02:59:27 Step 9/26 : WORKDIR /device-onvif-camera 02:59:28 ---> Running in 9b33b9406ab7 02:59:28 Removing intermediate container 9b33b9406ab7 02:59:28 ---> df87d42a691a 02:59:28 Step 10/26 : COPY go.mod vendor* ./ 02:59:28 ---> e2a4545ec32f 02:59:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:28 ---> Running in cb194efb234e 02:59:31 Removing intermediate container cb194efb234e 02:59:31 ---> 665537a74b8f 02:59:31 Step 12/26 : COPY . . 02:59:32 ---> b304229c3fc9 02:59:32 Step 13/26 : RUN ${MAKE} 02:59:32 ---> Running in ea9d40c01b14 02:59:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:01:55 Removing intermediate container ea9d40c01b14 03:01:55 ---> ad003f44e4f1 03:01:55 Step 14/26 : FROM alpine:3.17 03:01:55 3.17: Pulling from library/alpine 03:01:55 c41833b44d91: Already exists 03:01:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:01:55 Status: Downloaded newer image for alpine:3.17 03:01:55 ---> 51e60588ff2c 03:01:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:01:55 ---> Running in 4e52292239d7 03:01:55 Removing intermediate container 4e52292239d7 03:01:55 ---> 0fdea7e0c99b 03:01:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:01:55 ---> Running in ea7fb8f56101 03:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:01:55 (1/1) Installing dumb-init (1.2.5-r2) 03:01:55 Executing busybox-1.35.0-r29.trigger 03:01:55 OK: 8 MiB in 16 packages 03:01:55 Removing intermediate container ea7fb8f56101 03:01:55 ---> 304262f769bd 03:01:55 Step 17/26 : WORKDIR / 03:01:55 ---> Running in ecd568a20aaf 03:01:55 Removing intermediate container ecd568a20aaf 03:01:55 ---> 1eabc33c31ef 03:01:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:01:55 ---> 77cfa36f87f4 03:01:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:01:55 ---> 9a12a0c105ad 03:01:55 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:01:55 ---> e015d06989e4 03:01:55 Step 21/26 : EXPOSE 59984 03:01:55 ---> Running in 8e9a6f2cfe2e 03:01:55 Removing intermediate container 8e9a6f2cfe2e 03:01:55 ---> 82e7e0550c31 03:01:55 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:01:55 ---> Running in 8827e518bcbc 03:01:55 Removing intermediate container 8827e518bcbc 03:01:55 ---> fe742893248b 03:01:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:01:55 ---> Running in 62dd41e186d1 03:01:55 Removing intermediate container 62dd41e186d1 03:01:55 ---> e3eb5adc3d3d 03:01:55 Step 24/26 : LABEL arch=arm64 03:01:55 ---> Running in 1f4eac417b5b 03:01:55 Removing intermediate container 1f4eac417b5b 03:01:55 ---> f5219fe91538 03:01:55 Step 25/26 : LABEL git_sha=349d2554d6fca97c817ada98ee99106d95f3ebb2 03:01:55 ---> Running in 5afad2e1310d 03:01:55 Removing intermediate container 5afad2e1310d 03:01:55 ---> de315c841c13 03:01:55 Step 26/26 : LABEL version=3.0.0-dev.38 03:01:55 ---> Running in d2df63ca6c5e 03:01:55 Removing intermediate container d2df63ca6c5e 03:01:55 ---> cc51c6f3f611 03:01:55 [Warning] One or more build-args [ARCH] were not consumed 03:01:55 Successfully built cc51c6f3f611 03:01:55 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 03:01:55 provisioning config files... 03:01:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/134@tmp/config16899720300071769791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:55 ---> docker-login.sh 03:01:55 nexus3.edgexfoundry.org:10001 03:01:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:55 Configure a credential helper to remove this warning. See 03:01:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:55 03:01:55 Login Succeeded 03:01:55 nexus3.edgexfoundry.org:10002 03:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:56 Configure a credential helper to remove this warning. See 03:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:56 03:01:56 Login Succeeded 03:01:56 nexus3.edgexfoundry.org:10003 03:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:56 Configure a credential helper to remove this warning. See 03:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:56 03:01:56 Login Succeeded 03:01:56 nexus3.edgexfoundry.org:10004 03:01:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:56 Configure a credential helper to remove this warning. See 03:01:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:56 03:01:56 Login Succeeded 03:01:56 docker.io 03:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:01:57 Configure a credential helper to remove this warning. See 03:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:01:57 03:01:57 Login Succeeded 03:01:57 ---> docker-login.sh ends [Pipeline] } 03:01:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:01:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:01:57 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 03:01:57 349d2554d6fca97c817ada98ee99106d95f3ebb2 03:01:57 latest 03:01:57 3.0.0-dev.38 03:01:57 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 03:01:57 main 03:01:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2 03:01:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:01:58 744514f53f61: Preparing 03:01:58 82f26b94907c: Preparing 03:01:58 ba5e52da5cc7: Preparing 03:01:58 38819e3f805e: Preparing 03:01:58 26cbea5cba74: Preparing 03:01:58 26cbea5cba74: Layer already exists 03:01:58 82f26b94907c: Pushed 03:01:58 744514f53f61: Pushed 03:01:58 38819e3f805e: Pushed 03:02:03 ba5e52da5cc7: Pushed 03:02:04 349d2554d6fca97c817ada98ee99106d95f3ebb2: digest: sha256:6dcdf95e0127997d18f05d280b79abbc4773f9f4fb1e5516d47147912e25cd3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:04 + 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 03:02:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:02:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:02:04 744514f53f61: Preparing 03:02:04 82f26b94907c: Preparing 03:02:04 ba5e52da5cc7: Preparing 03:02:04 38819e3f805e: Preparing 03:02:04 26cbea5cba74: Preparing 03:02:04 744514f53f61: Layer already exists 03:02:04 38819e3f805e: Layer already exists 03:02:04 ba5e52da5cc7: Layer already exists 03:02:04 26cbea5cba74: Layer already exists 03:02:04 82f26b94907c: Layer already exists 03:02:04 latest: digest: sha256:6dcdf95e0127997d18f05d280b79abbc4773f9f4fb1e5516d47147912e25cd3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.38 03:02:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:02:05 744514f53f61: Preparing 03:02:05 82f26b94907c: Preparing 03:02:05 ba5e52da5cc7: Preparing 03:02:05 38819e3f805e: Preparing 03:02:05 26cbea5cba74: Preparing 03:02:05 ba5e52da5cc7: Layer already exists 03:02:05 26cbea5cba74: Layer already exists 03:02:05 744514f53f61: Layer already exists 03:02:05 38819e3f805e: Layer already exists 03:02:05 82f26b94907c: Layer already exists 03:02:05 3.0.0-dev.38: digest: sha256:6dcdf95e0127997d18f05d280b79abbc4773f9f4fb1e5516d47147912e25cd3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 03:02:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:02:07 744514f53f61: Preparing 03:02:07 82f26b94907c: Preparing 03:02:07 ba5e52da5cc7: Preparing 03:02:07 38819e3f805e: Preparing 03:02:07 26cbea5cba74: Preparing 03:02:07 26cbea5cba74: Layer already exists 03:02:07 744514f53f61: Layer already exists 03:02:07 82f26b94907c: Layer already exists 03:02:07 ba5e52da5cc7: Layer already exists 03:02:07 38819e3f805e: Layer already exists 03:02:07 349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38: digest: sha256:6dcdf95e0127997d18f05d280b79abbc4773f9f4fb1e5516d47147912e25cd3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:07 + 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 03:02:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 03:02:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:02:08 744514f53f61: Preparing 03:02:08 82f26b94907c: Preparing 03:02:08 ba5e52da5cc7: Preparing 03:02:08 38819e3f805e: Preparing 03:02:08 26cbea5cba74: Preparing 03:02:08 744514f53f61: Layer already exists 03:02:08 ba5e52da5cc7: Layer already exists 03:02:08 82f26b94907c: Layer already exists 03:02:08 38819e3f805e: Layer already exists 03:02:08 26cbea5cba74: Layer already exists 03:02:08 main: digest: sha256:6dcdf95e0127997d18f05d280b79abbc4773f9f4fb1e5516d47147912e25cd3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:08 ===================================================== [Pipeline] echo 03:02:08 taggedImages: 03:02:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2 03:02:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:02:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.38 03:02:08 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:349d2554d6fca97c817ada98ee99106d95f3ebb2-3.0.0-dev.38 03:02:08 - 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 03:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:08 03:02:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:09 arm64: Pulling from edgex-lftools-log-publisher 03:02:09 8998bd30e6a1: Pulling fs layer 03:02:09 04944245beec: Pulling fs layer 03:02:09 699f458cf7ca: Pulling fs layer 03:02:09 765212b225bb: Pulling fs layer 03:02:09 f23df028b6ca: Pulling fs layer 03:02:09 d65c8cfc05b1: Pulling fs layer 03:02:09 2437ff75d9bd: Pulling fs layer 03:02:09 f23df028b6ca: Waiting 03:02:09 d65c8cfc05b1: Waiting 03:02:09 2437ff75d9bd: Waiting 03:02:09 04944245beec: Verifying Checksum 03:02:09 04944245beec: Download complete 03:02:09 765212b225bb: Verifying Checksum 03:02:09 765212b225bb: Download complete 03:02:09 f23df028b6ca: Verifying Checksum 03:02:09 f23df028b6ca: Download complete 03:02:09 d65c8cfc05b1: Verifying Checksum 03:02:09 d65c8cfc05b1: Download complete 03:02:09 699f458cf7ca: Verifying Checksum 03:02:09 699f458cf7ca: Download complete 03:02:10 8998bd30e6a1: Verifying Checksum 03:02:10 8998bd30e6a1: Download complete 03:02:12 2437ff75d9bd: Verifying Checksum 03:02:12 2437ff75d9bd: Download complete 03:02:14 8998bd30e6a1: Pull complete 03:02:14 04944245beec: Pull complete 03:02:15 699f458cf7ca: Pull complete 03:02:16 765212b225bb: Pull complete 03:02:16 f23df028b6ca: Pull complete 03:02:16 d65c8cfc05b1: Pull complete 03:02:31 2437ff75d9bd: Pull complete 03:02:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:32 prd-ubuntu20.04-docker-arm64-4c-16g-13807 does not seem to be running inside a container 03:02:32 $ 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/134 -v /w/workspace/device-onvif-camera/134:/w/workspace/device-onvif-camera/134:rw,z -v /w/workspace/device-onvif-camera/134@tmp:/w/workspace/device-onvif-camera/134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:02:34 $ docker top 86f98cb3962cc6b9e4765b94a6af209215253432b30f78c1105a66f1dae9e640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:35 ---> job-cost.sh 03:02:35 lf-activate-venv: SKIPPING 03:02:35 INFO: No Stack... 03:02:35 INFO: Retrieving Pricing Info for: v3-standard-4 03:02:36 INFO: Archiving Costs [Pipeline] sh 03:02:37 + cat /w/workspace/device-onvif-camera/134/archives/cost.csv 03:02:37 + cut -d, -f6 [Pipeline] lock 03:02:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] 03:02:37 Resource [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] did not exist. Created. 03:02:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:02:37 /w/workspace/device-onvif-camera/134@tmp/durable-bc3d9afa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:02:38 + echo total: 0.10999999940395355 [Pipeline] stash 03:02:38 Warning: overwriting stash ‘stack-cost’ 03:02:38 Stashed 1 file(s) [Pipeline] } 03:02:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 03:02:38 $ docker stop --time=1 86f98cb3962cc6b9e4765b94a6af209215253432b30f78c1105a66f1dae9e640 03:02:39 $ docker rm -f --volumes 86f98cb3962cc6b9e4765b94a6af209215253432b30f78c1105a66f1dae9e640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:02:40 provisioning config files... 03:02:40 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3247588001995991801tmp [Pipeline] { [Pipeline] sh 03:02:40 + set +x 03:02:40 + curl -s https://codecov.io/bash 03:02:40 + bash -s -- 03:02:40 03:02:40 _____ _ 03:02:40 / ____| | | 03:02:40 | | ___ __| | ___ ___ _____ __ 03:02:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:02:40 | |___| (_) | (_| | __/ (_| (_) \ V / 03:02:40 \_____\___/ \__,_|\___|\___\___/ \_/ 03:02:40 Bash-1.0.6 03:02:40 03:02:40 03:02:40 ==> git version 2.25.1 found 03:02:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:02:40 Release-Date: 2020-01-08 03:02:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:02:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:02:40 ==> Jenkins CI detected. 03:02:40 current dir:  /w/workspace/foundry_device-onvif-camera_main 03:02:40 project root: . 03:02:40 --> token set from env 03:02:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:02:40 ==> Running gcov in . (disable via -X gcov) 03:02:40 ==> Python coveragepy not found 03:02:40 ==> Searching for coverage reports in: 03:02:40 + . 03:02:40 -> Found 1 reports 03:02:40 ==> Detecting git/mercurial file structure 03:02:40 ==> Reading reports 03:02:40 + ./coverage.out bytes=79191 03:02:40 ==> Appending adjustments 03:02:40 https://docs.codecov.io/docs/fixing-reports 03:02:40 + Found adjustments 03:02:40 ==> Gzipping contents 03:02:40 12K /tmp/codecov.KBRy8o.gz 03:02:40 ==> Uploading reports 03:02:40 url: https://codecov.io 03:02:40 query: branch=main&commit=349d2554d6fca97c817ada98ee99106d95f3ebb2&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:40 -> Pinging Codecov 03:02:40 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=349d2554d6fca97c817ada98ee99106d95f3ebb2&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:41 -> Uploading to 03:02:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/F29A59C45E3A92E06B3E522C9905F8EF/349d2554d6fca97c817ada98ee99106d95f3ebb2/9e9cd501-4969-48e8-b972-e4493383ae0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T030241Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7f296d73b6d19114596c24e364da9a147305fc88eb66e81ad3242839857de37 03:02:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:41 Dload Upload Total Spent Left Speed 03:02:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 46955 --:--:-- --:--:-- --:--:-- 46746 100 10518 0 0 100 10518 0 43283 --:--:-- --:--:-- --:--:-- 43106 03:02:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] } 03:02:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:02:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:02:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:42 03:02:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:02:42 df9b9388f04a: Pulling fs layer 03:02:42 52dc419b0ee2: Pulling fs layer 03:02:42 25bc292e5bac: Pulling fs layer 03:02:42 114826534d7a: Pulling fs layer 03:02:42 4657fd5d0bcf: Pulling fs layer 03:02:42 6ad1cebc031e: Pulling fs layer 03:02:42 8a3aa393b2d8: Pulling fs layer 03:02:42 114826534d7a: Waiting 03:02:42 4657fd5d0bcf: Waiting 03:02:42 8a3aa393b2d8: Waiting 03:02:42 6ad1cebc031e: Waiting 03:02:42 25bc292e5bac: Verifying Checksum 03:02:42 25bc292e5bac: Download complete 03:02:42 52dc419b0ee2: Download complete 03:02:42 4657fd5d0bcf: Verifying Checksum 03:02:42 4657fd5d0bcf: Download complete 03:02:42 df9b9388f04a: Download complete 03:02:42 6ad1cebc031e: Verifying Checksum 03:02:42 6ad1cebc031e: Download complete 03:02:42 df9b9388f04a: Pull complete 03:02:42 52dc419b0ee2: Pull complete 03:02:42 25bc292e5bac: Pull complete 03:02:43 114826534d7a: Verifying Checksum 03:02:43 114826534d7a: Download complete 03:02:43 8a3aa393b2d8: Verifying Checksum 03:02:43 8a3aa393b2d8: Download complete 03:02:46 114826534d7a: Pull complete 03:02:46 4657fd5d0bcf: Pull complete 03:02:46 6ad1cebc031e: Pull complete 03:02:49 8a3aa393b2d8: Pull complete 03:02:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:02:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:02:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:49 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:02:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:02:52 $ docker top f231444e7964b6bac688437f9aacb19fca5dac7bb247505bb5f9919371051278 -eo pid,comm [Pipeline] { [Pipeline] echo 03:02:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 03:02:53 + set -o pipefail 03:02:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 03:02:58 03:02:58 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 03:02:58 03:02:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0c425080-9410-4362-b494-46c38da90387 03:02:58 03:02:58 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 03:02:58 03:02:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:02:58 03:02:58 03:02:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:02:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:02:58 More details here: https://snyk.co/ue1NS 03:02:58 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 03:02:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:02:58 $ docker stop --time=1 f231444e7964b6bac688437f9aacb19fca5dac7bb247505bb5f9919371051278 03:03:01 $ docker rm -f --volumes f231444e7964b6bac688437f9aacb19fca5dac7bb247505bb5f9919371051278 [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 03:03:01 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:01 provisioning config files... 03:03:01 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9800332721400930445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:01 --> edgex-publish-swagger.sh 03:03:01 === Publish doc/openapi/v2 API === 03:03:01 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 03:03:01 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 03:03:01 % Total % Received % Xferd Average Speed Time Time Time Current 03:03:01 Dload Upload Total Spent Left Speed 03:03:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 639k --:--:-- --:--:-- --:--:-- 639k 100 469k 0 0 100 469k 0 639k --:--:-- --:--:-- --:--:-- 638k 03:03:02 03:03:02 [Pipeline] } 03:03:02 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 03:03:02 + git log --format=format:%s -1 349d2554d6fca97c817ada98ee99106d95f3ebb2 [Pipeline] sh 03:03:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:03:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:03 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:03:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:03:03 $ docker top 7522a3399c1ea6bc2d8fe1b99d37e763e6022fbc561a5b09831470e722123f5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:04 [ssh-agent] Looking for ssh-agent implementation... 03:03:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:04 $ docker exec 7522a3399c1ea6bc2d8fe1b99d37e763e6022fbc561a5b09831470e722123f5d ssh-agent 03:03:04 SSH_AUTH_SOCK=/tmp/ssh-KajiKufNXxOX/agent.33 03:03:04 SSH_AGENT_PID=39 03:03:04 Running ssh-add (command line suppressed) 03:03:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12707187517974080718.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12707187517974080718.key) 03:03:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:04 + git semver tag 03:03:04 2023-05-05 03:03:04,762 [run_tag] DEBUG tag force:False 03:03:04 2023-05-05 03:03:04,762 [check_head_tag] DEBUG check head tag 03:03:04 2023-05-05 03:03:04,763 [execute] INFO git cat-file --batch-check 03:03:04 2023-05-05 03:03:04,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:03:04 2023-05-05 03:03:04,767 [execute] INFO git cat-file --batch 03:03:04 2023-05-05 03:03:04,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 03:03:04 2023-05-05 03:03:04,795 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:04 2023-05-05 03:03:04,795 [execute] INFO git tag -a v3.0.0-dev.38 -m v3.0.0-dev.38 03:03:04 2023-05-05 03:03:04,795 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.38', '-m', 'v3.0.0-dev.38'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 03:03:04 2023-05-05 03:03:04,799 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:04 3.0.0-dev.38 [Pipeline] } 03:03:04 $ docker exec --env ******** --env ******** 7522a3399c1ea6bc2d8fe1b99d37e763e6022fbc561a5b09831470e722123f5d ssh-agent -k 03:03:04 unset SSH_AUTH_SOCK; 03:03:04 unset SSH_AGENT_PID; 03:03:04 echo Agent pid 39 killed; 03:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:05 + git semver [Pipeline] } 03:03:05 $ docker stop --time=1 7522a3399c1ea6bc2d8fe1b99d37e763e6022fbc561a5b09831470e722123f5d 03:03:06 $ docker rm -f --volumes 7522a3399c1ea6bc2d8fe1b99d37e763e6022fbc561a5b09831470e722123f5d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:07 03:03:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:07 0.23.1-centos7: Pulling from edgex-lftools 03:03:07 ab5ef0e58194: Pulling fs layer 03:03:07 9712f1f96733: Pulling fs layer 03:03:07 63f879dbbcfc: Pulling fs layer 03:03:07 0d9ebad4ef96: Pulling fs layer 03:03:07 e9a5061849ea: Pulling fs layer 03:03:07 d747dcd14b5f: Pulling fs layer 03:03:07 2de7ff778b66: Pulling fs layer 03:03:07 d747dcd14b5f: Waiting 03:03:07 e9a5061849ea: Waiting 03:03:07 2de7ff778b66: Waiting 03:03:07 0d9ebad4ef96: Waiting 03:03:07 9712f1f96733: Verifying Checksum 03:03:07 9712f1f96733: Download complete 03:03:07 63f879dbbcfc: Verifying Checksum 03:03:07 63f879dbbcfc: Download complete 03:03:08 ab5ef0e58194: Verifying Checksum 03:03:08 ab5ef0e58194: Download complete 03:03:08 0d9ebad4ef96: Verifying Checksum 03:03:08 0d9ebad4ef96: Download complete 03:03:08 e9a5061849ea: Verifying Checksum 03:03:08 e9a5061849ea: Download complete 03:03:08 d747dcd14b5f: Verifying Checksum 03:03:08 d747dcd14b5f: Download complete 03:03:08 2de7ff778b66: Download complete 03:03:10 ab5ef0e58194: Pull complete 03:03:10 9712f1f96733: Pull complete 03:03:11 63f879dbbcfc: Pull complete 03:03:14 0d9ebad4ef96: Pull complete 03:03:14 e9a5061849ea: Pull complete 03:03:14 d747dcd14b5f: Pull complete 03:03:16 2de7ff778b66: Pull complete 03:03:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:03:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:16 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:03:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:03:20 $ docker top aab5d3958d786b7dc185daec93d7da13b3266e994ef2c96c7630a5aa64c5ecfc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:03:20 provisioning config files... 03:03:20 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9872850586167276608tmp 03:03:20 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9478054890521423264tmp 03:03:20 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11139397030513407433tmp [Pipeline] { [Pipeline] echo 03:03:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:03:20 ---> sigul-configuration.sh 03:03:20 gpg: directory `/root/.gnupg' created 03:03:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:03:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:03:20 gpg: keyring `/root/.gnupg/secring.gpg' created 03:03:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:03:20 gpg: CAST5 encrypted data 03:03:20 gpg: encrypted with 1 passphrase 03:03:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:03:21 + mkdir /home/jenkins 03:03:21 + mkdir /home/jenkins/sigul [Pipeline] sh 03:03:21 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:03:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:03:21 ---> sigul-install.sh 03:03:21 Sigul already installed; skipping installation. [Pipeline] sh 03:03:22 + git tag --list 03:03:22 v0.0.0 03:03:22 v0.0.1-dev.1 03:03:22 v0.0.1-dev.10 03:03:22 v0.0.1-dev.11 03:03:22 v0.0.1-dev.12 03:03:22 v0.0.1-dev.13 03:03:22 v0.0.1-dev.14 03:03:22 v0.0.1-dev.15 03:03:22 v0.0.1-dev.16 03:03:22 v0.0.1-dev.17 03:03:22 v0.0.1-dev.18 03:03:22 v0.0.1-dev.19 03:03:22 v0.0.1-dev.2 03:03:22 v0.0.1-dev.20 03:03:22 v0.0.1-dev.21 03:03:22 v0.0.1-dev.22 03:03:22 v0.0.1-dev.23 03:03:22 v0.0.1-dev.24 03:03:22 v0.0.1-dev.25 03:03:22 v0.0.1-dev.26 03:03:22 v0.0.1-dev.27 03:03:22 v0.0.1-dev.28 03:03:22 v0.0.1-dev.3 03:03:22 v0.0.1-dev.4 03:03:22 v0.0.1-dev.5 03:03:22 v0.0.1-dev.6 03:03:22 v0.0.1-dev.7 03:03:22 v0.0.1-dev.8 03:03:22 v0.0.1-dev.9 03:03:22 v2.2.0 03:03:22 v2.2.0-dev.29 03:03:22 v2.2.0-dev.30 03:03:22 v2.2.0-dev.31 03:03:22 v2.2.0-dev.32 03:03:22 v2.2.0-dev.33 03:03:22 v2.2.0-dev.34 03:03:22 v2.2.0-dev.35 03:03:22 v2.3.0 03:03:22 v2.3.0-dev.1 03:03:22 v2.3.0-dev.10 03:03:22 v2.3.0-dev.11 03:03:22 v2.3.0-dev.12 03:03:22 v2.3.0-dev.13 03:03:22 v2.3.0-dev.14 03:03:22 v2.3.0-dev.15 03:03:22 v2.3.0-dev.16 03:03:22 v2.3.0-dev.17 03:03:22 v2.3.0-dev.18 03:03:22 v2.3.0-dev.19 03:03:22 v2.3.0-dev.2 03:03:22 v2.3.0-dev.20 03:03:22 v2.3.0-dev.21 03:03:22 v2.3.0-dev.22 03:03:22 v2.3.0-dev.23 03:03:22 v2.3.0-dev.24 03:03:22 v2.3.0-dev.25 03:03:22 v2.3.0-dev.26 03:03:22 v2.3.0-dev.27 03:03:22 v2.3.0-dev.28 03:03:22 v2.3.0-dev.29 03:03:22 v2.3.0-dev.3 03:03:22 v2.3.0-dev.30 03:03:22 v2.3.0-dev.31 03:03:22 v2.3.0-dev.32 03:03:22 v2.3.0-dev.33 03:03:22 v2.3.0-dev.34 03:03:22 v2.3.0-dev.35 03:03:22 v2.3.0-dev.36 03:03:22 v2.3.0-dev.37 03:03:22 v2.3.0-dev.38 03:03:22 v2.3.0-dev.39 03:03:22 v2.3.0-dev.4 03:03:22 v2.3.0-dev.40 03:03:22 v2.3.0-dev.41 03:03:22 v2.3.0-dev.42 03:03:22 v2.3.0-dev.43 03:03:22 v2.3.0-dev.44 03:03:22 v2.3.0-dev.45 03:03:22 v2.3.0-dev.5 03:03:22 v2.3.0-dev.6 03:03:22 v2.3.0-dev.7 03:03:22 v2.3.0-dev.8 03:03:22 v2.3.0-dev.9 03:03:22 v2.3.1 03:03:22 v2.3.1-dev.1 03:03:22 v2.3.1-dev.4 03:03:22 v2.3.1-dev.5 03:03:22 v2.3.2-dev.1 03:03:22 v2.3.2-dev.2 03:03:22 v3.0.0-dev.1 03:03:22 v3.0.0-dev.10 03:03:22 v3.0.0-dev.11 03:03:22 v3.0.0-dev.12 03:03:22 v3.0.0-dev.13 03:03:22 v3.0.0-dev.14 03:03:22 v3.0.0-dev.15 03:03:22 v3.0.0-dev.16 03:03:22 v3.0.0-dev.17 03:03:22 v3.0.0-dev.18 03:03:22 v3.0.0-dev.19 03:03:22 v3.0.0-dev.2 03:03:22 v3.0.0-dev.20 03:03:22 v3.0.0-dev.21 03:03:22 v3.0.0-dev.22 03:03:22 v3.0.0-dev.23 03:03:22 v3.0.0-dev.24 03:03:22 v3.0.0-dev.25 03:03:22 v3.0.0-dev.26 03:03:22 v3.0.0-dev.27 03:03:22 v3.0.0-dev.28 03:03:22 v3.0.0-dev.29 03:03:22 v3.0.0-dev.3 03:03:22 v3.0.0-dev.30 03:03:22 v3.0.0-dev.31 03:03:22 v3.0.0-dev.32 03:03:22 v3.0.0-dev.33 03:03:22 v3.0.0-dev.34 03:03:22 v3.0.0-dev.35 03:03:22 v3.0.0-dev.36 03:03:22 v3.0.0-dev.37 03:03:22 v3.0.0-dev.38 03:03:22 v3.0.0-dev.4 03:03:22 v3.0.0-dev.5 03:03:22 v3.0.0-dev.6 03:03:22 v3.0.0-dev.7 03:03:22 v3.0.0-dev.8 03:03:22 v3.0.0-dev.9 [Pipeline] sh 03:03:22 + lftools sign git-tag v3.0.0-dev.38 03:03:22 Signing Git tag with Sigul... 03:03:22 Signing v3.0.0-dev.38 [Pipeline] echo 03:03:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:03:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:03:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:03:23 $ docker stop --time=1 aab5d3958d786b7dc185daec93d7da13b3266e994ef2c96c7630a5aa64c5ecfc 03:03:25 $ docker rm -f --volumes aab5d3958d786b7dc185daec93d7da13b3266e994ef2c96c7630a5aa64c5ecfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:03:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:03:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:25 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:03:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:03:26 $ docker top f557518e92747dc1a3942791d65d174f4c7877c932ec227104251fe814186741 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:26 [ssh-agent] Looking for ssh-agent implementation... 03:03:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:26 $ docker exec f557518e92747dc1a3942791d65d174f4c7877c932ec227104251fe814186741 ssh-agent 03:03:26 SSH_AUTH_SOCK=/tmp/ssh-pQjptLCRRBtP/agent.32 03:03:26 SSH_AGENT_PID=38 03:03:26 Running ssh-add (command line suppressed) 03:03:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4057921174930845503.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4057921174930845503.key) 03:03:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:26 + git semver bump pre 03:03:27 2023-05-05 03:03:27,070 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:27 2023-05-05 03:03:27,070 [bump_version] DEBUG bumping version:3.0.0-dev.38 on axis:pre with prefix:dev 03:03:27 2023-05-05 03:03:27,070 [bump_version] DEBUG bumped version:3.0.0-dev.39 03:03:27 2023-05-05 03:03:27,071 [write_version] DEBUG write version:3.0.0-dev.39 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 03:03:27 2023-05-05 03:03:27,071 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:27 2023-05-05 03:03:27,071 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:27 2023-05-05 03:03:27,074 [execute] INFO git cat-file --batch-check 03:03:27 2023-05-05 03:03:27,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:03:27 2023-05-05 03:03:27,080 [execute] INFO git cat-file --batch 03:03:27 2023-05-05 03:03:27,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:03:27 2023-05-05 03:03:27,085 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:27 3.0.0-dev.39 [Pipeline] } 03:03:27 $ docker exec --env ******** --env ******** f557518e92747dc1a3942791d65d174f4c7877c932ec227104251fe814186741 ssh-agent -k 03:03:27 unset SSH_AUTH_SOCK; 03:03:27 unset SSH_AGENT_PID; 03:03:27 echo Agent pid 38 killed; 03:03:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:27 + git semver [Pipeline] } 03:03:27 $ docker stop --time=1 f557518e92747dc1a3942791d65d174f4c7877c932ec227104251fe814186741 03:03:29 $ docker rm -f --volumes f557518e92747dc1a3942791d65d174f4c7877c932ec227104251fe814186741 [Pipeline] // withDockerContainer [Pipeline] sh 03:03:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:03:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:29 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:03:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:03:30 $ docker top 274120b993cf7e82c336a1cc3a85865b3366b519fa4a09bbc1628ccafb524a21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:30 [ssh-agent] Looking for ssh-agent implementation... 03:03:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:30 $ docker exec 274120b993cf7e82c336a1cc3a85865b3366b519fa4a09bbc1628ccafb524a21 ssh-agent 03:03:30 SSH_AUTH_SOCK=/tmp/ssh-NAVxBqXtcDZv/agent.32 03:03:30 SSH_AGENT_PID=38 03:03:30 Running ssh-add (command line suppressed) 03:03:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15934999172516540276.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15934999172516540276.key) 03:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:31 + git semver push 03:03:31 2023-05-05 03:03:31,262 [run_push] DEBUG push 03:03:31 2023-05-05 03:03:31,263 [execute] INFO git cat-file --batch-check 03:03:31 2023-05-05 03:03:31,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:03:31 2023-05-05 03:03:31,266 [execute] INFO git rev-list 6a8af759d52ea56ceb65001421bc5bcaa9f03701 -- 03:03:31 2023-05-05 03:03:31,266 [execute] DEBUG Popen(['git', 'rev-list', '6a8af759d52ea56ceb65001421bc5bcaa9f03701', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:03:31 2023-05-05 03:03:31,273 [execute] INFO git fetch -v origin 03:03:31 2023-05-05 03:03:31,273 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 03:03:31 2023-05-05 03:03:31,705 [run_push] DEBUG no remote changes detected 03:03:31 2023-05-05 03:03:31,706 [execute] INFO git push origin semver 03:03:31 2023-05-05 03:03:31,706 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:03:32 2023-05-05 03:03:32,405 [run_push] DEBUG push all version tags 03:03:32 2023-05-05 03:03:32,406 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:03:32 2023-05-05 03:03:32,406 [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) 03:03:33 2023-05-05 03:03:33,249 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:03:33 3.0.0-dev.39 [Pipeline] } 03:03:33 $ docker exec --env ******** --env ******** 274120b993cf7e82c336a1cc3a85865b3366b519fa4a09bbc1628ccafb524a21 ssh-agent -k 03:03:33 unset SSH_AUTH_SOCK; 03:03:33 unset SSH_AGENT_PID; 03:03:33 echo Agent pid 38 killed; 03:03:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:33 + git semver [Pipeline] } 03:03:34 $ docker stop --time=1 274120b993cf7e82c336a1cc3a85865b3366b519fa4a09bbc1628ccafb524a21 03:03:35 $ docker rm -f --volumes 274120b993cf7e82c336a1cc3a85865b3366b519fa4a09bbc1628ccafb524a21 [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 03:03:36 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 03:03:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:03:36 total 16 03:03:36 drwxr-xr-x 3 root root 4096 May 5 02:55 . 03:03:36 drwxrwxr-x 11 jenkins jenkins 4096 May 5 03:03 .. 03:03:36 drwxr-xr-x 2 root root 4096 May 5 02:55 cost 03:03:36 -rw-r--r-- 1 root root 92 May 5 02:55 cost.csv 03:03:36 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 03:03:36 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:03:36 total 16 03:03:36 drwxr-xr-x 3 jenkins jenkins 4096 May 5 02:55 . 03:03:36 drwxrwxr-x 11 jenkins jenkins 4096 May 5 03:03 .. 03:03:36 drwxr-xr-x 2 jenkins jenkins 4096 May 5 02:55 cost 03:03:36 -rw-r--r-- 1 jenkins jenkins 92 May 5 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:03:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:03:37 ---> package-listing.sh 03:03:37 ++ facter osfamily 03:03:37 ++ tr '[:upper:]' '[:lower:]' 03:03:37 + OS_FAMILY=debian 03:03:37 + workspace=/w/workspace/foundry_device-onvif-camera_main 03:03:37 + START_PACKAGES=/tmp/packages_start.txt 03:03:37 + END_PACKAGES=/tmp/packages_end.txt 03:03:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:03:37 + PACKAGES=/tmp/packages_start.txt 03:03:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:03:37 + PACKAGES=/tmp/packages_end.txt 03:03:37 + case "${OS_FAMILY}" in 03:03:37 + dpkg -l 03:03:37 + grep '^ii' 03:03:37 + '[' -f /tmp/packages_start.txt ']' 03:03:37 + '[' -f /tmp/packages_end.txt ']' 03:03:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:03:37 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:03:37 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 03:03:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 03:03:37 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 03:03:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:38 prd-ubuntu20.04-docker-8c-8g-13365 does not seem to be running inside a container 03:03:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:03:39 $ docker top 86f3e06f728df0bbcc98fdd4bfd0cccce532f41a15c92eaf42182a2551d2ada9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:03:39 + touch /tmp/pre-build-complete [Pipeline] sh 03:03:39 + mkdir -p /var/log/sysstat [Pipeline] sh 03:03:39 + ls /var/log/sa-host 03:03:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:40 provisioning config files... 03:03:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16224832168313431733tmp [Pipeline] { [Pipeline] echo 03:03:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:03:40 ---> create-netrc.sh [Pipeline] } 03:03:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:03:40 ---> python-tools-install.sh [Pipeline] echo 03:03:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:03:41 ---> sudo-logs.sh 03:03:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:03:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:03:41 ---> job-cost.sh 03:03:41 lf-activate-venv: SKIPPING 03:03:41 DEBUG: total: 0.2199999988079071 03:03:41 INFO: Retrieving Stack Cost... 03:03:41 INFO: Retrieving Pricing Info for: v3-standard-8 03:03:42 INFO: Archiving Costs [Pipeline] echo 03:03:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:03:42 ---> logs-deploy.sh 03:03:42 lf-activate-venv: SKIPPING 03:03:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/134 03:03:42 INFO: archiving workspace using pattern(s): 03:03:43 Archives upload complete. 03:03:43 INFO: archiving logs to Nexus