Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35e0b630cb735782c58facbcf80c1125d056e597 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-ssh15762081416175281867.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8257514785494694910.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15393932571009820970.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13476037708595806917.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-ssh6799697196498404514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4595’ Running on prd-ubuntu20.04-docker-8c-8g-4598 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 > 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 Avoid second fetch Checking out Revision 35e0b630cb735782c58facbcf80c1125d056e597 (main) Commit message: "refactor!: consume device-sdk-go breaking changes (#269)" > git config core.sparsecheckout # timeout=10 > git checkout -f 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 > git rev-list --no-walk 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:18:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:18:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:18:53 ========================================================= 16:18:53 EdgeX Global Pipelines Version Info 16:18:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:18:54 ------------------- 16:18:54 stable info: 16:18:54 ------------------- 16:18:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:18:54 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:18:54 Message: update stable to v1.0.245 16:18:55 ------------------- 16:18:55 experimental info: 16:18:55 ------------------- 16:18:55 Commited By: **** collab-it+edgex@linuxfoundation.org 16:18:55 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:18:55 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35e0b63 [Pipeline] echo 16:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:18:55 provisioning config files... 16:18:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3574579334483032852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:56 ---> docker-login.sh 16:18:56 nexus3.edgexfoundry.org:10001 16:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:56 Configure a credential helper to remove this warning. See 16:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:56 16:18:56 Login Succeeded 16:18:56 nexus3.edgexfoundry.org:10002 16:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:56 Configure a credential helper to remove this warning. See 16:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:56 16:18:56 Login Succeeded 16:18:56 nexus3.edgexfoundry.org:10003 16:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:56 Configure a credential helper to remove this warning. See 16:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:56 16:18:56 Login Succeeded 16:18:56 nexus3.edgexfoundry.org:10004 16:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:56 Configure a credential helper to remove this warning. See 16:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:56 16:18:56 Login Succeeded 16:18:56 docker.io 16:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:57 Configure a credential helper to remove this warning. See 16:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:57 16:18:57 Login Succeeded 16:18:57 ---> docker-login.sh ends [Pipeline] } 16:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:18:57 + git rev-list -1 --merges 35e0b630cb735782c58facbcf80c1125d056e597~1..35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] echo 16:18:57 -----------> git rev-list -1 --merges 35e0b630cb735782c58facbcf80c1125d056e597~1..35e0b630cb735782c58facbcf80c1125d056e597 35e0b630cb735782c58facbcf80c1125d056e597 [false] [Pipeline] sh 16:18:57 + git log --format=format:%s -1 35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] echo 16:18:57 ========================================================= 16:18:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:18:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:58 + git log --format=format:%s -1 35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] echo 16:18:58 [semverPrep] GIT_COMMIT: 35e0b630cb735782c58facbcf80c1125d056e597, Commit Message: refactor!: consume device-sdk-go breaking changes (#269) [Pipeline] echo 16:18:58 [semverPrep] This is not a build commit. [Pipeline] sh 16:18:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:18:58 + grep -v github /etc/ssh/ssh_known_hosts 16:18:58 + [ -e /tmp/ssh_known_hosts ] 16:18:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:18:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:18:58 + sudo tee -a /etc/ssh/ssh_known_hosts 16:18:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:18:58 16:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:18:59 0.1.4: Pulling from edgex-devops/py-git-semver 16:18:59 b85a868b505f: Pulling fs layer 16:18:59 e2be974225ed: Pulling fs layer 16:18:59 339a4e72a1f5: Pulling fs layer 16:18:59 988bab9f4d93: Pulling fs layer 16:18:59 1469e6f7b9e6: Pulling fs layer 16:18:59 eaf3925da568: Pulling fs layer 16:18:59 bab4dde63d76: Pulling fs layer 16:18:59 bde34c3a00c8: Pulling fs layer 16:18:59 b352a97aabf1: Pulling fs layer 16:18:59 4872d77fe225: Pulling fs layer 16:18:59 5851b861e8e6: Pulling fs layer 16:18:59 988bab9f4d93: Waiting 16:18:59 1469e6f7b9e6: Waiting 16:18:59 eaf3925da568: Waiting 16:18:59 4872d77fe225: Waiting 16:18:59 bab4dde63d76: Waiting 16:18:59 bde34c3a00c8: Waiting 16:18:59 5851b861e8e6: Waiting 16:18:59 e2be974225ed: Download complete 16:18:59 988bab9f4d93: Verifying Checksum 16:18:59 988bab9f4d93: Download complete 16:18:59 1469e6f7b9e6: Verifying Checksum 16:18:59 1469e6f7b9e6: Download complete 16:18:59 eaf3925da568: Download complete 16:18:59 339a4e72a1f5: Verifying Checksum 16:18:59 339a4e72a1f5: Download complete 16:18:59 bde34c3a00c8: Verifying Checksum 16:18:59 b352a97aabf1: Verifying Checksum 16:18:59 b352a97aabf1: Download complete 16:18:59 4872d77fe225: Download complete 16:18:59 5851b861e8e6: Verifying Checksum 16:18:59 5851b861e8e6: Download complete 16:18:59 b85a868b505f: Verifying Checksum 16:18:59 b85a868b505f: Download complete 16:19:00 bab4dde63d76: Verifying Checksum 16:19:00 bab4dde63d76: Download complete 16:19:00 b85a868b505f: Pull complete 16:19:01 e2be974225ed: Pull complete 16:19:01 339a4e72a1f5: Pull complete 16:19:01 988bab9f4d93: Pull complete 16:19:02 1469e6f7b9e6: Pull complete 16:19:02 eaf3925da568: Pull complete 16:19:03 bab4dde63d76: Pull complete 16:19:03 bde34c3a00c8: Pull complete 16:19:04 b352a97aabf1: Pull complete 16:19:04 4872d77fe225: Pull complete 16:19:04 5851b861e8e6: Pull complete 16:19:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:04 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:19:06 $ docker top 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 -eo pid,comm 16:19:06 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). 16:19:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:06 [ssh-agent] Looking for ssh-agent implementation... 16:19:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:06 $ docker exec 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 ssh-agent 16:19:06 SSH_AUTH_SOCK=/tmp/ssh-jyjAvWlOC9kr/agent.33 16:19:06 SSH_AGENT_PID=39 16:19:06 Running ssh-add (command line suppressed) 16:19:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7273553654246255895.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7273553654246255895.key) 16:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:07 + git tag --points-at HEAD [Pipeline] } 16:19:07 $ docker exec --env ******** --env ******** 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 ssh-agent -k 16:19:07 unset SSH_AUTH_SOCK; 16:19:07 unset SSH_AGENT_PID; 16:19:07 echo Agent pid 39 killed; 16:19:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:19:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:07 [ssh-agent] Looking for ssh-agent implementation... 16:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:07 $ docker exec 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 ssh-agent 16:19:07 SSH_AUTH_SOCK=/tmp/ssh-9mQy156aqGsu/agent.71 16:19:07 SSH_AGENT_PID=77 16:19:07 Running ssh-add (command line suppressed) 16:19:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14126247628104662670.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14126247628104662670.key) 16:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:08 + git semver init 16:19:08 2023-03-20 16:19:08,370 [run_init] DEBUG init version:0.0.0 force:False 16:19:08 2023-03-20 16:19:08,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:19:08 2023-03-20 16:19:08,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:19:08 2023-03-20 16:19:08,371 [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) 16:19:09 2023-03-20 16:19:09,239 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:19:09 2023-03-20 16:19:09,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:19:09 2023-03-20 16:19:09,240 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:19:09 2023-03-20 16:19:09,240 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:19:09 3.0.0-dev.22 [Pipeline] } 16:19:09 $ docker exec --env ******** --env ******** 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 ssh-agent -k 16:19:09 unset SSH_AUTH_SOCK; 16:19:09 unset SSH_AGENT_PID; 16:19:09 echo Agent pid 77 killed; 16:19:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:09 + git semver [Pipeline] } 16:19:10 $ docker stop --time=1 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 16:19:11 $ docker rm -f --volumes 87ea45dc42e9a07d63b0729fd2ed9f985e291e144f69b808196ee92921eafc85 [Pipeline] // withDockerContainer [Pipeline] sh 16:19:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:19:11 Stashed 1 file(s) [Pipeline] echo 16:19:11 [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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 16:19:12 provisioning config files... 16:19:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11784019400776386012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:12 ---> docker-login.sh 16:19:12 nexus3.edgexfoundry.org:10001 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10002 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10003 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 nexus3.edgexfoundry.org:10004 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 docker.io 16:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:12 Configure a credential helper to remove this warning. See 16:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:12 16:19:12 Login Succeeded 16:19:12 ---> docker-login.sh ends [Pipeline] } 16:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:12 ========================================================= 16:19:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:19:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:13 + 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 . 16:19:13 Sending build context to Docker daemon 27.97MB 16:19:13 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:19:13 Step 2/13 : FROM ${BASE} AS builder 16:19:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:19:13 63b65145d645: Pulling fs layer 16:19:13 a2d21d5440eb: Pulling fs layer 16:19:13 935e6c44a52c: Pulling fs layer 16:19:13 94cc34f8dd06: Pulling fs layer 16:19:13 30dea6a524f1: Pulling fs layer 16:19:13 a2aff8979fd8: Pulling fs layer 16:19:13 6808be2612f2: Pulling fs layer 16:19:13 f25807f1079a: Pulling fs layer 16:19:13 30dea6a524f1: Waiting 16:19:13 a2aff8979fd8: Waiting 16:19:13 6808be2612f2: Waiting 16:19:13 f25807f1079a: Waiting 16:19:13 94cc34f8dd06: Waiting 16:19:13 a2d21d5440eb: Verifying Checksum 16:19:13 a2d21d5440eb: Download complete 16:19:13 94cc34f8dd06: Verifying Checksum 16:19:13 94cc34f8dd06: Download complete 16:19:13 30dea6a524f1: Verifying Checksum 16:19:13 30dea6a524f1: Download complete 16:19:13 63b65145d645: Download complete 16:19:13 a2aff8979fd8: Verifying Checksum 16:19:13 a2aff8979fd8: Download complete 16:19:13 63b65145d645: Pull complete 16:19:14 a2d21d5440eb: Pull complete 16:19:14 f25807f1079a: Verifying Checksum 16:19:14 f25807f1079a: Download complete 16:19:14 935e6c44a52c: Verifying Checksum 16:19:14 935e6c44a52c: Download complete 16:19:14 6808be2612f2: Verifying Checksum 16:19:14 6808be2612f2: Download complete 16:19:17 935e6c44a52c: Pull complete 16:19:17 94cc34f8dd06: Pull complete 16:19:17 30dea6a524f1: Pull complete 16:19:17 a2aff8979fd8: Pull complete 16:19:20 6808be2612f2: Pull complete 16:19:21 f25807f1079a: Pull complete 16:19:21 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:19:21 ---> 3b553350e43f 16:19:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:19:24 ---> Running in 44c5151c8152 16:19:24 Removing intermediate container 44c5151c8152 16:19:24 ---> 3cab928949b2 16:19:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:19:24 ---> Running in 69c323d1bdc3 16:19:24 Removing intermediate container 69c323d1bdc3 16:19:24 ---> e58553788c8e 16:19:24 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:19:24 ---> Running in 9462ff1e1f46 16:19:24 Removing intermediate container 9462ff1e1f46 16:19:24 ---> a2668a18bd58 16:19:24 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:19:25 ---> Running in ea84a04cca8b 16:19:25 Removing intermediate container ea84a04cca8b 16:19:25 ---> 93f6cd2797aa 16:19:25 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:19:25 ---> Running in f4ae44b00493 16:19:25 Removing intermediate container f4ae44b00493 16:19:25 ---> ebd67b2254a2 16:19:25 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:19:25 ---> Running in b29c40c1fa9f 16:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:19:25 OK: 265 MiB in 53 packages 16:19:26 Removing intermediate container b29c40c1fa9f 16:19:26 ---> 270881bb1a66 16:19:26 Step 9/13 : WORKDIR /device-onvif-camera 16:19:26 ---> Running in 583720e44bf6 16:19:26 Removing intermediate container 583720e44bf6 16:19:26 ---> 676a8e501f01 16:19:26 Step 10/13 : COPY go.mod vendor* ./ 16:19:26 ---> f8d6409875ae 16:19:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:26 ---> Running in 227c6636655d 16:19:27 Still waiting to schedule task 16:19:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4596’ 16:20:05 Removing intermediate container 227c6636655d 16:20:05 ---> b5e623e0b6bb 16:20:05 Step 12/13 : COPY . . 16:20:05 ---> 9cdcc549ee57 16:20:05 Step 13/13 : RUN ${MAKE} 16:20:05 ---> Running in 69dc02c6a7b2 16:20:05 noop 16:20:05 Removing intermediate container 69dc02c6a7b2 16:20:05 ---> a5c9b4614b7e 16:20:05 Successfully built a5c9b4614b7e 16:20:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:05 + docker inspect -f . ci-base-image-x86_64 16:20:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:05 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:20:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:20:05 $ docker top 9568b4362d73aa3ef19ea3c768e1a56ce6401312e34bbf4c59cd561a299c17c9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:06 + go version 16:20:06 go version go1.20.2 linux/amd64 [Pipeline] } 16:20:06 $ docker stop --time=1 9568b4362d73aa3ef19ea3c768e1a56ce6401312e34bbf4c59cd561a299c17c9 16:20:07 $ docker rm -f --volumes 9568b4362d73aa3ef19ea3c768e1a56ce6401312e34bbf4c59cd561a299c17c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:08 + docker inspect -f . ci-base-image-x86_64 16:20:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:08 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:20:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:20:08 $ docker top 668c1900eea7457f8022b1dc3e8ca7bf6fd42a7006cb7f3044f1174b31913754 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:08 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:20:09 + make test 16:20:09 go test ./... -coverprofile=coverage.out ./... 16:20:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:20:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:20:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:20:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 31.7% of statements 16:20:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 3.902s coverage: 86.5% of statements 16:20:36 go vet ./... 16:20:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:40 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:40 $ docker stop --time=1 668c1900eea7457f8022b1dc3e8ca7bf6fd42a7006cb7f3044f1174b31913754 16:20:43 $ docker rm -f --volumes 668c1900eea7457f8022b1dc3e8ca7bf6fd42a7006cb7f3044f1174b31913754 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:20:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:45 + ls -al . 16:20:45 total 236 16:20:45 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 16:20 . 16:20:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:18 .. 16:20:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:19 .git 16:20:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:18 .github 16:20:45 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:18 .gitignore 16:20:45 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:18 .golangci.yml 16:20:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:19 .semver 16:20:45 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:18 Attribution.txt 16:20:45 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:18 CHANGELOG.md 16:20:45 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:18 Dockerfile 16:20:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:18 GOVERNANCE.md 16:20:45 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:18 Jenkinsfile 16:20:45 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:18 LICENSE 16:20:45 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:18 Makefile 16:20:45 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:18 OWNERS.md 16:20:45 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:18 README.md 16:20:45 -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 16:19 VERSION 16:20:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:18 bin 16:20:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:18 cmd 16:20:45 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:20 coverage.out 16:20:45 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:18 doc 16:20:45 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 16:18 go.mod 16:20:45 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 16:18 go.sum 16:20:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:18 internal 16:20:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:18 snap 16:20:45 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:45 + 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=35e0b630cb735782c58facbcf80c1125d056e597 --label arch=amd64 --label version=3.0.0-dev.22 . 16:20:45 Sending build context to Docker daemon 28.05MB 16:20:45 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:20:45 Step 2/26 : FROM ${BASE} AS builder 16:20:45 ---> a5c9b4614b7e 16:20:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:20:46 ---> Running in 69d4564298e2 16:20:46 Removing intermediate container 69d4564298e2 16:20:46 ---> c3d1d0859b14 16:20:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:46 ---> Running in 254a327fb1e4 16:20:46 Removing intermediate container 254a327fb1e4 16:20:46 ---> eefea1c244e3 16:20:46 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:20:46 ---> Running in 3d36d61295fc 16:20:46 Removing intermediate container 3d36d61295fc 16:20:46 ---> a6aaad021c7e 16:20:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:20:46 ---> Running in 625c69a237ff 16:20:46 Removing intermediate container 625c69a237ff 16:20:46 ---> 8855dc06c063 16:20:46 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:20:46 ---> Running in ab127b619a8d 16:20:46 Removing intermediate container ab127b619a8d 16:20:46 ---> 192b6abfdb97 16:20:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:46 ---> Running in 64ccd9be26ca 16:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:20:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:20:47 OK: 265 MiB in 53 packages 16:20:47 Removing intermediate container 64ccd9be26ca 16:20:47 ---> d7ceeb3c0a24 16:20:47 Step 9/26 : WORKDIR /device-onvif-camera 16:20:47 ---> Running in ab49a8daf3d8 16:20:47 Removing intermediate container ab49a8daf3d8 16:20:47 ---> f8ec45b85854 16:20:47 Step 10/26 : COPY go.mod vendor* ./ 16:20:47 ---> d2900e5f904e 16:20:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:47 ---> Running in dfdfc9756278 16:20:48 Removing intermediate container dfdfc9756278 16:20:48 ---> 8af44b9ac633 16:20:48 Step 12/26 : COPY . . 16:20:49 ---> cf6e8a7c28fd 16:20:49 Step 13/26 : RUN ${MAKE} 16:20:49 ---> Running in 069a3c20c0ec 16:20:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:21:11 Removing intermediate container 069a3c20c0ec 16:21:11 ---> 5e8309210c5f 16:21:11 Step 14/26 : FROM alpine:3.17 16:21:11 3.17: Pulling from library/alpine 16:21:11 63b65145d645: Already exists 16:21:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:21:12 Status: Downloaded newer image for alpine:3.17 16:21:12 ---> b2aa39c304c2 16:21:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:21:12 ---> Running in 12fb3b32cb28 16:21:12 Removing intermediate container 12fb3b32cb28 16:21:12 ---> b818b129fa00 16:21:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:21:12 ---> Running in daee148acb23 16:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:21:12 (1/1) Installing dumb-init (1.2.5-r2) 16:21:12 Executing busybox-1.35.0-r29.trigger 16:21:12 OK: 7 MiB in 16 packages 16:21:13 Removing intermediate container daee148acb23 16:21:13 ---> 3f799bca1d33 16:21:13 Step 17/26 : WORKDIR / 16:21:13 ---> Running in d4feef667bda 16:21:13 Removing intermediate container d4feef667bda 16:21:13 ---> 11ec8e1f19aa 16:21:13 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:21:13 ---> d604b23cdd4a 16:21:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:21:14 ---> 603c5bb8248e 16:21:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:21:14 ---> 38197d92a40b 16:21:14 Step 21/26 : EXPOSE 59984 16:21:14 ---> Running in cf72845672f8 16:21:14 Removing intermediate container cf72845672f8 16:21:14 ---> 01699ffb56d4 16:21:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:21:14 ---> Running in a7d0a48a8fcd 16:21:14 Removing intermediate container a7d0a48a8fcd 16:21:14 ---> b5801aff2c98 16:21:14 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:21:14 ---> Running in 2f49849b92b3 16:21:14 Removing intermediate container 2f49849b92b3 16:21:14 ---> 4bf859325215 16:21:14 Step 24/26 : LABEL arch=amd64 16:21:14 ---> Running in f530d987074c 16:21:14 Removing intermediate container f530d987074c 16:21:14 ---> bb59323e1953 16:21:14 Step 25/26 : LABEL git_sha=35e0b630cb735782c58facbcf80c1125d056e597 16:21:14 ---> Running in fbf82b340295 16:21:15 Removing intermediate container fbf82b340295 16:21:15 ---> a852ca7a72ed 16:21:15 Step 26/26 : LABEL version=3.0.0-dev.22 16:21:15 ---> Running in c4e63748e65d 16:21:15 Removing intermediate container c4e63748e65d 16:21:15 ---> e31847a2a50d 16:21:15 [Warning] One or more build-args [ARCH] were not consumed 16:21:15 Successfully built e31847a2a50d 16:21:15 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 16:21:15 provisioning config files... 16:21:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6350291956135583001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:15 ---> docker-login.sh 16:21:15 nexus3.edgexfoundry.org:10001 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10002 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10003 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10004 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 docker.io 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 ---> docker-login.sh ends [Pipeline] } 16:21:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:21:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:16 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:21:16 35e0b630cb735782c58facbcf80c1125d056e597 16:21:16 latest 16:21:16 3.0.0-dev.22 16:21:16 35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:21:16 main 16:21:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597 16:21:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:21:16 a1b067f1b3ab: Preparing 16:21:16 f83b57bfaff5: Preparing 16:21:16 7b7fa00c71b6: Preparing 16:21:16 0c055f5126ed: Preparing 16:21:16 7cd52847ad77: Preparing 16:21:16 7cd52847ad77: Layer already exists 16:21:16 0c055f5126ed: Pushed 16:21:16 f83b57bfaff5: Pushed 16:21:16 a1b067f1b3ab: Pushed 16:21:19 7b7fa00c71b6: Pushed 16:21:19 35e0b630cb735782c58facbcf80c1125d056e597: digest: sha256:526c688b69c9de08a3f94c361a76925c0d0fd6f0a0ca58def8ed3cdb85883b51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:21:20 a1b067f1b3ab: Preparing 16:21:20 f83b57bfaff5: Preparing 16:21:20 7b7fa00c71b6: Preparing 16:21:20 0c055f5126ed: Preparing 16:21:20 7cd52847ad77: Preparing 16:21:20 f83b57bfaff5: Layer already exists 16:21:20 7cd52847ad77: Layer already exists 16:21:20 a1b067f1b3ab: Layer already exists 16:21:20 7b7fa00c71b6: Layer already exists 16:21:20 0c055f5126ed: Layer already exists 16:21:20 latest: digest: sha256:526c688b69c9de08a3f94c361a76925c0d0fd6f0a0ca58def8ed3cdb85883b51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 16:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:21:20 a1b067f1b3ab: Preparing 16:21:20 f83b57bfaff5: Preparing 16:21:20 7b7fa00c71b6: Preparing 16:21:20 0c055f5126ed: Preparing 16:21:20 7cd52847ad77: Preparing 16:21:20 7b7fa00c71b6: Layer already exists 16:21:20 a1b067f1b3ab: Layer already exists 16:21:20 f83b57bfaff5: Layer already exists 16:21:20 7cd52847ad77: Layer already exists 16:21:20 0c055f5126ed: Layer already exists 16:21:20 3.0.0-dev.22: digest: sha256:526c688b69c9de08a3f94c361a76925c0d0fd6f0a0ca58def8ed3cdb85883b51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:21:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:21:21 a1b067f1b3ab: Preparing 16:21:21 f83b57bfaff5: Preparing 16:21:21 7b7fa00c71b6: Preparing 16:21:21 0c055f5126ed: Preparing 16:21:21 7cd52847ad77: Preparing 16:21:21 7cd52847ad77: Layer already exists 16:21:21 f83b57bfaff5: Layer already exists 16:21:21 a1b067f1b3ab: Layer already exists 16:21:21 7b7fa00c71b6: Layer already exists 16:21:21 0c055f5126ed: Layer already exists 16:21:21 35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22: digest: sha256:526c688b69c9de08a3f94c361a76925c0d0fd6f0a0ca58def8ed3cdb85883b51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:21:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:21:21 a1b067f1b3ab: Preparing 16:21:21 f83b57bfaff5: Preparing 16:21:21 7b7fa00c71b6: Preparing 16:21:21 0c055f5126ed: Preparing 16:21:21 7cd52847ad77: Preparing 16:21:21 7cd52847ad77: Layer already exists 16:21:21 0c055f5126ed: Layer already exists 16:21:21 a1b067f1b3ab: Layer already exists 16:21:21 7b7fa00c71b6: Layer already exists 16:21:21 f83b57bfaff5: Layer already exists 16:21:21 main: digest: sha256:526c688b69c9de08a3f94c361a76925c0d0fd6f0a0ca58def8ed3cdb85883b51 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:21:21 ===================================================== [Pipeline] echo 16:21:21 taggedImages: 16:21:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597 16:21:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:21:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 16:21:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:21:21 - 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 16:21:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:22 16:21:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:22 latest: Pulling from edgex-lftools-log-publisher 16:21:22 5eb5b503b376: Pulling fs layer 16:21:22 5c69ac0246d0: Pulling fs layer 16:21:22 ec43610c2a17: Pulling fs layer 16:21:22 3a2ae6a8a46f: Pulling fs layer 16:21:22 33b1e0a273af: Pulling fs layer 16:21:22 5d3b04190fa2: Pulling fs layer 16:21:22 2f39f015ded8: Pulling fs layer 16:21:22 33b1e0a273af: Waiting 16:21:22 5d3b04190fa2: Waiting 16:21:22 2f39f015ded8: Waiting 16:21:22 3a2ae6a8a46f: Waiting 16:21:22 5c69ac0246d0: Download complete 16:21:22 3a2ae6a8a46f: Verifying Checksum 16:21:22 3a2ae6a8a46f: Download complete 16:21:22 33b1e0a273af: Verifying Checksum 16:21:22 33b1e0a273af: Download complete 16:21:22 5d3b04190fa2: Download complete 16:21:22 ec43610c2a17: Download complete 16:21:22 5eb5b503b376: Verifying Checksum 16:21:22 5eb5b503b376: Download complete 16:21:23 2f39f015ded8: Verifying Checksum 16:21:24 5eb5b503b376: Pull complete 16:21:24 5c69ac0246d0: Pull complete 16:21:24 ec43610c2a17: Pull complete 16:21:24 3a2ae6a8a46f: Pull complete 16:21:25 33b1e0a273af: Pull complete 16:21:25 5d3b04190fa2: Pull complete 16:21:29 2f39f015ded8: Pull complete 16:21:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:21:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:29 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:21:32 $ docker top 0922c23f5d1f6d419adf236ca643b98823b571131129540169479231bc7ce96e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:32 ---> job-cost.sh 16:21:32 lf-activate-venv: SKIPPING 16:21:32 INFO: No Stack... 16:21:32 INFO: Retrieving Pricing Info for: v3-standard-8 16:21:33 INFO: Archiving Costs [Pipeline] sh 16:21:33 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:21:33 + cut -d, -f6 [Pipeline] lock 16:21:33 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] 16:21:33 Resource [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] did not exist. Created. 16:21:33 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:34 + echo total: 0.2199999988079071 [Pipeline] stash 16:21:34 Stashed 1 file(s) [Pipeline] } 16:21:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:34 $ docker stop --time=1 0922c23f5d1f6d419adf236ca643b98823b571131129540169479231bc7ce96e 16:21:35 $ docker rm -f --volumes 0922c23f5d1f6d419adf236ca643b98823b571131129540169479231bc7ce96e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4601 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:22:55 Running in /w/workspace/device-onvif-camera/116 [Pipeline] { [Pipeline] checkout 16:22:55 The recommended git tool is: git 16:23:02 using credential edgex-jenkins-ssh 16:23:02 Cloning the remote Git repository 16:23:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:23:02 > git init /w/workspace/device-onvif-camera/116 # timeout=10 16:23:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:23:02 > git --version # timeout=10 16:23:02 > git --version # 'git version 2.25.1' 16:23:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:23:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:23:04 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:23:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:23:05 Avoid second fetch 16:23:05 Checking out Revision 35e0b630cb735782c58facbcf80c1125d056e597 (main) 16:23:05 > git config core.sparsecheckout # timeout=10 16:23:05 > git checkout -f 35e0b630cb735782c58facbcf80c1125d056e597 # timeout=10 16:23:06 Commit message: "refactor!: consume device-sdk-go breaking changes (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:23:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:23:07 % Total % Received % Xferd Average Speed Time Time Time Current 16:23:07 Dload Upload Total Spent Left Speed 16:23:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 16:23:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:23:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:23:08 + sudo tee /etc/docker/daemon.new 16:23:08 { 16:23:08 "registry-mirrors": [ 16:23:08 "https://nexus3.edgexfoundry.org:10001" 16:23:08 ], 16:23:08 "bip": "10.250.0.254/24", 16:23:08 "hosts": [ 16:23:08 "tcp://0.0.0.0:5555", 16:23:08 "unix:///var/run/docker.sock" 16:23:08 ], 16:23:08 "mtu": 1458, 16:23:08 "selinux-enabled": true, 16:23:08 "seccomp-profile": "/etc/docker/seccomp.json" 16:23:08 } [Pipeline] sh 16:23:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:23:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:27 provisioning config files... 16:23:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/116@tmp/config16945257445285177109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:27 ---> docker-login.sh 16:23:27 nexus3.edgexfoundry.org:10001 16:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:28 Configure a credential helper to remove this warning. See 16:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:28 16:23:28 Login Succeeded 16:23:28 nexus3.edgexfoundry.org:10002 16:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:28 Configure a credential helper to remove this warning. See 16:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:28 16:23:28 Login Succeeded 16:23:28 nexus3.edgexfoundry.org:10003 16:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:29 Configure a credential helper to remove this warning. See 16:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:29 16:23:29 Login Succeeded 16:23:29 nexus3.edgexfoundry.org:10004 16:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:29 Configure a credential helper to remove this warning. See 16:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:29 16:23:29 Login Succeeded 16:23:29 docker.io 16:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:29 Configure a credential helper to remove this warning. See 16:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:29 16:23:29 Login Succeeded 16:23:29 ---> docker-login.sh ends [Pipeline] } 16:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:23:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:30 ========================================================= 16:23:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:23:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:30 + 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 . 16:23:31 Sending build context to Docker daemon 20.67MB 16:23:31 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:23:31 Step 2/13 : FROM ${BASE} AS builder 16:23:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:23:31 af6eaf76a39c: Pulling fs layer 16:23:31 55522c791124: Pulling fs layer 16:23:31 ce5c4a1c91eb: Pulling fs layer 16:23:31 169dfbe0d373: Pulling fs layer 16:23:31 e1ff8fa3b103: Pulling fs layer 16:23:31 52ebb69f0ebf: Pulling fs layer 16:23:31 5abe8eddf0d5: Pulling fs layer 16:23:31 169dfbe0d373: Waiting 16:23:31 5abe8eddf0d5: Waiting 16:23:31 52ebb69f0ebf: Waiting 16:23:31 e1ff8fa3b103: Waiting 16:23:31 55522c791124: Verifying Checksum 16:23:31 55522c791124: Download complete 16:23:31 169dfbe0d373: Download complete 16:23:31 e1ff8fa3b103: Verifying Checksum 16:23:31 e1ff8fa3b103: Download complete 16:23:31 af6eaf76a39c: Verifying Checksum 16:23:31 af6eaf76a39c: Download complete 16:23:32 5abe8eddf0d5: Verifying Checksum 16:23:32 5abe8eddf0d5: Download complete 16:23:32 af6eaf76a39c: Pull complete 16:23:33 55522c791124: Pull complete 16:23:34 52ebb69f0ebf: Verifying Checksum 16:23:34 52ebb69f0ebf: Download complete 16:23:34 ce5c4a1c91eb: Verifying Checksum 16:23:34 ce5c4a1c91eb: Download complete 16:23:46 ce5c4a1c91eb: Pull complete 16:23:46 169dfbe0d373: Pull complete 16:23:46 e1ff8fa3b103: Pull complete 16:23:52 52ebb69f0ebf: Pull complete 16:23:53 5abe8eddf0d5: Pull complete 16:23:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:23:53 ---> 6cb57ee374ae 16:23:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:23:55 ---> Running in 24e68d9a16e6 16:23:55 Removing intermediate container 24e68d9a16e6 16:23:55 ---> 38ec8ce952a8 16:23:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:55 ---> Running in 4948ce62b413 16:23:55 Removing intermediate container 4948ce62b413 16:23:55 ---> 18cd2f910e74 16:23:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:23:56 ---> Running in 2e41c9dd99c7 16:23:56 Removing intermediate container 2e41c9dd99c7 16:23:56 ---> f67a5cb6425d 16:23:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:23:56 ---> Running in 89cdbab27184 16:23:57 Removing intermediate container 89cdbab27184 16:23:57 ---> c8f2aae80472 16:23:57 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:23:57 ---> Running in f6e100196cf4 16:23:57 Removing intermediate container f6e100196cf4 16:23:57 ---> 8583528ef29a 16:23:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:57 ---> Running in 3bff008370b7 16:23:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:24:00 OK: 263 MiB in 53 packages 16:24:01 Removing intermediate container 3bff008370b7 16:24:01 ---> 5a7ce4f34b13 16:24:01 Step 9/13 : WORKDIR /device-onvif-camera 16:24:01 ---> Running in 6dad49f8c88a 16:24:01 Removing intermediate container 6dad49f8c88a 16:24:01 ---> 5d0e83f5a64a 16:24:01 Step 10/13 : COPY go.mod vendor* ./ 16:24:02 ---> 98a45341cc5c 16:24:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:02 ---> Running in 7519a3042b00 16:25:10 Removing intermediate container 7519a3042b00 16:25:10 ---> 0333b708d97a 16:25:10 Step 12/13 : COPY . . 16:25:10 ---> 6a88ebc0c5a4 16:25:10 Step 13/13 : RUN ${MAKE} 16:25:10 ---> Running in 7e4a3d7df126 16:25:10 noop 16:25:10 Removing intermediate container 7e4a3d7df126 16:25:10 ---> bf17338270a2 16:25:10 Successfully built bf17338270a2 16:25:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:11 + docker inspect -f . ci-base-image-arm64 16:25:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:11 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 16:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/116 -v /w/workspace/device-onvif-camera/116:/w/workspace/device-onvif-camera/116:rw,z -v /w/workspace/device-onvif-camera/116@tmp:/w/workspace/device-onvif-camera/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:25:12 $ docker top d60df1c568ab97c3bf637d3f3f037ac56fc3ceee23ff54eae66a0f839bac181d -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:13 + go version 16:25:13 go version go1.20.2 linux/arm64 [Pipeline] } 16:25:13 $ docker stop --time=1 d60df1c568ab97c3bf637d3f3f037ac56fc3ceee23ff54eae66a0f839bac181d 16:25:14 $ docker rm -f --volumes d60df1c568ab97c3bf637d3f3f037ac56fc3ceee23ff54eae66a0f839bac181d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:15 + docker inspect -f . ci-base-image-arm64 16:25:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:15 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 16:25:15 $ 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/116 -v /w/workspace/device-onvif-camera/116:/w/workspace/device-onvif-camera/116:rw,z -v /w/workspace/device-onvif-camera/116@tmp:/w/workspace/device-onvif-camera/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:25:17 $ docker top b46a35104695db10e356b4ad45a4987b3cb4a9d9dfb7a4f60316092a85b74b14 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:17 + git config --global --add safe.directory /w/workspace/device-onvif-camera/116 [Pipeline] fileExists [Pipeline] sh 16:25:18 + make test 16:25:18 go test ./... -coverprofile=coverage.out ./... 16:25:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:28:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:28:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:28:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.208s coverage: 31.7% of statements 16:29:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.523s coverage: 86.5% of statements 16:29:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:29:11 go vet ./... 16:29:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:29:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:29:44 ./bin/test-attribution-txt.sh [Pipeline] echo 16:29:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:29:44 $ docker stop --time=1 b46a35104695db10e356b4ad45a4987b3cb4a9d9dfb7a4f60316092a85b74b14 16:29:46 $ docker rm -f --volumes b46a35104695db10e356b4ad45a4987b3cb4a9d9dfb7a4f60316092a85b74b14 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:29:47 Warning: overwriting stash ‘coverage-report’ 16:29:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:29:48 + ls -al . 16:29:48 total 232 16:29:48 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 16:25 . 16:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:23 .. 16:29:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 16:23 .git 16:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:23 .github 16:29:48 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 16:23 .gitignore 16:29:48 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 16:23 .golangci.yml 16:29:48 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 20 16:23 Attribution.txt 16:29:48 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 16:23 CHANGELOG.md 16:29:48 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 20 16:23 Dockerfile 16:29:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 16:23 GOVERNANCE.md 16:29:48 -rw-rw-r-- 1 jenkins jenkins 734 Mar 20 16:23 Jenkinsfile 16:29:48 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 16:23 LICENSE 16:29:48 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 20 16:23 Makefile 16:29:48 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 16:23 OWNERS.md 16:29:48 -rw-rw-r-- 1 jenkins jenkins 6346 Mar 20 16:23 README.md 16:29:48 -rw-rw-r-- 1 jenkins jenkins 12 Mar 20 16:19 VERSION 16:29:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 16:23 bin 16:29:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 16:23 cmd 16:29:48 -rw-r--r-- 1 jenkins jenkins 78487 Mar 20 16:29 coverage.out 16:29:48 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 16:23 doc 16:29:48 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 20 16:23 go.mod 16:29:48 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 20 16:23 go.sum 16:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:23 internal 16:29:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 16:23 snap 16:29:48 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 16:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:49 + 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=35e0b630cb735782c58facbcf80c1125d056e597 --label arch=arm64 --label version=3.0.0-dev.22 . 16:29:49 Sending build context to Docker daemon 20.75MB 16:29:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:29:50 Step 2/26 : FROM ${BASE} AS builder 16:29:50 ---> bf17338270a2 16:29:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:29:50 ---> Running in a049cda3d27d 16:29:50 Removing intermediate container a049cda3d27d 16:29:50 ---> 3dfacf53286f 16:29:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:29:50 ---> Running in b4a5b9bb3fb4 16:29:50 Removing intermediate container b4a5b9bb3fb4 16:29:50 ---> b3dd5bb8aa7b 16:29:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:29:51 ---> Running in ebe44c40f29d 16:29:51 Removing intermediate container ebe44c40f29d 16:29:51 ---> bafc4a3e9c74 16:29:51 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:29:51 ---> Running in 3b020aed4f52 16:29:51 Removing intermediate container 3b020aed4f52 16:29:51 ---> 866f2bd5c3cc 16:29:51 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:29:52 ---> Running in 26da302b8606 16:29:52 Removing intermediate container 26da302b8606 16:29:52 ---> c30e198c6140 16:29:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:29:52 ---> Running in 77df8a0cf765 16:29:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:29:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:29:55 OK: 263 MiB in 53 packages 16:29:56 Removing intermediate container 77df8a0cf765 16:29:56 ---> 83c73a976894 16:29:56 Step 9/26 : WORKDIR /device-onvif-camera 16:29:57 ---> Running in 24630c6d419a 16:29:57 Removing intermediate container 24630c6d419a 16:29:57 ---> 74150f930e4a 16:29:57 Step 10/26 : COPY go.mod vendor* ./ 16:29:57 ---> 037042829011 16:29:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:57 ---> Running in 361015801eed 16:30:01 Removing intermediate container 361015801eed 16:30:01 ---> 418157df0121 16:30:01 Step 12/26 : COPY . . 16:30:03 ---> 00fc7f9c8829 16:30:03 Step 13/26 : RUN ${MAKE} 16:30:03 ---> Running in 200cd5e7a684 16:30:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:32:55 Removing intermediate container 200cd5e7a684 16:32:55 ---> 604b43063181 16:32:55 Step 14/26 : FROM alpine:3.17 16:32:55 3.17: Pulling from library/alpine 16:32:55 af6eaf76a39c: Already exists 16:32:55 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:32:55 Status: Downloaded newer image for alpine:3.17 16:32:55 ---> d74e625d9115 16:32:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:32:55 ---> Running in b846191432f6 16:32:55 Removing intermediate container b846191432f6 16:32:55 ---> e885a7a9abf7 16:32:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:32:55 ---> Running in 3f154e10e9bf 16:32:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:32:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:32:55 (1/1) Installing dumb-init (1.2.5-r2) 16:32:55 Executing busybox-1.35.0-r29.trigger 16:32:55 OK: 8 MiB in 16 packages 16:32:55 Removing intermediate container 3f154e10e9bf 16:32:55 ---> 6d7cf3ddfccd 16:32:55 Step 17/26 : WORKDIR / 16:32:55 ---> Running in 4d93c10d43ef 16:32:55 Removing intermediate container 4d93c10d43ef 16:32:55 ---> 0b25014908ba 16:32:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:32:55 ---> 7f1a12c3926e 16:32:55 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:32:56 ---> 5a18c614ab44 16:32:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:32:59 ---> cfc09eae1f09 16:32:59 Step 21/26 : EXPOSE 59984 16:32:59 ---> Running in 83ab655d8ee7 16:32:59 Removing intermediate container 83ab655d8ee7 16:32:59 ---> b165d3acf8ac 16:32:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:32:59 ---> Running in 5de901349122 16:33:00 Removing intermediate container 5de901349122 16:33:00 ---> 364fe78cbd31 16:33:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:33:00 ---> Running in 169bd2a1f879 16:33:00 Removing intermediate container 169bd2a1f879 16:33:00 ---> 029334db83e4 16:33:00 Step 24/26 : LABEL arch=arm64 16:33:00 ---> Running in 735242d15331 16:33:00 Removing intermediate container 735242d15331 16:33:00 ---> 36153cc13d30 16:33:00 Step 25/26 : LABEL git_sha=35e0b630cb735782c58facbcf80c1125d056e597 16:33:00 ---> Running in 436c9b2749ac 16:33:01 Removing intermediate container 436c9b2749ac 16:33:01 ---> 032b1b1e1708 16:33:01 Step 26/26 : LABEL version=3.0.0-dev.22 16:33:01 ---> Running in 734d0dfef73e 16:33:01 Removing intermediate container 734d0dfef73e 16:33:01 ---> 73df09c74692 16:33:01 [Warning] One or more build-args [ARCH] were not consumed 16:33:01 Successfully built 73df09c74692 16:33:01 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 16:33:01 provisioning config files... 16:33:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/116@tmp/config4816186016967733516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:02 ---> docker-login.sh 16:33:02 nexus3.edgexfoundry.org:10001 16:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:02 Configure a credential helper to remove this warning. See 16:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:02 16:33:02 Login Succeeded 16:33:02 nexus3.edgexfoundry.org:10002 16:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:03 Configure a credential helper to remove this warning. See 16:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:03 16:33:03 Login Succeeded 16:33:03 nexus3.edgexfoundry.org:10003 16:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:03 Configure a credential helper to remove this warning. See 16:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:03 16:33:03 Login Succeeded 16:33:03 nexus3.edgexfoundry.org:10004 16:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:03 Configure a credential helper to remove this warning. See 16:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:03 16:33:03 Login Succeeded 16:33:03 docker.io 16:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:04 Configure a credential helper to remove this warning. See 16:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:04 16:33:04 Login Succeeded 16:33:04 ---> docker-login.sh ends [Pipeline] } 16:33:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:33:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:33:04 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:33:04 35e0b630cb735782c58facbcf80c1125d056e597 16:33:04 latest 16:33:04 3.0.0-dev.22 16:33:04 35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:33:04 main 16:33:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597 16:33:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:33:05 ebb77b2db3c0: Preparing 16:33:05 d371ccfbdf84: Preparing 16:33:05 49b302c1068b: Preparing 16:33:05 8680e123db8a: Preparing 16:33:05 edf70074bd40: Preparing 16:33:05 edf70074bd40: Layer already exists 16:33:05 ebb77b2db3c0: Pushed 16:33:05 d371ccfbdf84: Pushed 16:33:05 8680e123db8a: Pushed 16:33:12 49b302c1068b: Pushed 16:33:12 35e0b630cb735782c58facbcf80c1125d056e597: digest: sha256:98a9556b3442067d98c3eb9645824afb850b6595648cb6a7b39e69f7128a9a57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:12 + 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 16:33:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:33:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:33:12 ebb77b2db3c0: Preparing 16:33:12 d371ccfbdf84: Preparing 16:33:12 49b302c1068b: Preparing 16:33:12 8680e123db8a: Preparing 16:33:12 edf70074bd40: Preparing 16:33:12 d371ccfbdf84: Layer already exists 16:33:12 edf70074bd40: Layer already exists 16:33:12 49b302c1068b: Layer already exists 16:33:12 8680e123db8a: Layer already exists 16:33:12 ebb77b2db3c0: Layer already exists 16:33:13 latest: digest: sha256:98a9556b3442067d98c3eb9645824afb850b6595648cb6a7b39e69f7128a9a57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:13 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.22 16:33:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:33:13 ebb77b2db3c0: Preparing 16:33:13 d371ccfbdf84: Preparing 16:33:13 49b302c1068b: Preparing 16:33:13 8680e123db8a: Preparing 16:33:13 edf70074bd40: Preparing 16:33:13 d371ccfbdf84: Layer already exists 16:33:13 ebb77b2db3c0: Layer already exists 16:33:13 edf70074bd40: Layer already exists 16:33:13 49b302c1068b: Layer already exists 16:33:13 8680e123db8a: Layer already exists 16:33:13 3.0.0-dev.22: digest: sha256:98a9556b3442067d98c3eb9645824afb850b6595648cb6a7b39e69f7128a9a57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:33:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:33:14 ebb77b2db3c0: Preparing 16:33:14 d371ccfbdf84: Preparing 16:33:14 49b302c1068b: Preparing 16:33:14 8680e123db8a: Preparing 16:33:14 edf70074bd40: Preparing 16:33:14 49b302c1068b: Layer already exists 16:33:14 8680e123db8a: Layer already exists 16:33:14 d371ccfbdf84: Layer already exists 16:33:14 edf70074bd40: Layer already exists 16:33:14 ebb77b2db3c0: Layer already exists 16:33:14 35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22: digest: sha256:98a9556b3442067d98c3eb9645824afb850b6595648cb6a7b39e69f7128a9a57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:15 + 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 16:33:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:33:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:33:15 ebb77b2db3c0: Preparing 16:33:15 d371ccfbdf84: Preparing 16:33:15 49b302c1068b: Preparing 16:33:15 8680e123db8a: Preparing 16:33:15 edf70074bd40: Preparing 16:33:15 d371ccfbdf84: Layer already exists 16:33:15 8680e123db8a: Layer already exists 16:33:15 edf70074bd40: Layer already exists 16:33:15 ebb77b2db3c0: Layer already exists 16:33:15 49b302c1068b: Layer already exists 16:33:16 main: digest: sha256:98a9556b3442067d98c3eb9645824afb850b6595648cb6a7b39e69f7128a9a57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:33:16 ===================================================== [Pipeline] echo 16:33:16 taggedImages: 16:33:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597 16:33:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:33:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.22 16:33:16 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:35e0b630cb735782c58facbcf80c1125d056e597-3.0.0-dev.22 16:33:16 - 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 16:33:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:16 16:33:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:16 arm64: Pulling from edgex-lftools-log-publisher 16:33:16 8998bd30e6a1: Pulling fs layer 16:33:16 04944245beec: Pulling fs layer 16:33:16 699f458cf7ca: Pulling fs layer 16:33:16 765212b225bb: Pulling fs layer 16:33:16 f23df028b6ca: Pulling fs layer 16:33:16 d65c8cfc05b1: Pulling fs layer 16:33:16 2437ff75d9bd: Pulling fs layer 16:33:16 f23df028b6ca: Waiting 16:33:16 d65c8cfc05b1: Waiting 16:33:16 765212b225bb: Waiting 16:33:16 2437ff75d9bd: Waiting 16:33:17 04944245beec: Verifying Checksum 16:33:17 04944245beec: Download complete 16:33:17 765212b225bb: Verifying Checksum 16:33:17 765212b225bb: Download complete 16:33:17 f23df028b6ca: Verifying Checksum 16:33:17 f23df028b6ca: Download complete 16:33:17 d65c8cfc05b1: Verifying Checksum 16:33:17 d65c8cfc05b1: Download complete 16:33:17 699f458cf7ca: Verifying Checksum 16:33:17 699f458cf7ca: Download complete 16:33:17 8998bd30e6a1: Verifying Checksum 16:33:17 8998bd30e6a1: Download complete 16:33:20 2437ff75d9bd: Verifying Checksum 16:33:20 2437ff75d9bd: Download complete 16:33:21 8998bd30e6a1: Pull complete 16:33:21 04944245beec: Pull complete 16:33:23 699f458cf7ca: Pull complete 16:33:23 765212b225bb: Pull complete 16:33:24 f23df028b6ca: Pull complete 16:33:24 d65c8cfc05b1: Pull complete 16:33:39 2437ff75d9bd: Pull complete 16:33:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:39 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 16:33:39 $ 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/116 -v /w/workspace/device-onvif-camera/116:/w/workspace/device-onvif-camera/116:rw,z -v /w/workspace/device-onvif-camera/116@tmp:/w/workspace/device-onvif-camera/116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:33:42 $ docker top 75d00b092cc48608fdb63590d7265adf069e88711bd3c59e07a49e5d5655ec2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:43 ---> job-cost.sh 16:33:43 lf-activate-venv: SKIPPING 16:33:43 INFO: No Stack... 16:33:44 INFO: Retrieving Pricing Info for: v3-standard-4 16:33:45 INFO: Archiving Costs [Pipeline] sh 16:33:45 + cat /w/workspace/device-onvif-camera/116/archives/cost.csv 16:33:45 + cut -d, -f6 [Pipeline] lock 16:33:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] 16:33:45 Resource [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] did not exist. Created. 16:33:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:33:46 /w/workspace/device-onvif-camera/116@tmp/durable-841ac435/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:33:47 + echo total: 0.10999999940395355 [Pipeline] stash 16:33:47 Warning: overwriting stash ‘stack-cost’ 16:33:47 Stashed 1 file(s) [Pipeline] } 16:33:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-116-stack-cost] [Pipeline] // lock [Pipeline] } 16:33:47 $ docker stop --time=1 75d00b092cc48608fdb63590d7265adf069e88711bd3c59e07a49e5d5655ec2c 16:33:48 $ docker rm -f --volumes 75d00b092cc48608fdb63590d7265adf069e88711bd3c59e07a49e5d5655ec2c [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 16:33:49 provisioning config files... 16:33:49 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17222171830161792720tmp [Pipeline] { [Pipeline] sh 16:33:49 + set +x 16:33:49 + + bash -s --curl 16:33:49 -s https://codecov.io/bash 16:33:49 16:33:49 _____ _ 16:33:49 / ____| | | 16:33:49 | | ___ __| | ___ ___ _____ __ 16:33:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:33:49 | |___| (_) | (_| | __/ (_| (_) \ V / 16:33:49 \_____\___/ \__,_|\___|\___\___/ \_/ 16:33:49 Bash-1.0.6 16:33:49 16:33:49 16:33:49 ==> git version 2.25.1 found 16:33:49 ==> 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 16:33:49 Release-Date: 2020-01-08 16:33:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:33:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:33:49 ==> Jenkins CI detected. 16:33:49 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:33:49 project root: . 16:33:49 --> token set from env 16:33:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:33:49 ==> Running gcov in . (disable via -X gcov) 16:33:49 ==> Python coveragepy not found 16:33:49 ==> Searching for coverage reports in: 16:33:49 + . 16:33:49 -> Found 1 reports 16:33:49 ==> Detecting git/mercurial file structure 16:33:49 ==> Reading reports 16:33:49 + ./coverage.out bytes=78487 16:33:49 ==> Appending adjustments 16:33:49 https://docs.codecov.io/docs/fixing-reports 16:33:50 + Found adjustments 16:33:50 ==> Gzipping contents 16:33:50 12K /tmp/codecov.uL2icb.gz 16:33:50 ==> Uploading reports 16:33:50 url: https://codecov.io 16:33:50 query: branch=main&commit=35e0b630cb735782c58facbcf80c1125d056e597&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:33:50 -> Pinging Codecov 16:33:50 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=35e0b630cb735782c58facbcf80c1125d056e597&build=116&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F116%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:33:50 -> Uploading to 16:33:50 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/35e0b630cb735782c58facbcf80c1125d056e597/24f1b0d9-e53b-4081-a15f-15606fb940a9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T163350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b347b15bd51363f26432728bf0981ffddb3ccf27a35528eb72718d23d23fdfd0 16:33:50 % Total % Received % Xferd Average Speed Time Time Time Current 16:33:50 Dload Upload Total Spent Left Speed 16:33:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10526 0 0 100 10526 0 40329 --:--:-- --:--:-- --:--:-- 40329 16:33:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] } 16:33:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:33:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:33:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:33:51 16:33:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:33:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:33:51 df9b9388f04a: Pulling fs layer 16:33:51 52dc419b0ee2: Pulling fs layer 16:33:51 25bc292e5bac: Pulling fs layer 16:33:51 114826534d7a: Pulling fs layer 16:33:51 4657fd5d0bcf: Pulling fs layer 16:33:51 6ad1cebc031e: Pulling fs layer 16:33:51 8a3aa393b2d8: Pulling fs layer 16:33:51 114826534d7a: Waiting 16:33:51 4657fd5d0bcf: Waiting 16:33:51 6ad1cebc031e: Waiting 16:33:51 8a3aa393b2d8: Waiting 16:33:51 25bc292e5bac: Download complete 16:33:51 52dc419b0ee2: Download complete 16:33:51 4657fd5d0bcf: Verifying Checksum 16:33:51 4657fd5d0bcf: Download complete 16:33:51 df9b9388f04a: Verifying Checksum 16:33:51 df9b9388f04a: Download complete 16:33:51 df9b9388f04a: Pull complete 16:33:51 52dc419b0ee2: Pull complete 16:33:51 6ad1cebc031e: Verifying Checksum 16:33:51 6ad1cebc031e: Download complete 16:33:51 25bc292e5bac: Pull complete 16:33:52 114826534d7a: Download complete 16:33:52 8a3aa393b2d8: Verifying Checksum 16:33:52 8a3aa393b2d8: Download complete 16:33:55 114826534d7a: Pull complete 16:33:55 4657fd5d0bcf: Pull complete 16:33:56 6ad1cebc031e: Pull complete 16:33:58 8a3aa393b2d8: Pull complete 16:33:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:33:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:58 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:33:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:34:01 $ docker top db353f10cd1bc58766966255accc739c9285345452c8685073041519998d05bd -eo pid,comm [Pipeline] { [Pipeline] echo 16:34:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:34:02 + set -o pipefail 16:34:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:34:08 16:34:08 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:34:08 16:34:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/96409086-9b97-46b2-948f-a964d356c326 16:34:08 16:34:08 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:34:08 16:34:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:34:08 16:34:08 16:34:08 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:34:08 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:34:08 More details here: https://snyk.co/ue1NS [Pipeline] } 16:34:08 $ docker stop --time=1 db353f10cd1bc58766966255accc739c9285345452c8685073041519998d05bd 16:34:11 $ docker rm -f --volumes db353f10cd1bc58766966255accc739c9285345452c8685073041519998d05bd [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 16:34:11 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:11 provisioning config files... 16:34:11 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8165085699682613770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:12 --> edgex-publish-swagger.sh 16:34:12 === Publish doc/openapi/v2 API === 16:34:12 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 16:34:12 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 16:34:12 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:12 Dload Upload Total Spent Left Speed 16:34:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 3557k --:--:-- --:--:-- --:--:-- 3530k 100 469k 0 0 100 469k 0 632k --:--:-- --:--:-- --:--:-- 631k 16:34:12 16:34:12 [Pipeline] } 16:34:12 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 16:34:13 + git log --format=format:%s -1 35e0b630cb735782c58facbcf80c1125d056e597 [Pipeline] sh 16:34:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:13 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:34:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:34:14 $ docker top 18d464889556480eba185262bcb5f170e8e8457fc1f74f7a088e782d2be5dd32 -eo pid,comm 16:34:14 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). 16:34:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:14 [ssh-agent] Looking for ssh-agent implementation... 16:34:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:14 $ docker exec 18d464889556480eba185262bcb5f170e8e8457fc1f74f7a088e782d2be5dd32 ssh-agent 16:34:14 SSH_AUTH_SOCK=/tmp/ssh-Gkg27C9dY5gM/agent.32 16:34:14 SSH_AGENT_PID=37 16:34:14 Running ssh-add (command line suppressed) 16:34:14 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5754545276448621894.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5754545276448621894.key) 16:34:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:14 + git semver tag 16:34:15 2023-03-20 16:34:15,095 [run_tag] DEBUG tag force:False 16:34:15 2023-03-20 16:34:15,095 [check_head_tag] DEBUG check head tag 16:34:15 2023-03-20 16:34:15,097 [execute] INFO git cat-file --batch-check 16:34:15 2023-03-20 16:34:15,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:34:15 2023-03-20 16:34:15,101 [execute] INFO git cat-file --batch 16:34:15 2023-03-20 16:34:15,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:34:15 2023-03-20 16:34:15,130 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:15 2023-03-20 16:34:15,130 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 16:34:15 2023-03-20 16:34:15,130 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:34:15 2023-03-20 16:34:15,134 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:15 3.0.0-dev.22 [Pipeline] } 16:34:15 $ docker exec --env ******** --env ******** 18d464889556480eba185262bcb5f170e8e8457fc1f74f7a088e782d2be5dd32 ssh-agent -k 16:34:15 unset SSH_AUTH_SOCK; 16:34:15 unset SSH_AGENT_PID; 16:34:15 echo Agent pid 37 killed; 16:34:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:15 + git semver [Pipeline] } 16:34:15 $ docker stop --time=1 18d464889556480eba185262bcb5f170e8e8457fc1f74f7a088e782d2be5dd32 16:34:17 $ docker rm -f --volumes 18d464889556480eba185262bcb5f170e8e8457fc1f74f7a088e782d2be5dd32 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:17 16:34:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:17 0.23.1-centos7: Pulling from edgex-lftools 16:34:17 ab5ef0e58194: Pulling fs layer 16:34:17 9712f1f96733: Pulling fs layer 16:34:17 63f879dbbcfc: Pulling fs layer 16:34:17 0d9ebad4ef96: Pulling fs layer 16:34:17 e9a5061849ea: Pulling fs layer 16:34:17 d747dcd14b5f: Pulling fs layer 16:34:17 2de7ff778b66: Pulling fs layer 16:34:17 d747dcd14b5f: Waiting 16:34:17 2de7ff778b66: Waiting 16:34:17 0d9ebad4ef96: Waiting 16:34:17 e9a5061849ea: Waiting 16:34:17 9712f1f96733: Download complete 16:34:18 63f879dbbcfc: Verifying Checksum 16:34:18 63f879dbbcfc: Download complete 16:34:18 ab5ef0e58194: Verifying Checksum 16:34:18 ab5ef0e58194: Download complete 16:34:18 d747dcd14b5f: Download complete 16:34:18 e9a5061849ea: Verifying Checksum 16:34:18 e9a5061849ea: Download complete 16:34:18 0d9ebad4ef96: Verifying Checksum 16:34:18 0d9ebad4ef96: Download complete 16:34:18 2de7ff778b66: Verifying Checksum 16:34:18 2de7ff778b66: Download complete 16:34:21 ab5ef0e58194: Pull complete 16:34:21 9712f1f96733: Pull complete 16:34:22 63f879dbbcfc: Pull complete 16:34:26 0d9ebad4ef96: Pull complete 16:34:26 e9a5061849ea: Pull complete 16:34:26 d747dcd14b5f: Pull complete 16:34:27 2de7ff778b66: Pull complete 16:34:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:34:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:27 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:34:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:34:31 $ docker top 50f5a9dfc6ae489006dd5a3ecf182fba1d65152405b196ca9734753bd1feec5a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:34:31 provisioning config files... 16:34:31 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1044995181530518911tmp 16:34:31 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1697641088064978014tmp 16:34:31 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config217922670723419004tmp [Pipeline] { [Pipeline] echo 16:34:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:34:31 ---> sigul-configuration.sh 16:34:31 gpg: directory `/root/.gnupg' created 16:34:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:34:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:34:31 gpg: keyring `/root/.gnupg/secring.gpg' created 16:34:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:34:31 gpg: CAST5 encrypted data 16:34:31 gpg: encrypted with 1 passphrase 16:34:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:34:31 + mkdir /home/jenkins 16:34:31 + mkdir /home/jenkins/sigul [Pipeline] sh 16:34:32 + 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 16:34:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:34:32 ---> sigul-install.sh 16:34:32 Sigul already installed; skipping installation. [Pipeline] sh 16:34:32 + git tag --list 16:34:32 v0.0.0 16:34:32 v0.0.1-dev.1 16:34:32 v0.0.1-dev.10 16:34:32 v0.0.1-dev.11 16:34:32 v0.0.1-dev.12 16:34:32 v0.0.1-dev.13 16:34:32 v0.0.1-dev.14 16:34:32 v0.0.1-dev.15 16:34:32 v0.0.1-dev.16 16:34:32 v0.0.1-dev.17 16:34:32 v0.0.1-dev.18 16:34:32 v0.0.1-dev.19 16:34:32 v0.0.1-dev.2 16:34:32 v0.0.1-dev.20 16:34:32 v0.0.1-dev.21 16:34:32 v0.0.1-dev.22 16:34:32 v0.0.1-dev.23 16:34:32 v0.0.1-dev.24 16:34:32 v0.0.1-dev.25 16:34:32 v0.0.1-dev.26 16:34:32 v0.0.1-dev.27 16:34:32 v0.0.1-dev.28 16:34:32 v0.0.1-dev.3 16:34:32 v0.0.1-dev.4 16:34:32 v0.0.1-dev.5 16:34:32 v0.0.1-dev.6 16:34:32 v0.0.1-dev.7 16:34:32 v0.0.1-dev.8 16:34:32 v0.0.1-dev.9 16:34:32 v2.2.0 16:34:32 v2.2.0-dev.29 16:34:32 v2.2.0-dev.30 16:34:32 v2.2.0-dev.31 16:34:32 v2.2.0-dev.32 16:34:32 v2.2.0-dev.33 16:34:32 v2.2.0-dev.34 16:34:32 v2.2.0-dev.35 16:34:32 v2.3.0 16:34:32 v2.3.0-dev.1 16:34:32 v2.3.0-dev.10 16:34:32 v2.3.0-dev.11 16:34:32 v2.3.0-dev.12 16:34:32 v2.3.0-dev.13 16:34:32 v2.3.0-dev.14 16:34:32 v2.3.0-dev.15 16:34:32 v2.3.0-dev.16 16:34:32 v2.3.0-dev.17 16:34:32 v2.3.0-dev.18 16:34:32 v2.3.0-dev.19 16:34:32 v2.3.0-dev.2 16:34:32 v2.3.0-dev.20 16:34:32 v2.3.0-dev.21 16:34:32 v2.3.0-dev.22 16:34:32 v2.3.0-dev.23 16:34:32 v2.3.0-dev.24 16:34:32 v2.3.0-dev.25 16:34:32 v2.3.0-dev.26 16:34:32 v2.3.0-dev.27 16:34:32 v2.3.0-dev.28 16:34:32 v2.3.0-dev.29 16:34:32 v2.3.0-dev.3 16:34:32 v2.3.0-dev.30 16:34:32 v2.3.0-dev.31 16:34:32 v2.3.0-dev.32 16:34:32 v2.3.0-dev.33 16:34:32 v2.3.0-dev.34 16:34:32 v2.3.0-dev.35 16:34:32 v2.3.0-dev.36 16:34:32 v2.3.0-dev.37 16:34:32 v2.3.0-dev.38 16:34:32 v2.3.0-dev.39 16:34:32 v2.3.0-dev.4 16:34:32 v2.3.0-dev.40 16:34:32 v2.3.0-dev.41 16:34:32 v2.3.0-dev.42 16:34:32 v2.3.0-dev.43 16:34:32 v2.3.0-dev.44 16:34:32 v2.3.0-dev.45 16:34:32 v2.3.0-dev.5 16:34:32 v2.3.0-dev.6 16:34:32 v2.3.0-dev.7 16:34:32 v2.3.0-dev.8 16:34:32 v2.3.0-dev.9 16:34:32 v2.3.1-dev.1 16:34:32 v3.0.0-dev.1 16:34:32 v3.0.0-dev.10 16:34:32 v3.0.0-dev.11 16:34:32 v3.0.0-dev.12 16:34:32 v3.0.0-dev.13 16:34:32 v3.0.0-dev.14 16:34:32 v3.0.0-dev.15 16:34:32 v3.0.0-dev.16 16:34:32 v3.0.0-dev.17 16:34:32 v3.0.0-dev.18 16:34:32 v3.0.0-dev.19 16:34:32 v3.0.0-dev.2 16:34:32 v3.0.0-dev.20 16:34:32 v3.0.0-dev.21 16:34:32 v3.0.0-dev.22 16:34:32 v3.0.0-dev.3 16:34:32 v3.0.0-dev.4 16:34:32 v3.0.0-dev.5 16:34:32 v3.0.0-dev.6 16:34:32 v3.0.0-dev.7 16:34:32 v3.0.0-dev.8 16:34:32 v3.0.0-dev.9 [Pipeline] sh 16:34:32 + lftools sign git-tag v3.0.0-dev.22 16:34:33 Signing Git tag with Sigul... 16:34:33 Signing v3.0.0-dev.22 [Pipeline] echo 16:34:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:34:33 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:34:33 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:34:34 $ docker stop --time=1 50f5a9dfc6ae489006dd5a3ecf182fba1d65152405b196ca9734753bd1feec5a 16:34:35 $ docker rm -f --volumes 50f5a9dfc6ae489006dd5a3ecf182fba1d65152405b196ca9734753bd1feec5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:34:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:36 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:34:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:34:36 $ docker top ff50d0a4e6d431cc0cac7c9738c64a950f82c3af460061883a9e7a4c833ba5dd -eo pid,comm 16:34:36 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). 16:34:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:36 [ssh-agent] Looking for ssh-agent implementation... 16:34:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:36 $ docker exec ff50d0a4e6d431cc0cac7c9738c64a950f82c3af460061883a9e7a4c833ba5dd ssh-agent 16:34:36 SSH_AUTH_SOCK=/tmp/ssh-xUWQkVX0FGvV/agent.33 16:34:36 SSH_AGENT_PID=39 16:34:36 Running ssh-add (command line suppressed) 16:34:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7815697566602888696.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7815697566602888696.key) 16:34:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:37 + git semver bump pre 16:34:37 2023-03-20 16:34:37,374 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:37 2023-03-20 16:34:37,374 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev 16:34:37 2023-03-20 16:34:37,374 [bump_version] DEBUG bumped version:3.0.0-dev.23 16:34:37 2023-03-20 16:34:37,375 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:34:37 2023-03-20 16:34:37,375 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:37 2023-03-20 16:34:37,375 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:37 2023-03-20 16:34:37,377 [execute] INFO git cat-file --batch-check 16:34:37 2023-03-20 16:34:37,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:34:37 2023-03-20 16:34:37,383 [execute] INFO git cat-file --batch 16:34:37 2023-03-20 16:34:37,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:34:37 2023-03-20 16:34:37,390 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:37 3.0.0-dev.23 [Pipeline] } 16:34:37 $ docker exec --env ******** --env ******** ff50d0a4e6d431cc0cac7c9738c64a950f82c3af460061883a9e7a4c833ba5dd ssh-agent -k 16:34:37 unset SSH_AUTH_SOCK; 16:34:37 unset SSH_AGENT_PID; 16:34:37 echo Agent pid 39 killed; 16:34:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:37 + git semver [Pipeline] } 16:34:38 $ docker stop --time=1 ff50d0a4e6d431cc0cac7c9738c64a950f82c3af460061883a9e7a4c833ba5dd 16:34:39 $ docker rm -f --volumes ff50d0a4e6d431cc0cac7c9738c64a950f82c3af460061883a9e7a4c833ba5dd [Pipeline] // withDockerContainer [Pipeline] sh 16:34:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:40 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:34:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:34:40 $ docker top 760f1fdd78d5dda66dc529030ae536daffb74d512d5e9adf689d46bffa555eb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:40 [ssh-agent] Looking for ssh-agent implementation... 16:34:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:40 $ docker exec 760f1fdd78d5dda66dc529030ae536daffb74d512d5e9adf689d46bffa555eb2 ssh-agent 16:34:40 SSH_AUTH_SOCK=/tmp/ssh-pldlqBpgRxfN/agent.32 16:34:40 SSH_AGENT_PID=38 16:34:40 Running ssh-add (command line suppressed) 16:34:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5535953927354388970.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5535953927354388970.key) 16:34:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:41 + git semver push 16:34:41 2023-03-20 16:34:41,562 [run_push] DEBUG push 16:34:41 2023-03-20 16:34:41,563 [execute] INFO git cat-file --batch-check 16:34:41 2023-03-20 16:34:41,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:34:41 2023-03-20 16:34:41,568 [execute] INFO git rev-list 70ae2777a03e82902154c30d21c601bbf9541ca0 -- 16:34:41 2023-03-20 16:34:41,568 [execute] DEBUG Popen(['git', 'rev-list', '70ae2777a03e82902154c30d21c601bbf9541ca0', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:34:41 2023-03-20 16:34:41,576 [execute] INFO git fetch -v origin 16:34:41 2023-03-20 16:34:41,576 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:34:42 2023-03-20 16:34:42,363 [run_push] DEBUG no remote changes detected 16:34:42 2023-03-20 16:34:42,363 [execute] INFO git push origin semver 16:34:42 2023-03-20 16:34:42,364 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:34:43 2023-03-20 16:34:43,105 [run_push] DEBUG push all version tags 16:34:43 2023-03-20 16:34:43,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:34:43 2023-03-20 16:34:43,106 [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) 16:34:44 2023-03-20 16:34:43,863 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:34:44 3.0.0-dev.23 [Pipeline] } 16:34:44 $ docker exec --env ******** --env ******** 760f1fdd78d5dda66dc529030ae536daffb74d512d5e9adf689d46bffa555eb2 ssh-agent -k 16:34:44 unset SSH_AUTH_SOCK; 16:34:44 unset SSH_AGENT_PID; 16:34:44 echo Agent pid 38 killed; 16:34:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:44 + git semver [Pipeline] } 16:34:44 $ docker stop --time=1 760f1fdd78d5dda66dc529030ae536daffb74d512d5e9adf689d46bffa555eb2 16:34:46 $ docker rm -f --volumes 760f1fdd78d5dda66dc529030ae536daffb74d512d5e9adf689d46bffa555eb2 [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 16:34:46 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:34:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:34:46 total 16 16:34:46 drwxr-xr-x 3 root root 4096 Mar 20 16:21 . 16:34:46 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:34 .. 16:34:46 drwxr-xr-x 2 root root 4096 Mar 20 16:21 cost 16:34:46 -rw-r--r-- 1 root root 91 Mar 20 16:21 cost.csv 16:34:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:34:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:34:46 total 16 16:34:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 16:21 . 16:34:46 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 16:34 .. 16:34:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 16:21 cost 16:34:46 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 16:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:34:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:34:47 ---> package-listing.sh 16:34:47 ++ facter osfamily 16:34:47 ++ tr '[:upper:]' '[:lower:]' 16:34:48 + OS_FAMILY=debian 16:34:48 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:34:48 + START_PACKAGES=/tmp/packages_start.txt 16:34:48 + END_PACKAGES=/tmp/packages_end.txt 16:34:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:34:48 + PACKAGES=/tmp/packages_start.txt 16:34:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:34:48 + PACKAGES=/tmp/packages_end.txt 16:34:48 + case "${OS_FAMILY}" in 16:34:48 + dpkg -l 16:34:48 + grep '^ii' 16:34:48 + '[' -f /tmp/packages_start.txt ']' 16:34:48 + '[' -f /tmp/packages_end.txt ']' 16:34:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:34:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:34:48 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:34:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:34:48 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 16:34:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:34:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:49 prd-ubuntu20.04-docker-8c-8g-4598 does not seem to be running inside a container 16:34:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:34:49 $ docker top 737c018eca6fb6bdd068bd847ed30e65fe2d92e88ca465c5ba41fc2a4b03f339 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:49 + touch /tmp/pre-build-complete [Pipeline] sh 16:34:49 + mkdir -p /var/log/sysstat [Pipeline] sh 16:34:50 + ls /var/log/sa-host 16:34:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:50 provisioning config files... 16:34:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7359681092446284246tmp [Pipeline] { [Pipeline] echo 16:34:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:34:50 ---> create-netrc.sh [Pipeline] } 16:34:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:34:50 ---> python-tools-install.sh [Pipeline] echo 16:34:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:34:51 ---> sudo-logs.sh 16:34:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:34:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:34:51 ---> job-cost.sh 16:34:51 lf-activate-venv: SKIPPING 16:34:51 DEBUG: total: 0.2199999988079071 16:34:51 INFO: Retrieving Stack Cost... 16:34:51 INFO: Retrieving Pricing Info for: v3-standard-8 16:34:52 INFO: Archiving Costs [Pipeline] echo 16:34:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:34:52 ---> logs-deploy.sh 16:34:52 lf-activate-venv: SKIPPING 16:34:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/116 16:34:52 INFO: archiving workspace using pattern(s): 16:34:53 Archives upload complete. 16:34:53 INFO: archiving logs to Nexus