Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4eac92da5dfc23f9865ece6d9684c74467a8de72 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-ssh4917333883733095068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14628838377796734729.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14859354139510317769.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6790442000092763963.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-ssh10758267648753128205.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-121219 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4eac92da5dfc23f9865ece6d9684c74467a8de72 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "refactor!: use latest SDK for flattened config stem (#199)" > git checkout -f 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 > git rev-list --no-walk 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:41:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:41:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:41:56 ========================================================= 16:41:56 EdgeX Global Pipelines Version Info 16:41:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:41:57 ------------------- 16:41:57 stable info: 16:41:57 ------------------- 16:41:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:41:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:41:57 Message: update stable to v1.0.244 16:41:58 ------------------- 16:41:58 experimental info: 16:41:58 ------------------- 16:41:58 Commited By: **** collab-it+edgex@linuxfoundation.org 16:41:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:41:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4eac92d [Pipeline] echo 16:41:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:58 provisioning config files... 16:41:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13887003367979152459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:58 ---> docker-login.sh 16:41:58 nexus3.edgexfoundry.org:10001 16:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:59 Configure a credential helper to remove this warning. See 16:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:59 16:41:59 Login Succeeded 16:41:59 nexus3.edgexfoundry.org:10002 16:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:59 Configure a credential helper to remove this warning. See 16:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:59 16:41:59 Login Succeeded 16:41:59 nexus3.edgexfoundry.org:10003 16:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:59 Configure a credential helper to remove this warning. See 16:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:59 16:41:59 Login Succeeded 16:41:59 nexus3.edgexfoundry.org:10004 16:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:59 Configure a credential helper to remove this warning. See 16:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:59 16:41:59 Login Succeeded 16:41:59 docker.io 16:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:59 Configure a credential helper to remove this warning. See 16:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:59 16:41:59 Login Succeeded 16:41:59 ---> docker-login.sh ends [Pipeline] } 16:41:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:42:00 + git rev-list -1 --merges 4eac92da5dfc23f9865ece6d9684c74467a8de72~1..4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] echo 16:42:00 -----------> git rev-list -1 --merges 4eac92da5dfc23f9865ece6d9684c74467a8de72~1..4eac92da5dfc23f9865ece6d9684c74467a8de72 4eac92da5dfc23f9865ece6d9684c74467a8de72 [false] [Pipeline] sh 16:42:00 + git log --format=format:%s -1 4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] echo 16:42:00 ========================================================= 16:42:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:42:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:42:01 + git log --format=format:%s -1 4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] echo 16:42:01 [semverPrep] GIT_COMMIT: 4eac92da5dfc23f9865ece6d9684c74467a8de72, Commit Message: refactor!: use latest SDK for flattened config stem (#199) [Pipeline] echo 16:42:01 [semverPrep] This is not a build commit. [Pipeline] sh 16:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:01 + grep -v github /etc/ssh/ssh_known_hosts 16:42:01 + [ -e /tmp/ssh_known_hosts ] 16:42:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:42:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:42:01 + sudo tee -a /etc/ssh/ssh_known_hosts 16:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:01 16:42:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:02 0.1.4: Pulling from edgex-devops/py-git-semver 16:42:02 b85a868b505f: Pulling fs layer 16:42:02 e2be974225ed: Pulling fs layer 16:42:02 339a4e72a1f5: Pulling fs layer 16:42:02 988bab9f4d93: Pulling fs layer 16:42:02 1469e6f7b9e6: Pulling fs layer 16:42:02 eaf3925da568: Pulling fs layer 16:42:02 bab4dde63d76: Pulling fs layer 16:42:02 bde34c3a00c8: Pulling fs layer 16:42:02 b352a97aabf1: Pulling fs layer 16:42:02 4872d77fe225: Pulling fs layer 16:42:02 5851b861e8e6: Pulling fs layer 16:42:02 b352a97aabf1: Waiting 16:42:02 bde34c3a00c8: Waiting 16:42:02 bab4dde63d76: Waiting 16:42:02 5851b861e8e6: Waiting 16:42:02 4872d77fe225: Waiting 16:42:02 988bab9f4d93: Waiting 16:42:02 eaf3925da568: Waiting 16:42:02 e2be974225ed: Verifying Checksum 16:42:02 e2be974225ed: Download complete 16:42:02 988bab9f4d93: Verifying Checksum 16:42:02 988bab9f4d93: Download complete 16:42:02 339a4e72a1f5: Verifying Checksum 16:42:02 339a4e72a1f5: Download complete 16:42:02 1469e6f7b9e6: Verifying Checksum 16:42:02 1469e6f7b9e6: Download complete 16:42:02 eaf3925da568: Verifying Checksum 16:42:02 eaf3925da568: Download complete 16:42:02 bde34c3a00c8: Download complete 16:42:02 b352a97aabf1: Verifying Checksum 16:42:02 b352a97aabf1: Download complete 16:42:02 4872d77fe225: Download complete 16:42:02 5851b861e8e6: Download complete 16:42:02 b85a868b505f: Verifying Checksum 16:42:02 b85a868b505f: Download complete 16:42:02 bab4dde63d76: Verifying Checksum 16:42:02 bab4dde63d76: Download complete 16:42:03 b85a868b505f: Pull complete 16:42:03 e2be974225ed: Pull complete 16:42:04 339a4e72a1f5: Pull complete 16:42:04 988bab9f4d93: Pull complete 16:42:04 1469e6f7b9e6: Pull complete 16:42:04 eaf3925da568: Pull complete 16:42:06 bab4dde63d76: Pull complete 16:42:06 bde34c3a00c8: Pull complete 16:42:06 b352a97aabf1: Pull complete 16:42:06 4872d77fe225: Pull complete 16:42:07 5851b861e8e6: Pull complete 16:42:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:42:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:07 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:42:07 $ 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:42:08 $ docker top 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 -eo pid,comm 16:42:08 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:42:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:08 [ssh-agent] Looking for ssh-agent implementation... 16:42:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:08 $ docker exec 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 ssh-agent 16:42:09 SSH_AUTH_SOCK=/tmp/ssh-NKHj9G4SUzki/agent.32 16:42:09 SSH_AGENT_PID=38 16:42:09 Running ssh-add (command line suppressed) 16:42:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10365653938081745135.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10365653938081745135.key) 16:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:09 + git tag --points-at HEAD [Pipeline] } 16:42:09 $ docker exec --env ******** --env ******** 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 ssh-agent -k 16:42:09 unset SSH_AUTH_SOCK; 16:42:09 unset SSH_AGENT_PID; 16:42:09 echo Agent pid 38 killed; 16:42:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:09 [ssh-agent] Looking for ssh-agent implementation... 16:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:09 $ docker exec 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 ssh-agent 16:42:09 SSH_AUTH_SOCK=/tmp/ssh-oRI4ZXIqgsxB/agent.70 16:42:09 SSH_AGENT_PID=76 16:42:09 Running ssh-add (command line suppressed) 16:42:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3222735750563186293.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3222735750563186293.key) 16:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:10 + git semver init 16:42:10 2022-12-14 16:42:10,462 [run_init] DEBUG init version:0.0.0 force:False 16:42:10 2022-12-14 16:42:10,463 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:42:10 2022-12-14 16:42:10,463 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:42:10 2022-12-14 16:42:10,463 [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:42:11 2022-12-14 16:42:11,757 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:42:11 2022-12-14 16:42:11,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:42:11 2022-12-14 16:42:11,758 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:42:11 2022-12-14 16:42:11,758 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:42:11 3.0.0-dev.1 [Pipeline] } 16:42:11 $ docker exec --env ******** --env ******** 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 ssh-agent -k 16:42:12 unset SSH_AUTH_SOCK; 16:42:12 unset SSH_AGENT_PID; 16:42:12 echo Agent pid 76 killed; 16:42:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:12 + git semver [Pipeline] } 16:42:12 $ docker stop --time=1 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 16:42:13 $ docker rm -f 7dcebedeb06e0cf2ea11b46b1269f913176ad7cd3f47d6497585252de4274e47 [Pipeline] // withDockerContainer [Pipeline] sh 16:42:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:42:14 Stashed 1 file(s) [Pipeline] echo 16:42:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.1 [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:42:14 provisioning config files... 16:42:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8438800344384929346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:42:14 ---> docker-login.sh 16:42:14 nexus3.edgexfoundry.org:10001 16:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:14 Configure a credential helper to remove this warning. See 16:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:14 16:42:14 Login Succeeded 16:42:14 nexus3.edgexfoundry.org:10002 16:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:14 Configure a credential helper to remove this warning. See 16:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:14 16:42:14 Login Succeeded 16:42:15 nexus3.edgexfoundry.org:10003 16:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:15 Configure a credential helper to remove this warning. See 16:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:15 16:42:15 Login Succeeded 16:42:15 nexus3.edgexfoundry.org:10004 16:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:15 Configure a credential helper to remove this warning. See 16:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:15 16:42:15 Login Succeeded 16:42:15 docker.io 16:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:42:15 Configure a credential helper to remove this warning. See 16:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:42:15 16:42:15 Login Succeeded 16:42:15 ---> docker-login.sh ends [Pipeline] } 16:42:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:42:15 ========================================================= 16:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:42:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:42:16 Sending build context to Docker daemon 27.64MB 16:42:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:42:16 Step 2/13 : FROM ${BASE} AS builder 16:42:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:42:16 213ec9aee27d: Pulling fs layer 16:42:16 4583459ba037: Pulling fs layer 16:42:16 93c1e223e6f2: Pulling fs layer 16:42:16 53926ce57604: Pulling fs layer 16:42:16 21b2b0c7a3f4: Pulling fs layer 16:42:16 22ff95d597cd: Pulling fs layer 16:42:16 12d6caf4c0d1: Pulling fs layer 16:42:16 96b7cbca73a9: Pulling fs layer 16:42:16 a7acece74701: Pulling fs layer 16:42:16 21b2b0c7a3f4: Waiting 16:42:16 96b7cbca73a9: Waiting 16:42:16 12d6caf4c0d1: Waiting 16:42:16 53926ce57604: Waiting 16:42:16 93c1e223e6f2: Download complete 16:42:16 4583459ba037: Verifying Checksum 16:42:16 4583459ba037: Download complete 16:42:16 21b2b0c7a3f4: Verifying Checksum 16:42:16 21b2b0c7a3f4: Download complete 16:42:16 22ff95d597cd: Download complete 16:42:16 213ec9aee27d: Verifying Checksum 16:42:16 213ec9aee27d: Download complete 16:42:16 12d6caf4c0d1: Download complete 16:42:16 213ec9aee27d: Pull complete 16:42:16 4583459ba037: Pull complete 16:42:16 93c1e223e6f2: Pull complete 16:42:16 a7acece74701: Verifying Checksum 16:42:16 a7acece74701: Download complete 16:42:17 53926ce57604: Download complete 16:42:17 96b7cbca73a9: Verifying Checksum 16:42:17 96b7cbca73a9: Download complete 16:42:21 53926ce57604: Pull complete 16:42:21 21b2b0c7a3f4: Pull complete 16:42:21 22ff95d597cd: Pull complete 16:42:21 12d6caf4c0d1: Pull complete 16:42:24 96b7cbca73a9: Pull complete 16:42:24 a7acece74701: Pull complete 16:42:24 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:42:24 ---> db6d94c90886 16:42:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:42:26 ---> Running in 673d9cb317fa 16:42:26 Removing intermediate container 673d9cb317fa 16:42:26 ---> 0a0fbf7920d7 16:42:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:42:26 ---> Running in f2410c6ec21f 16:42:27 Removing intermediate container f2410c6ec21f 16:42:27 ---> 63b73ac33fd0 16:42:27 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:42:27 ---> Running in 15fa7a785ad2 16:42:27 Removing intermediate container 15fa7a785ad2 16:42:27 ---> 33caa242b307 16:42:27 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:42:27 ---> Running in 2407425e34f8 16:42:27 Removing intermediate container 2407425e34f8 16:42:27 ---> c36c14daeb96 16:42:27 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:42:27 ---> Running in 04727349a530 16:42:27 Removing intermediate container 04727349a530 16:42:27 ---> d1a58fd1616f 16:42:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:42:27 ---> Running in a8b0ddb374dd 16:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:42:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:42:28 OK: 211 MiB in 51 packages 16:42:28 Removing intermediate container a8b0ddb374dd 16:42:28 ---> a43e4f3ec04a 16:42:28 Step 9/13 : WORKDIR /device-onvif-camera 16:42:28 ---> Running in 4481259cea84 16:42:28 Removing intermediate container 4481259cea84 16:42:28 ---> 3cab40e1ed43 16:42:28 Step 10/13 : COPY go.mod vendor* ./ 16:42:29 ---> ee61516fad0a 16:42:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:42:29 ---> Running in e7bcdd8ce157 16:42:29 Still waiting to schedule task 16:42:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121218’ 16:42:47 Removing intermediate container e7bcdd8ce157 16:42:47 ---> 5ac70e344691 16:42:47 Step 12/13 : COPY . . 16:42:47 ---> 09282362ce9f 16:42:47 Step 13/13 : RUN ${MAKE} 16:42:47 ---> Running in 1796a4acdb9b 16:42:48 noop 16:42:48 Removing intermediate container 1796a4acdb9b 16:42:48 ---> eee7c2af782d 16:42:48 Successfully built eee7c2af782d 16:42:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:48 + docker inspect -f . ci-base-image-x86_64 16:42:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:48 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:42:48 $ 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:42:49 $ docker top 6ad832b1666f15537c22240062bd1b4408061ccf0e678fb697383bf066dbe24d -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:49 + go version 16:42:49 go version go1.18.7 linux/amd64 [Pipeline] } 16:42:49 $ docker stop --time=1 6ad832b1666f15537c22240062bd1b4408061ccf0e678fb697383bf066dbe24d 16:42:51 $ docker rm -f 6ad832b1666f15537c22240062bd1b4408061ccf0e678fb697383bf066dbe24d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:51 + docker inspect -f . ci-base-image-x86_64 16:42:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:42:51 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:42:51 $ 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:42:51 $ docker top 2395ceee106103d900013bf6a767f520890767979d00e9fd7d58c3b1f0b77490 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:52 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:42:52 + make test 16:42:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:42:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:43:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:43:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.047s coverage: 29.3% of statements 16:43:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:43:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.689s coverage: 86.5% of statements 16:43:15 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:43:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:43:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:43:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:43:19 ./bin/test-attribution-txt.sh [Pipeline] echo 16:43:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:43:19 $ docker stop --time=1 2395ceee106103d900013bf6a767f520890767979d00e9fd7d58c3b1f0b77490 16:43:21 $ docker rm -f 2395ceee106103d900013bf6a767f520890767979d00e9fd7d58c3b1f0b77490 [Pipeline] // withDockerContainer [Pipeline] sh 16:43:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:43:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:43:22 + ls -al . 16:43:22 total 248 16:43:22 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 16:42 . 16:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:41 .. 16:43:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:43 .git 16:43:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:41 .github 16:43:22 -rw-rw-r-- 1 jenkins jenkins 496 Dec 14 16:41 .gitignore 16:43:22 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 16:41 .golangci.yml 16:43:22 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:42 .semver 16:43:22 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 14 16:41 Attribution.txt 16:43:22 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 14 16:41 CHANGELOG.md 16:43:22 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 14 16:41 Dockerfile 16:43:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:41 GOVERNANCE.md 16:43:22 -rw-rw-r-- 1 jenkins jenkins 734 Dec 14 16:41 Jenkinsfile 16:43:22 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 14 16:41 LICENSE 16:43:22 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 14 16:41 Makefile 16:43:22 -rw-rw-r-- 1 jenkins jenkins 625 Dec 14 16:41 OWNERS.md 16:43:22 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 14 16:41 README.md 16:43:22 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:42 VERSION 16:43:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:41 bin 16:43:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:41 cmd 16:43:22 -rw-r--r-- 1 jenkins jenkins 79184 Dec 14 16:43 coverage.out 16:43:22 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 16:41 doc 16:43:22 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 14 16:41 go.mod 16:43:22 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 14 16:41 go.sum 16:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:41 internal 16:43:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:41 snap 16:43:22 -rw-rw-r-- 1 jenkins jenkins 236 Dec 14 16:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:23 + 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=4eac92da5dfc23f9865ece6d9684c74467a8de72 --label arch=amd64 --label version=3.0.0-dev.1 . 16:43:23 Sending build context to Docker daemon 27.72MB 16:43:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:43:23 Step 2/26 : FROM ${BASE} AS builder 16:43:23 ---> eee7c2af782d 16:43:23 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:43:23 ---> Running in 9e2456b8b216 16:43:23 Removing intermediate container 9e2456b8b216 16:43:23 ---> c965dc6b5897 16:43:23 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:43:23 ---> Running in fed0d708b948 16:43:23 Removing intermediate container fed0d708b948 16:43:23 ---> 94da8cad4273 16:43:23 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:43:23 ---> Running in 14751f939847 16:43:23 Removing intermediate container 14751f939847 16:43:23 ---> 83ed90fb4e97 16:43:23 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:43:23 ---> Running in fe11cc70ca34 16:43:23 Removing intermediate container fe11cc70ca34 16:43:23 ---> 407ddb019cda 16:43:23 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:43:23 ---> Running in df0b88ccf67c 16:43:23 Removing intermediate container df0b88ccf67c 16:43:23 ---> bea3c8c92191 16:43:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:43:23 ---> Running in b66d752f0b45 16:43:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:43:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:43:24 OK: 211 MiB in 51 packages 16:43:25 Removing intermediate container b66d752f0b45 16:43:25 ---> fed2eedd35e2 16:43:25 Step 9/26 : WORKDIR /device-onvif-camera 16:43:25 ---> Running in 5976e5d2aedd 16:43:25 Removing intermediate container 5976e5d2aedd 16:43:25 ---> 2bab33a51c48 16:43:25 Step 10/26 : COPY go.mod vendor* ./ 16:43:25 ---> e85efe2824a5 16:43:25 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:43:25 ---> Running in b93844e9b2b4 16:43:26 Removing intermediate container b93844e9b2b4 16:43:26 ---> db6617d9e129 16:43:26 Step 12/26 : COPY . . 16:43:27 ---> 5c4673b75d4d 16:43:27 Step 13/26 : RUN ${MAKE} 16:43:27 ---> Running in 6b4ad85651f1 16:43:27 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:43:49 Removing intermediate container 6b4ad85651f1 16:43:49 ---> 4d6ffa8ac81d 16:43:49 Step 14/26 : FROM alpine:3.16 16:43:49 3.16: Pulling from library/alpine 16:43:49 ca7dd9ec2225: Pulling fs layer 16:43:50 ca7dd9ec2225: Verifying Checksum 16:43:50 ca7dd9ec2225: Download complete 16:43:50 ca7dd9ec2225: Pull complete 16:43:50 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:43:50 Status: Downloaded newer image for alpine:3.16 16:43:50 ---> bfe296a52501 16:43:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:43:50 ---> Running in 8804ed87f076 16:43:50 Removing intermediate container 8804ed87f076 16:43:50 ---> ad7f56f88caa 16:43:50 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:43:50 ---> Running in b98a2d8d662c 16:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:43:51 (1/6) Installing dumb-init (1.2.5-r1) 16:43:51 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:43:51 (3/6) Installing libsodium (1.0.18-r0) 16:43:51 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:43:51 (5/6) Installing libzmq (4.3.4-r0) 16:43:51 (6/6) Installing zeromq (4.3.4-r0) 16:43:51 Executing busybox-1.35.0-r17.trigger 16:43:51 OK: 8 MiB in 20 packages 16:43:51 Removing intermediate container b98a2d8d662c 16:43:51 ---> 7acbcd84238c 16:43:51 Step 17/26 : WORKDIR / 16:43:51 ---> Running in 2a62ab5b3c5a 16:43:51 Removing intermediate container 2a62ab5b3c5a 16:43:51 ---> e51f3d49e17c 16:43:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:43:52 ---> 4f12d1c11864 16:43:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:43:52 ---> 4af04debc213 16:43:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:43:52 ---> 3e19535ab6d3 16:43:52 Step 21/26 : EXPOSE 59984 16:43:52 ---> Running in d500d0a52a9d 16:43:52 Removing intermediate container d500d0a52a9d 16:43:52 ---> 721420b35915 16:43:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:43:52 ---> Running in 18e96e52cf21 16:43:53 Removing intermediate container 18e96e52cf21 16:43:53 ---> 9a52520bdd40 16:43:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:43:53 ---> Running in 8eea527df3bf 16:43:53 Removing intermediate container 8eea527df3bf 16:43:53 ---> 38a8ca8e32bf 16:43:53 Step 24/26 : LABEL arch=amd64 16:43:53 ---> Running in 79292c581fcd 16:43:53 Removing intermediate container 79292c581fcd 16:43:53 ---> 819eb4087615 16:43:53 Step 25/26 : LABEL git_sha=4eac92da5dfc23f9865ece6d9684c74467a8de72 16:43:53 ---> Running in f34c235b73dc 16:43:53 Removing intermediate container f34c235b73dc 16:43:53 ---> 395a877c0708 16:43:53 Step 26/26 : LABEL version=3.0.0-dev.1 16:43:53 ---> Running in b6ed467d914f 16:43:53 Removing intermediate container b6ed467d914f 16:43:53 ---> 8c08b9d37657 16:43:53 [Warning] One or more build-args [ARCH] were not consumed 16:43:53 Successfully built 8c08b9d37657 16:43:53 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:43:53 provisioning config files... 16:43:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2205451529154071835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:54 ---> docker-login.sh 16:43:54 nexus3.edgexfoundry.org:10001 16:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:54 Configure a credential helper to remove this warning. See 16:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:54 16:43:54 Login Succeeded 16:43:54 nexus3.edgexfoundry.org:10002 16:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:54 Configure a credential helper to remove this warning. See 16:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:54 16:43:54 Login Succeeded 16:43:54 nexus3.edgexfoundry.org:10003 16:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:54 Configure a credential helper to remove this warning. See 16:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:54 16:43:54 Login Succeeded 16:43:54 nexus3.edgexfoundry.org:10004 16:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:54 Configure a credential helper to remove this warning. See 16:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:54 16:43:54 Login Succeeded 16:43:54 docker.io 16:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:43:54 Configure a credential helper to remove this warning. See 16:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:43:54 16:43:54 Login Succeeded 16:43:54 ---> docker-login.sh ends [Pipeline] } 16:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:43:54 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:43:54 4eac92da5dfc23f9865ece6d9684c74467a8de72 16:43:54 latest 16:43:54 3.0.0-dev.1 16:43:54 4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:43:54 main 16:43:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72 16:43:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:43:55 b4198409415a: Preparing 16:43:55 7de5899962f0: Preparing 16:43:55 6e826307711d: Preparing 16:43:55 40829c1e5e3c: Preparing 16:43:55 e5e13b0c77cb: Preparing 16:43:55 e5e13b0c77cb: Layer already exists 16:43:55 7de5899962f0: Pushed 16:43:55 b4198409415a: Pushed 16:43:55 40829c1e5e3c: Pushed 16:43:58 6e826307711d: Pushed 16:43:58 4eac92da5dfc23f9865ece6d9684c74467a8de72: digest: sha256:85a3db790d737e6e2cee171f8469e88d6e5de58df56e7d79d6401a90ab52ef14 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:43:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:43:59 b4198409415a: Preparing 16:43:59 7de5899962f0: Preparing 16:43:59 6e826307711d: Preparing 16:43:59 40829c1e5e3c: Preparing 16:43:59 e5e13b0c77cb: Preparing 16:43:59 40829c1e5e3c: Layer already exists 16:43:59 6e826307711d: Layer already exists 16:43:59 e5e13b0c77cb: Layer already exists 16:43:59 b4198409415a: Layer already exists 16:43:59 7de5899962f0: Layer already exists 16:43:59 latest: digest: sha256:85a3db790d737e6e2cee171f8469e88d6e5de58df56e7d79d6401a90ab52ef14 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.1 16:44:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:44:00 b4198409415a: Preparing 16:44:00 7de5899962f0: Preparing 16:44:00 6e826307711d: Preparing 16:44:00 40829c1e5e3c: Preparing 16:44:00 e5e13b0c77cb: Preparing 16:44:00 b4198409415a: Layer already exists 16:44:00 7de5899962f0: Layer already exists 16:44:00 e5e13b0c77cb: Layer already exists 16:44:00 40829c1e5e3c: Layer already exists 16:44:00 6e826307711d: Layer already exists 16:44:00 3.0.0-dev.1: digest: sha256:85a3db790d737e6e2cee171f8469e88d6e5de58df56e7d79d6401a90ab52ef14 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:44:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:44:00 b4198409415a: Preparing 16:44:00 7de5899962f0: Preparing 16:44:00 6e826307711d: Preparing 16:44:00 40829c1e5e3c: Preparing 16:44:00 e5e13b0c77cb: Preparing 16:44:00 40829c1e5e3c: Layer already exists 16:44:00 6e826307711d: Layer already exists 16:44:00 7de5899962f0: Layer already exists 16:44:00 e5e13b0c77cb: Layer already exists 16:44:00 b4198409415a: Layer already exists 16:44:00 4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1: digest: sha256:85a3db790d737e6e2cee171f8469e88d6e5de58df56e7d79d6401a90ab52ef14 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:44:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:44:01 b4198409415a: Preparing 16:44:01 7de5899962f0: Preparing 16:44:01 6e826307711d: Preparing 16:44:01 40829c1e5e3c: Preparing 16:44:01 e5e13b0c77cb: Preparing 16:44:01 7de5899962f0: Layer already exists 16:44:01 6e826307711d: Layer already exists 16:44:01 40829c1e5e3c: Layer already exists 16:44:01 b4198409415a: Layer already exists 16:44:01 e5e13b0c77cb: Layer already exists 16:44:01 main: digest: sha256:85a3db790d737e6e2cee171f8469e88d6e5de58df56e7d79d6401a90ab52ef14 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:44:01 ===================================================== [Pipeline] echo 16:44:01 taggedImages: 16:44:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72 16:44:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:44:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.1 16:44:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:44:01 - 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:44:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:44:01 16:44:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:44:02 latest: Pulling from edgex-lftools-log-publisher 16:44:02 5eb5b503b376: Pulling fs layer 16:44:02 5c69ac0246d0: Pulling fs layer 16:44:02 ec43610c2a17: Pulling fs layer 16:44:02 3a2ae6a8a46f: Pulling fs layer 16:44:02 33b1e0a273af: Pulling fs layer 16:44:02 5d3b04190fa2: Pulling fs layer 16:44:02 2f39f015ded8: Pulling fs layer 16:44:02 33b1e0a273af: Waiting 16:44:02 2f39f015ded8: Waiting 16:44:02 5d3b04190fa2: Waiting 16:44:02 3a2ae6a8a46f: Waiting 16:44:02 5c69ac0246d0: Download complete 16:44:02 3a2ae6a8a46f: Download complete 16:44:02 33b1e0a273af: Verifying Checksum 16:44:02 33b1e0a273af: Download complete 16:44:02 5d3b04190fa2: Download complete 16:44:02 ec43610c2a17: Verifying Checksum 16:44:02 ec43610c2a17: Download complete 16:44:02 5eb5b503b376: Verifying Checksum 16:44:02 5eb5b503b376: Download complete 16:44:02 2f39f015ded8: Verifying Checksum 16:44:02 2f39f015ded8: Download complete 16:44:03 5eb5b503b376: Pull complete 16:44:03 5c69ac0246d0: Pull complete 16:44:04 ec43610c2a17: Pull complete 16:44:04 3a2ae6a8a46f: Pull complete 16:44:04 33b1e0a273af: Pull complete 16:44:04 5d3b04190fa2: Pull complete 16:44:09 2f39f015ded8: Pull complete 16:44:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:44:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:09 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:44:10 $ 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:44:11 $ docker top 5187d112882d0ddee40b878fbebce61857d92f7196940bc571be3bb20edccda1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:12 ---> job-cost.sh 16:44:12 lf-activate-venv: SKIPPING 16:44:12 INFO: No Stack... 16:44:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:44:12 INFO: Archiving Costs [Pipeline] sh 16:44:13 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:44:13 + cut -d, -f6 [Pipeline] lock 16:44:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] 16:44:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] did not exist. Created. 16:44:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:44:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:44:13 Stashed 1 file(s) [Pipeline] } 16:44:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 16:44:13 $ docker stop --time=1 5187d112882d0ddee40b878fbebce61857d92f7196940bc571be3bb20edccda1 16:44:14 $ docker rm -f 5187d112882d0ddee40b878fbebce61857d92f7196940bc571be3bb20edccda1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:45:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121223 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:45:12 Running in /w/workspace/device-onvif-camera/90 [Pipeline] { [Pipeline] checkout 16:45:13 The recommended git tool is: git 16:45:18 using credential edgex-jenkins-ssh 16:45:18 Cloning the remote Git repository 16:45:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:45:19 > git init /w/workspace/device-onvif-camera/90 # timeout=10 16:45:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:45:19 > git --version # timeout=10 16:45:19 > git --version # 'git version 2.25.1' 16:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:45:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:45:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:45:22 Avoid second fetch 16:45:22 Checking out Revision 4eac92da5dfc23f9865ece6d9684c74467a8de72 (main) 16:45:23 Commit message: "refactor!: use latest SDK for flattened config stem (#199)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:22 > git config core.sparsecheckout # timeout=10 16:45:22 > git checkout -f 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 16:45:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:45:24 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:24 Dload Upload Total Spent Left Speed 16:45:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 16:45:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:45:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:45:25 + sudo tee /etc/docker/daemon.new 16:45:25 { 16:45:25 "registry-mirrors": [ 16:45:25 "https://nexus3.edgexfoundry.org:10001" 16:45:25 ], 16:45:25 "bip": "10.250.0.254/24", 16:45:25 "hosts": [ 16:45:25 "tcp://0.0.0.0:5555", 16:45:25 "unix:///var/run/docker.sock" 16:45:25 ], 16:45:25 "mtu": 1458, 16:45:25 "selinux-enabled": true, 16:45:25 "seccomp-profile": "/etc/docker/seccomp.json" 16:45:25 } [Pipeline] sh 16:45:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:45:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:44 provisioning config files... 16:45:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/90@tmp/config8971915201867546614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:44 ---> docker-login.sh 16:45:44 nexus3.edgexfoundry.org:10001 16:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:45 Configure a credential helper to remove this warning. See 16:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:45 16:45:45 Login Succeeded 16:45:45 nexus3.edgexfoundry.org:10002 16:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:45 Configure a credential helper to remove this warning. See 16:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:45 16:45:45 Login Succeeded 16:45:45 nexus3.edgexfoundry.org:10003 16:45:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:45 Configure a credential helper to remove this warning. See 16:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:45 16:45:45 Login Succeeded 16:45:45 nexus3.edgexfoundry.org:10004 16:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:46 Configure a credential helper to remove this warning. See 16:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:46 16:45:46 Login Succeeded 16:45:46 docker.io 16:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:46 Configure a credential helper to remove this warning. See 16:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:46 16:45:46 Login Succeeded 16:45:46 ---> docker-login.sh ends [Pipeline] } 16:45:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:47 ========================================================= 16:45:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:45:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:45:48 Sending build context to Docker daemon 20.51MB 16:45:48 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:45:48 Step 2/13 : FROM ${BASE} AS builder 16:45:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:45:48 9b18e9b68314: Pulling fs layer 16:45:48 35d82f9e3411: Pulling fs layer 16:45:48 e16973657156: Pulling fs layer 16:45:48 fc693d55d65f: Pulling fs layer 16:45:48 7e9fc2657dce: Pulling fs layer 16:45:48 dda99020689f: Pulling fs layer 16:45:48 db1c61fa0a46: Pulling fs layer 16:45:48 891c053d2c06: Pulling fs layer 16:45:48 fc693d55d65f: Waiting 16:45:48 7e9fc2657dce: Waiting 16:45:48 dda99020689f: Waiting 16:45:48 db1c61fa0a46: Waiting 16:45:48 891c053d2c06: Waiting 16:45:48 e16973657156: Verifying Checksum 16:45:48 e16973657156: Download complete 16:45:48 35d82f9e3411: Verifying Checksum 16:45:48 35d82f9e3411: Download complete 16:45:48 7e9fc2657dce: Download complete 16:45:48 dda99020689f: Verifying Checksum 16:45:48 dda99020689f: Download complete 16:45:48 9b18e9b68314: Verifying Checksum 16:45:48 9b18e9b68314: Download complete 16:45:49 9b18e9b68314: Pull complete 16:45:49 891c053d2c06: Verifying Checksum 16:45:49 891c053d2c06: Download complete 16:45:50 35d82f9e3411: Pull complete 16:45:50 e16973657156: Pull complete 16:45:50 db1c61fa0a46: Download complete 16:45:51 fc693d55d65f: Verifying Checksum 16:45:51 fc693d55d65f: Download complete 16:46:03 fc693d55d65f: Pull complete 16:46:03 7e9fc2657dce: Pull complete 16:46:03 dda99020689f: Pull complete 16:46:10 db1c61fa0a46: Pull complete 16:46:12 891c053d2c06: Pull complete 16:46:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:46:12 ---> f96f9c87975a 16:46:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:46:15 ---> Running in 33f9e8cb1d4c 16:46:15 Removing intermediate container 33f9e8cb1d4c 16:46:15 ---> 2413bb62c545 16:46:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:46:15 ---> Running in 39cdab68094d 16:46:15 Removing intermediate container 39cdab68094d 16:46:15 ---> 713278439c00 16:46:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:46:15 ---> Running in 225b00be65f1 16:46:15 Removing intermediate container 225b00be65f1 16:46:15 ---> e8ef5227a7c6 16:46:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:46:15 ---> Running in 8715544fee0d 16:46:16 Removing intermediate container 8715544fee0d 16:46:16 ---> 3994eeafe981 16:46:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:46:16 ---> Running in 793271c1cdf7 16:46:16 Removing intermediate container 793271c1cdf7 16:46:16 ---> 2167ad6e7e79 16:46:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:46:16 ---> Running in de1ffcba1fe2 16:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:46:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:46:19 OK: 221 MiB in 51 packages 16:46:20 Removing intermediate container de1ffcba1fe2 16:46:20 ---> 99d6e7f9e7f3 16:46:20 Step 9/13 : WORKDIR /device-onvif-camera 16:46:20 ---> Running in 6f71b148ca3d 16:46:20 Removing intermediate container 6f71b148ca3d 16:46:20 ---> 7cdb1131baf4 16:46:20 Step 10/13 : COPY go.mod vendor* ./ 16:46:21 ---> 63aac27f79f6 16:46:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:21 ---> Running in 4959142d2877 16:47:17 Removing intermediate container 4959142d2877 16:47:17 ---> 2d3c27f975dc 16:47:17 Step 12/13 : COPY . . 16:47:17 ---> f8efa1c7fbea 16:47:17 Step 13/13 : RUN ${MAKE} 16:47:17 ---> Running in c09c9a33c11f 16:47:17 noop 16:47:18 Removing intermediate container c09c9a33c11f 16:47:18 ---> bc9cb5f6dc75 16:47:18 Successfully built bc9cb5f6dc75 16:47:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:19 + docker inspect -f . ci-base-image-arm64 16:47:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:19 prd-ubuntu20.04-docker-arm64-4c-16g-121223 does not seem to be running inside a container 16:47:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/90 -v /w/workspace/device-onvif-camera/90:/w/workspace/device-onvif-camera/90:rw,z -v /w/workspace/device-onvif-camera/90@tmp:/w/workspace/device-onvif-camera/90@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:47:20 $ docker top 2f88ca81c38bc49ce03bba5fa25f137f38429010e70c4614e5ba26a97cd522f0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:21 + go version 16:47:21 go version go1.18.7 linux/arm64 [Pipeline] } 16:47:21 $ docker stop --time=1 2f88ca81c38bc49ce03bba5fa25f137f38429010e70c4614e5ba26a97cd522f0 16:47:23 $ docker rm -f 2f88ca81c38bc49ce03bba5fa25f137f38429010e70c4614e5ba26a97cd522f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:23 + docker inspect -f . ci-base-image-arm64 16:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:24 prd-ubuntu20.04-docker-arm64-4c-16g-121223 does not seem to be running inside a container 16:47:24 $ 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/90 -v /w/workspace/device-onvif-camera/90:/w/workspace/device-onvif-camera/90:rw,z -v /w/workspace/device-onvif-camera/90@tmp:/w/workspace/device-onvif-camera/90@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:47:25 $ docker top 6cd44ea072c05b8c73f64ed76073e85401196034e6de420ebf9eeb59e6c13437 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:26 + git config --global --add safe.directory /w/workspace/device-onvif-camera/90 [Pipeline] fileExists [Pipeline] sh 16:47:26 + make test 16:47:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:47:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:49:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:49:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 29.3% of statements 16:49:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:49:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.463s coverage: 86.5% of statements 16:49:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:49:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:50:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:01 ./bin/test-attribution-txt.sh [Pipeline] echo 16:50:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:50:01 $ docker stop --time=1 6cd44ea072c05b8c73f64ed76073e85401196034e6de420ebf9eeb59e6c13437 16:50:03 $ docker rm -f 6cd44ea072c05b8c73f64ed76073e85401196034e6de420ebf9eeb59e6c13437 [Pipeline] // withDockerContainer [Pipeline] sh 16:50:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:04 Warning: overwriting stash ‘coverage-report’ 16:50:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:06 + ls -al . 16:50:06 total 244 16:50:06 drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 16:47 . 16:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:45 .. 16:50:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 16:45 .git 16:50:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:45 .github 16:50:06 -rw-rw-r-- 1 jenkins jenkins 496 Dec 14 16:45 .gitignore 16:50:06 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 16:45 .golangci.yml 16:50:06 -rw-rw-r-- 1 jenkins jenkins 9742 Dec 14 16:45 Attribution.txt 16:50:06 -rw-rw-r-- 1 jenkins jenkins 6312 Dec 14 16:45 CHANGELOG.md 16:50:06 -rw-rw-r-- 1 jenkins jenkins 1637 Dec 14 16:45 Dockerfile 16:50:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 16:45 GOVERNANCE.md 16:50:06 -rw-rw-r-- 1 jenkins jenkins 734 Dec 14 16:45 Jenkinsfile 16:50:06 -rw-rw-r-- 1 jenkins jenkins 11348 Dec 14 16:45 LICENSE 16:50:06 -rw-rw-r-- 1 jenkins jenkins 2858 Dec 14 16:45 Makefile 16:50:06 -rw-rw-r-- 1 jenkins jenkins 625 Dec 14 16:45 OWNERS.md 16:50:06 -rw-rw-r-- 1 jenkins jenkins 6595 Dec 14 16:45 README.md 16:50:06 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 16:42 VERSION 16:50:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 16:45 bin 16:50:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 16:45 cmd 16:50:06 -rw-r--r-- 1 jenkins jenkins 79184 Dec 14 16:49 coverage.out 16:50:06 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 16:45 doc 16:50:06 -rw-rw-r-- 1 jenkins jenkins 3688 Dec 14 16:45 go.mod 16:50:06 -rw-rw-r-- 1 jenkins jenkins 46249 Dec 14 16:45 go.sum 16:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:45 internal 16:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 16:45 snap 16:50:06 -rw-rw-r-- 1 jenkins jenkins 236 Dec 14 16:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:06 + 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=4eac92da5dfc23f9865ece6d9684c74467a8de72 --label arch=arm64 --label version=3.0.0-dev.1 . 16:50:07 Sending build context to Docker daemon 20.59MB 16:50:07 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:50:07 Step 2/26 : FROM ${BASE} AS builder 16:50:07 ---> bc9cb5f6dc75 16:50:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:50:07 ---> Running in cd4854c1edd3 16:50:07 Removing intermediate container cd4854c1edd3 16:50:07 ---> 316171d20f15 16:50:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:50:08 ---> Running in fbb53c20b624 16:50:08 Removing intermediate container fbb53c20b624 16:50:08 ---> 75799f0e00d4 16:50:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:50:08 ---> Running in d481a431cc83 16:50:08 Removing intermediate container d481a431cc83 16:50:08 ---> ad8c13f1c5b9 16:50:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:50:08 ---> Running in 0557d65adc87 16:50:09 Removing intermediate container 0557d65adc87 16:50:09 ---> 918122272f24 16:50:09 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:50:09 ---> Running in ddfce0be2806 16:50:09 Removing intermediate container ddfce0be2806 16:50:09 ---> 6124338dd791 16:50:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:50:09 ---> Running in 4555e94f3fab 16:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:50:12 OK: 221 MiB in 51 packages 16:50:13 Removing intermediate container 4555e94f3fab 16:50:13 ---> 8fbc7fa85a4f 16:50:13 Step 9/26 : WORKDIR /device-onvif-camera 16:50:13 ---> Running in d518e6043857 16:50:13 Removing intermediate container d518e6043857 16:50:13 ---> 67ceb6f10e5b 16:50:13 Step 10/26 : COPY go.mod vendor* ./ 16:50:14 ---> 0bf08c54fbb7 16:50:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:14 ---> Running in 321c05e6ce09 16:50:17 Removing intermediate container 321c05e6ce09 16:50:17 ---> 6a1f442984c7 16:50:17 Step 12/26 : COPY . . 16:50:19 ---> 684abe1b3bcb 16:50:19 Step 13/26 : RUN ${MAKE} 16:50:19 ---> Running in ac285b6ad50d 16:50:20 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:52:56 Removing intermediate container ac285b6ad50d 16:52:56 ---> d5a5d55ed5e2 16:52:56 Step 14/26 : FROM alpine:3.16 16:52:56 3.16: Pulling from library/alpine 16:52:56 6875df1f5354: Pulling fs layer 16:52:56 6875df1f5354: Verifying Checksum 16:52:56 6875df1f5354: Download complete 16:52:56 6875df1f5354: Pull complete 16:52:56 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:52:56 Status: Downloaded newer image for alpine:3.16 16:52:56 ---> 2b4661558fb8 16:52:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:52:56 ---> Running in ebfc02a8a80a 16:52:56 Removing intermediate container ebfc02a8a80a 16:52:56 ---> 548c89c093ba 16:52:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:52:56 ---> Running in 38f1b6e62693 16:52:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:52:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:52:56 (1/6) Installing dumb-init (1.2.5-r1) 16:52:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:52:56 (3/6) Installing libsodium (1.0.18-r0) 16:52:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:52:56 (5/6) Installing libzmq (4.3.4-r0) 16:52:56 (6/6) Installing zeromq (4.3.4-r0) 16:52:56 Executing busybox-1.35.0-r17.trigger 16:52:56 OK: 8 MiB in 20 packages 16:52:56 Removing intermediate container 38f1b6e62693 16:52:56 ---> 4d8cfe68a88f 16:52:56 Step 17/26 : WORKDIR / 16:52:56 ---> Running in 8adf9edf58a0 16:52:56 Removing intermediate container 8adf9edf58a0 16:52:56 ---> 956773486137 16:52:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:52:56 ---> 4279b1f1a3f3 16:52:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:52:56 ---> b29a416b5b33 16:52:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:52:56 ---> a43e35c006ae 16:52:56 Step 21/26 : EXPOSE 59984 16:52:56 ---> Running in 0cd758156038 16:52:56 Removing intermediate container 0cd758156038 16:52:56 ---> bf22c4371177 16:52:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:52:56 ---> Running in d186aa50aa81 16:52:56 Removing intermediate container d186aa50aa81 16:52:56 ---> 6ee5b29e0e00 16:52:56 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:52:56 ---> Running in 529dfb838e0f 16:52:56 Removing intermediate container 529dfb838e0f 16:52:56 ---> 26238a0a0800 16:52:56 Step 24/26 : LABEL arch=arm64 16:52:56 ---> Running in e670344bc3d2 16:52:56 Removing intermediate container e670344bc3d2 16:52:56 ---> e2af8ebbc7e5 16:52:56 Step 25/26 : LABEL git_sha=4eac92da5dfc23f9865ece6d9684c74467a8de72 16:52:56 ---> Running in beb4c05169b1 16:52:56 Removing intermediate container beb4c05169b1 16:52:56 ---> 889366c6103f 16:52:56 Step 26/26 : LABEL version=3.0.0-dev.1 16:52:56 ---> Running in 88f582302994 16:52:57 Removing intermediate container 88f582302994 16:52:57 ---> aab353886c90 16:52:57 [Warning] One or more build-args [ARCH] were not consumed 16:52:57 Successfully built aab353886c90 16:52:57 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:52:57 provisioning config files... 16:52:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/90@tmp/config4062116218959609470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:57 ---> docker-login.sh 16:52:57 nexus3.edgexfoundry.org:10001 16:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:57 Configure a credential helper to remove this warning. See 16:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:57 16:52:57 Login Succeeded 16:52:57 nexus3.edgexfoundry.org:10002 16:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:58 Configure a credential helper to remove this warning. See 16:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:58 16:52:58 Login Succeeded 16:52:58 nexus3.edgexfoundry.org:10003 16:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:58 Configure a credential helper to remove this warning. See 16:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:58 16:52:58 Login Succeeded 16:52:58 nexus3.edgexfoundry.org:10004 16:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:58 Configure a credential helper to remove this warning. See 16:52:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:58 16:52:58 Login Succeeded 16:52:58 docker.io 16:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:59 Configure a credential helper to remove this warning. See 16:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:59 16:52:59 Login Succeeded 16:52:59 ---> docker-login.sh ends [Pipeline] } 16:52:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:52:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:59 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:52:59 4eac92da5dfc23f9865ece6d9684c74467a8de72 16:52:59 latest 16:52:59 3.0.0-dev.1 16:52:59 4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:52:59 main 16:52:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72 16:53:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:53:00 40c37c621b66: Preparing 16:53:00 54a6545f8d15: Preparing 16:53:00 e245b9b7a390: Preparing 16:53:00 1e7b119c7ab1: Preparing 16:53:00 17bec77d7fdc: Preparing 16:53:00 17bec77d7fdc: Layer already exists 16:53:00 40c37c621b66: Pushed 16:53:00 54a6545f8d15: Pushed 16:53:00 1e7b119c7ab1: Pushed 16:53:06 e245b9b7a390: Pushed 16:53:06 4eac92da5dfc23f9865ece6d9684c74467a8de72: digest: sha256:8a3bc4115832098eecc3afa4480b60fa5e1fb3f46d84b2b1f99f5529c0796a87 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:06 + 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:53:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:53:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:53:07 40c37c621b66: Preparing 16:53:07 54a6545f8d15: Preparing 16:53:07 e245b9b7a390: Preparing 16:53:07 1e7b119c7ab1: Preparing 16:53:07 17bec77d7fdc: Preparing 16:53:07 e245b9b7a390: Layer already exists 16:53:07 40c37c621b66: Layer already exists 16:53:07 1e7b119c7ab1: Layer already exists 16:53:07 17bec77d7fdc: Layer already exists 16:53:07 54a6545f8d15: Layer already exists 16:53:07 latest: digest: sha256:8a3bc4115832098eecc3afa4480b60fa5e1fb3f46d84b2b1f99f5529c0796a87 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.1 16:53:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:53:07 40c37c621b66: Preparing 16:53:07 54a6545f8d15: Preparing 16:53:07 e245b9b7a390: Preparing 16:53:07 1e7b119c7ab1: Preparing 16:53:07 17bec77d7fdc: Preparing 16:53:07 40c37c621b66: Layer already exists 16:53:07 1e7b119c7ab1: Layer already exists 16:53:07 e245b9b7a390: Layer already exists 16:53:07 17bec77d7fdc: Layer already exists 16:53:07 54a6545f8d15: Layer already exists 16:53:08 3.0.0-dev.1: digest: sha256:8a3bc4115832098eecc3afa4480b60fa5e1fb3f46d84b2b1f99f5529c0796a87 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:08 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:53:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:53:08 40c37c621b66: Preparing 16:53:08 54a6545f8d15: Preparing 16:53:08 e245b9b7a390: Preparing 16:53:08 1e7b119c7ab1: Preparing 16:53:08 17bec77d7fdc: Preparing 16:53:08 17bec77d7fdc: Layer already exists 16:53:08 54a6545f8d15: Layer already exists 16:53:08 40c37c621b66: Layer already exists 16:53:08 e245b9b7a390: Layer already exists 16:53:08 1e7b119c7ab1: Layer already exists 16:53:08 4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1: digest: sha256:8a3bc4115832098eecc3afa4480b60fa5e1fb3f46d84b2b1f99f5529c0796a87 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:09 + 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:53:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:53:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:53:09 40c37c621b66: Preparing 16:53:09 54a6545f8d15: Preparing 16:53:09 e245b9b7a390: Preparing 16:53:09 1e7b119c7ab1: Preparing 16:53:09 17bec77d7fdc: Preparing 16:53:09 40c37c621b66: Layer already exists 16:53:09 1e7b119c7ab1: Layer already exists 16:53:09 e245b9b7a390: Layer already exists 16:53:09 54a6545f8d15: Layer already exists 16:53:09 17bec77d7fdc: Layer already exists 16:53:09 main: digest: sha256:8a3bc4115832098eecc3afa4480b60fa5e1fb3f46d84b2b1f99f5529c0796a87 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:53:09 ===================================================== [Pipeline] echo 16:53:09 taggedImages: 16:53:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72 16:53:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:53:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.1 16:53:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:4eac92da5dfc23f9865ece6d9684c74467a8de72-3.0.0-dev.1 16:53:09 - 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:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:10 16:53:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:10 arm64: Pulling from edgex-lftools-log-publisher 16:53:10 8998bd30e6a1: Pulling fs layer 16:53:10 04944245beec: Pulling fs layer 16:53:10 699f458cf7ca: Pulling fs layer 16:53:10 765212b225bb: Pulling fs layer 16:53:10 f23df028b6ca: Pulling fs layer 16:53:10 d65c8cfc05b1: Pulling fs layer 16:53:10 2437ff75d9bd: Pulling fs layer 16:53:10 f23df028b6ca: Waiting 16:53:10 2437ff75d9bd: Waiting 16:53:10 d65c8cfc05b1: Waiting 16:53:10 765212b225bb: Waiting 16:53:10 04944245beec: Verifying Checksum 16:53:10 04944245beec: Download complete 16:53:10 765212b225bb: Verifying Checksum 16:53:10 765212b225bb: Download complete 16:53:10 f23df028b6ca: Download complete 16:53:10 d65c8cfc05b1: Verifying Checksum 16:53:10 d65c8cfc05b1: Download complete 16:53:10 699f458cf7ca: Verifying Checksum 16:53:10 699f458cf7ca: Download complete 16:53:11 8998bd30e6a1: Verifying Checksum 16:53:11 8998bd30e6a1: Download complete 16:53:13 2437ff75d9bd: Verifying Checksum 16:53:13 2437ff75d9bd: Download complete 16:53:15 8998bd30e6a1: Pull complete 16:53:16 04944245beec: Pull complete 16:53:18 699f458cf7ca: Pull complete 16:53:18 765212b225bb: Pull complete 16:53:18 f23df028b6ca: Pull complete 16:53:19 d65c8cfc05b1: Pull complete 16:53:34 2437ff75d9bd: Pull complete 16:53:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:53:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:34 prd-ubuntu20.04-docker-arm64-4c-16g-121223 does not seem to be running inside a container 16:53:34 $ 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/90 -v /w/workspace/device-onvif-camera/90:/w/workspace/device-onvif-camera/90:rw,z -v /w/workspace/device-onvif-camera/90@tmp:/w/workspace/device-onvif-camera/90@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:53:36 $ docker top 0535e7957e295d78d98c2fb0d7065d909591e0cbfd79c4e1a832307af442f52f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:37 ---> job-cost.sh 16:53:37 lf-activate-venv: SKIPPING 16:53:37 INFO: No Stack... 16:53:37 INFO: Retrieving Pricing Info for: v3-standard-4 16:53:38 INFO: Archiving Costs [Pipeline] sh 16:53:39 + cat /w/workspace/device-onvif-camera/90/archives/cost.csv 16:53:39 + cut -d, -f6 [Pipeline] lock 16:53:39 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] 16:53:39 Resource [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] did not exist. Created. 16:53:39 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:53:40 /w/workspace/device-onvif-camera/90@tmp/durable-81ae30c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:53:40 + echo total: 0.10999999940395355 [Pipeline] stash 16:53:40 Warning: overwriting stash ‘stack-cost’ 16:53:41 Stashed 1 file(s) [Pipeline] } 16:53:41 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 16:53:41 $ docker stop --time=1 0535e7957e295d78d98c2fb0d7065d909591e0cbfd79c4e1a832307af442f52f 16:53:42 $ docker rm -f 0535e7957e295d78d98c2fb0d7065d909591e0cbfd79c4e1a832307af442f52f [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:53:42 provisioning config files... 16:53:42 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12297852828801069044tmp [Pipeline] { [Pipeline] sh 16:53:43 + set +x 16:53:43 + curl -s https://codecov.io/bash 16:53:43 + bash -s -- 16:53:43 16:53:43 _____ _ 16:53:43 / ____| | | 16:53:43 | | ___ __| | ___ ___ _____ __ 16:53:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:53:43 | |___| (_) | (_| | __/ (_| (_) \ V / 16:53:43 \_____\___/ \__,_|\___|\___\___/ \_/ 16:53:43 Bash-1.0.6 16:53:43 16:53:43 16:53:43 ==> git version 2.25.1 found 16:53:43 ==> 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:53:43 Release-Date: 2020-01-08 16:53:43 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:53:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:53:43 ==> Jenkins CI detected. 16:53:43 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:53:43 project root: . 16:53:43 --> token set from env 16:53:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:53:43 ==> Running gcov in . (disable via -X gcov) 16:53:43 ==> Python coveragepy not found 16:53:43 ==> Searching for coverage reports in: 16:53:43 + . 16:53:43 -> Found 1 reports 16:53:43 ==> Detecting git/mercurial file structure 16:53:43 ==> Reading reports 16:53:43 + ./coverage.out bytes=79184 16:53:43 ==> Appending adjustments 16:53:43 https://docs.codecov.io/docs/fixing-reports 16:53:43 + Found adjustments 16:53:43 ==> Gzipping contents 16:53:43 12K /tmp/codecov.yslw27.gz 16:53:43 ==> Uploading reports 16:53:43 url: https://codecov.io 16:53:43 query: branch=main&commit=4eac92da5dfc23f9865ece6d9684c74467a8de72&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:53:43 -> Pinging Codecov 16:53:43 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=4eac92da5dfc23f9865ece6d9684c74467a8de72&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:53:43 -> Uploading to 16:53:43 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/F29A59C45E3A92E06B3E522C9905F8EF/4eac92da5dfc23f9865ece6d9684c74467a8de72/64d22638-0cae-47c9-b608-28890b0803d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T165343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5ae86ae44e21f50fa5572135223246ff1c475e31650f129e82ecec520801549 16:53:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:53:43 Dload Upload Total Spent Left Speed 16:53:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10924 0 0 100 10924 0 47495 --:--:-- --:--:-- --:--:-- 47495 16:53:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] } 16:53:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:53:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:53:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:53:44 16:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:53:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:53:44 df9b9388f04a: Pulling fs layer 16:53:44 52dc419b0ee2: Pulling fs layer 16:53:44 25bc292e5bac: Pulling fs layer 16:53:44 114826534d7a: Pulling fs layer 16:53:44 4657fd5d0bcf: Pulling fs layer 16:53:44 6ad1cebc031e: Pulling fs layer 16:53:44 8a3aa393b2d8: Pulling fs layer 16:53:44 4657fd5d0bcf: Waiting 16:53:44 8a3aa393b2d8: Waiting 16:53:44 114826534d7a: Waiting 16:53:44 6ad1cebc031e: Waiting 16:53:44 25bc292e5bac: Verifying Checksum 16:53:44 25bc292e5bac: Download complete 16:53:44 52dc419b0ee2: Download complete 16:53:44 4657fd5d0bcf: Verifying Checksum 16:53:44 4657fd5d0bcf: Download complete 16:53:44 df9b9388f04a: Download complete 16:53:45 df9b9388f04a: Pull complete 16:53:45 6ad1cebc031e: Verifying Checksum 16:53:45 6ad1cebc031e: Download complete 16:53:45 52dc419b0ee2: Pull complete 16:53:45 25bc292e5bac: Pull complete 16:53:46 114826534d7a: Download complete 16:53:46 8a3aa393b2d8: Verifying Checksum 16:53:46 8a3aa393b2d8: Download complete 16:53:49 114826534d7a: Pull complete 16:53:49 4657fd5d0bcf: Pull complete 16:53:49 6ad1cebc031e: Pull complete 16:53:53 8a3aa393b2d8: Pull complete 16:53:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:53:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:53 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:53:53 $ 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:53:55 $ docker top 71974d67c0f2a4b2b33b1eb2fba5f28ae88690d2a46f50ac34343a2f96b24c2d -eo pid,comm [Pipeline] { [Pipeline] echo 16:53:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:53:55 + set -o pipefail 16:53:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:54:03 16:54:03 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:54:03 16:54:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0d63f38a-fa4e-447f-9571-e1347a41d959 16:54:03 16:54:03 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:54:03 16:54:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:54:03 16:54:03 16:54:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:54:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:54:03 More details here: https://snyk.co/ue1NS [Pipeline] } 16:54:03 $ docker stop --time=1 71974d67c0f2a4b2b33b1eb2fba5f28ae88690d2a46f50ac34343a2f96b24c2d 16:54:05 $ docker rm -f 71974d67c0f2a4b2b33b1eb2fba5f28ae88690d2a46f50ac34343a2f96b24c2d [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:54:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:06 provisioning config files... 16:54:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9577316056495443914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:06 --> edgex-publish-swagger.sh 16:54:06 === Publish doc/openapi/v2 API === 16:54:06 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 16:54:06 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 16:54:06 % Total % Received % Xferd Average Speed Time Time Time Current 16:54:06 Dload Upload Total Spent Left Speed 16:54:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 2086k --:--:-- --:--:-- --:--:-- 2077k 100 469k 100 38 100 469k 60 750k --:--:-- --:--:-- --:--:-- 748k 16:54:07 {"code":403,"message":"Access Denied"} 16:54:07 [Pipeline] } 16:54:07 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:54:07 + git log --format=format:%s -1 4eac92da5dfc23f9865ece6d9684c74467a8de72 [Pipeline] sh 16:54:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:08 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:54:08 $ 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:54:08 $ docker top a4728bd13f921a83a80f6723a79470b96dbe4b5172cb21b5a40577c55404af06 -eo pid,comm 16:54:08 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:54:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:08 [ssh-agent] Looking for ssh-agent implementation... 16:54:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:09 $ docker exec a4728bd13f921a83a80f6723a79470b96dbe4b5172cb21b5a40577c55404af06 ssh-agent 16:54:09 SSH_AUTH_SOCK=/tmp/ssh-651TnwbuEi9g/agent.32 16:54:09 SSH_AGENT_PID=38 16:54:09 Running ssh-add (command line suppressed) 16:54:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_486136536962674464.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_486136536962674464.key) 16:54:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:09 + git semver tag 16:54:09 2022-12-14 16:54:09,732 [run_tag] DEBUG tag force:False 16:54:09 2022-12-14 16:54:09,733 [check_head_tag] DEBUG check head tag 16:54:09 2022-12-14 16:54:09,735 [execute] INFO git cat-file --batch-check 16:54:09 2022-12-14 16:54:09,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:54:09 2022-12-14 16:54:09,739 [execute] INFO git cat-file --batch 16:54:09 2022-12-14 16:54:09,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:54:09 2022-12-14 16:54:09,764 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:09 2022-12-14 16:54:09,764 [execute] INFO git tag -a v3.0.0-dev.1 -m v3.0.0-dev.1 16:54:09 2022-12-14 16:54:09,764 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.1', '-m', 'v3.0.0-dev.1'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:54:09 2022-12-14 16:54:09,770 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:09 3.0.0-dev.1 [Pipeline] } 16:54:09 $ docker exec --env ******** --env ******** a4728bd13f921a83a80f6723a79470b96dbe4b5172cb21b5a40577c55404af06 ssh-agent -k 16:54:09 unset SSH_AUTH_SOCK; 16:54:09 unset SSH_AGENT_PID; 16:54:09 echo Agent pid 38 killed; 16:54:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:10 + git semver [Pipeline] } 16:54:10 $ docker stop --time=1 a4728bd13f921a83a80f6723a79470b96dbe4b5172cb21b5a40577c55404af06 16:54:11 $ docker rm -f a4728bd13f921a83a80f6723a79470b96dbe4b5172cb21b5a40577c55404af06 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:12 16:54:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:12 0.23.1-centos7: Pulling from edgex-lftools 16:54:12 ab5ef0e58194: Pulling fs layer 16:54:12 9712f1f96733: Pulling fs layer 16:54:12 63f879dbbcfc: Pulling fs layer 16:54:12 0d9ebad4ef96: Pulling fs layer 16:54:12 e9a5061849ea: Pulling fs layer 16:54:12 d747dcd14b5f: Pulling fs layer 16:54:12 2de7ff778b66: Pulling fs layer 16:54:12 e9a5061849ea: Waiting 16:54:12 0d9ebad4ef96: Waiting 16:54:12 2de7ff778b66: Waiting 16:54:12 9712f1f96733: Verifying Checksum 16:54:12 9712f1f96733: Download complete 16:54:12 63f879dbbcfc: Verifying Checksum 16:54:12 63f879dbbcfc: Download complete 16:54:13 e9a5061849ea: Verifying Checksum 16:54:13 e9a5061849ea: Download complete 16:54:13 ab5ef0e58194: Download complete 16:54:13 d747dcd14b5f: Verifying Checksum 16:54:13 d747dcd14b5f: Download complete 16:54:13 0d9ebad4ef96: Verifying Checksum 16:54:13 0d9ebad4ef96: Download complete 16:54:13 2de7ff778b66: Verifying Checksum 16:54:13 2de7ff778b66: Download complete 16:54:16 ab5ef0e58194: Pull complete 16:54:16 9712f1f96733: Pull complete 16:54:16 63f879dbbcfc: Pull complete 16:54:21 0d9ebad4ef96: Pull complete 16:54:21 e9a5061849ea: Pull complete 16:54:21 d747dcd14b5f: Pull complete 16:54:22 2de7ff778b66: Pull complete 16:54:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:54:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:22 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:54:22 $ 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:54:24 $ docker top 61d22d8d836de29ebef3522a8a0e04d9c10437143f979479f837235f5b9b6824 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:54:24 provisioning config files... 16:54:24 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10609509559310360359tmp 16:54:24 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1467968562270854379tmp 16:54:24 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7854807351421602544tmp [Pipeline] { [Pipeline] echo 16:54:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:54:25 ---> sigul-configuration.sh 16:54:25 gpg: directory `/root/.gnupg' created 16:54:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:54:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:54:25 gpg: keyring `/root/.gnupg/secring.gpg' created 16:54:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:54:25 gpg: CAST5 encrypted data 16:54:25 gpg: encrypted with 1 passphrase 16:54:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:54:25 + mkdir /home/jenkins 16:54:25 + mkdir /home/jenkins/sigul [Pipeline] sh 16:54:25 + 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:54:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:54:26 ---> sigul-install.sh 16:54:26 Sigul already installed; skipping installation. [Pipeline] sh 16:54:26 + git tag --list 16:54:26 v0.0.0 16:54:26 v0.0.1-dev.1 16:54:26 v0.0.1-dev.10 16:54:26 v0.0.1-dev.11 16:54:26 v0.0.1-dev.12 16:54:26 v0.0.1-dev.13 16:54:26 v0.0.1-dev.14 16:54:26 v0.0.1-dev.15 16:54:26 v0.0.1-dev.16 16:54:26 v0.0.1-dev.17 16:54:26 v0.0.1-dev.18 16:54:26 v0.0.1-dev.19 16:54:26 v0.0.1-dev.2 16:54:26 v0.0.1-dev.20 16:54:26 v0.0.1-dev.21 16:54:26 v0.0.1-dev.22 16:54:26 v0.0.1-dev.23 16:54:26 v0.0.1-dev.24 16:54:26 v0.0.1-dev.25 16:54:26 v0.0.1-dev.26 16:54:26 v0.0.1-dev.27 16:54:26 v0.0.1-dev.28 16:54:26 v0.0.1-dev.3 16:54:26 v0.0.1-dev.4 16:54:26 v0.0.1-dev.5 16:54:26 v0.0.1-dev.6 16:54:26 v0.0.1-dev.7 16:54:26 v0.0.1-dev.8 16:54:26 v0.0.1-dev.9 16:54:26 v2.2.0 16:54:26 v2.2.0-dev.29 16:54:26 v2.2.0-dev.30 16:54:26 v2.2.0-dev.31 16:54:26 v2.2.0-dev.32 16:54:26 v2.2.0-dev.33 16:54:26 v2.2.0-dev.34 16:54:26 v2.2.0-dev.35 16:54:26 v2.3.0 16:54:26 v2.3.0-dev.1 16:54:26 v2.3.0-dev.10 16:54:26 v2.3.0-dev.11 16:54:26 v2.3.0-dev.12 16:54:26 v2.3.0-dev.13 16:54:26 v2.3.0-dev.14 16:54:26 v2.3.0-dev.15 16:54:26 v2.3.0-dev.16 16:54:26 v2.3.0-dev.17 16:54:26 v2.3.0-dev.18 16:54:26 v2.3.0-dev.19 16:54:26 v2.3.0-dev.2 16:54:26 v2.3.0-dev.20 16:54:26 v2.3.0-dev.21 16:54:26 v2.3.0-dev.22 16:54:26 v2.3.0-dev.23 16:54:26 v2.3.0-dev.24 16:54:26 v2.3.0-dev.25 16:54:26 v2.3.0-dev.26 16:54:26 v2.3.0-dev.27 16:54:26 v2.3.0-dev.28 16:54:26 v2.3.0-dev.29 16:54:26 v2.3.0-dev.3 16:54:26 v2.3.0-dev.30 16:54:26 v2.3.0-dev.31 16:54:26 v2.3.0-dev.32 16:54:26 v2.3.0-dev.33 16:54:26 v2.3.0-dev.34 16:54:26 v2.3.0-dev.35 16:54:26 v2.3.0-dev.36 16:54:26 v2.3.0-dev.37 16:54:26 v2.3.0-dev.38 16:54:26 v2.3.0-dev.39 16:54:26 v2.3.0-dev.4 16:54:26 v2.3.0-dev.40 16:54:26 v2.3.0-dev.41 16:54:26 v2.3.0-dev.42 16:54:26 v2.3.0-dev.43 16:54:26 v2.3.0-dev.44 16:54:26 v2.3.0-dev.45 16:54:26 v2.3.0-dev.5 16:54:26 v2.3.0-dev.6 16:54:26 v2.3.0-dev.7 16:54:26 v2.3.0-dev.8 16:54:26 v2.3.0-dev.9 16:54:26 v2.3.1-dev.1 16:54:26 v3.0.0-dev.1 [Pipeline] sh 16:54:26 + lftools sign git-tag v3.0.0-dev.1 16:54:27 Signing Git tag with Sigul... 16:54:27 Signing v3.0.0-dev.1 [Pipeline] echo 16:54:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:54:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:54:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:54:27 $ docker stop --time=1 61d22d8d836de29ebef3522a8a0e04d9c10437143f979479f837235f5b9b6824 16:54:29 $ docker rm -f 61d22d8d836de29ebef3522a8a0e04d9c10437143f979479f837235f5b9b6824 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:54:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:29 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:54:30 $ 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:54:30 $ docker top bf741c334f0e9f3ff9113dbf49c9d23062a90eb0f7e8a00f9b29e4f8e7772603 -eo pid,comm 16:54:30 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:54:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:30 [ssh-agent] Looking for ssh-agent implementation... 16:54:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:30 $ docker exec bf741c334f0e9f3ff9113dbf49c9d23062a90eb0f7e8a00f9b29e4f8e7772603 ssh-agent 16:54:30 SSH_AUTH_SOCK=/tmp/ssh-MJwRSSyooW6R/agent.32 16:54:30 SSH_AGENT_PID=38 16:54:30 Running ssh-add (command line suppressed) 16:54:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3921746872411871073.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3921746872411871073.key) 16:54:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:31 + git semver bump pre 16:54:31 2022-12-14 16:54:31,372 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:31 2022-12-14 16:54:31,372 [bump_version] DEBUG bumping version:3.0.0-dev.1 on axis:pre with prefix:dev 16:54:31 2022-12-14 16:54:31,372 [bump_version] DEBUG bumped version:3.0.0-dev.2 16:54:31 2022-12-14 16:54:31,372 [write_version] DEBUG write version:3.0.0-dev.2 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:54:31 2022-12-14 16:54:31,372 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:31 2022-12-14 16:54:31,372 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:31 2022-12-14 16:54:31,375 [execute] INFO git cat-file --batch-check 16:54:31 2022-12-14 16:54:31,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:54:31 2022-12-14 16:54:31,381 [execute] INFO git cat-file --batch 16:54:31 2022-12-14 16:54:31,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:54:31 2022-12-14 16:54:31,386 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:31 3.0.0-dev.2 [Pipeline] } 16:54:31 $ docker exec --env ******** --env ******** bf741c334f0e9f3ff9113dbf49c9d23062a90eb0f7e8a00f9b29e4f8e7772603 ssh-agent -k 16:54:31 unset SSH_AUTH_SOCK; 16:54:31 unset SSH_AGENT_PID; 16:54:31 echo Agent pid 38 killed; 16:54:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:31 + git semver [Pipeline] } 16:54:32 $ docker stop --time=1 bf741c334f0e9f3ff9113dbf49c9d23062a90eb0f7e8a00f9b29e4f8e7772603 16:54:33 $ docker rm -f bf741c334f0e9f3ff9113dbf49c9d23062a90eb0f7e8a00f9b29e4f8e7772603 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:34 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:54:34 $ 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:54:34 $ docker top 9a2d9ced1943e7232f0f720a1196651340f55b058d1d3c070e23bef43e210766 -eo pid,comm 16:54:34 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:54:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:34 [ssh-agent] Looking for ssh-agent implementation... 16:54:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:34 $ docker exec 9a2d9ced1943e7232f0f720a1196651340f55b058d1d3c070e23bef43e210766 ssh-agent 16:54:34 SSH_AUTH_SOCK=/tmp/ssh-s8JRJO3dGNFr/agent.32 16:54:34 SSH_AGENT_PID=38 16:54:34 Running ssh-add (command line suppressed) 16:54:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1388291702782396268.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1388291702782396268.key) 16:54:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:35 + git semver push 16:54:35 2022-12-14 16:54:35,569 [run_push] DEBUG push 16:54:35 2022-12-14 16:54:35,569 [execute] INFO git cat-file --batch-check 16:54:35 2022-12-14 16:54:35,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:54:35 2022-12-14 16:54:35,573 [execute] INFO git rev-list a122efe865cf2175a4ae3f738591dd8538bda2f1 -- 16:54:35 2022-12-14 16:54:35,574 [execute] DEBUG Popen(['git', 'rev-list', 'a122efe865cf2175a4ae3f738591dd8538bda2f1', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:54:35 2022-12-14 16:54:35,581 [execute] INFO git fetch -v origin 16:54:35 2022-12-14 16:54:35,582 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:54:36 2022-12-14 16:54:36,109 [run_push] DEBUG no remote changes detected 16:54:36 2022-12-14 16:54:36,109 [execute] INFO git push origin semver 16:54:36 2022-12-14 16:54:36,110 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:54:37 2022-12-14 16:54:36,877 [run_push] DEBUG push all version tags 16:54:37 2022-12-14 16:54:36,877 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:54:37 2022-12-14 16:54:36,878 [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:54:37 2022-12-14 16:54:37,583 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:54:37 3.0.0-dev.2 [Pipeline] } 16:54:37 $ docker exec --env ******** --env ******** 9a2d9ced1943e7232f0f720a1196651340f55b058d1d3c070e23bef43e210766 ssh-agent -k 16:54:37 unset SSH_AUTH_SOCK; 16:54:37 unset SSH_AGENT_PID; 16:54:37 echo Agent pid 38 killed; 16:54:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:38 + git semver [Pipeline] } 16:54:38 $ docker stop --time=1 9a2d9ced1943e7232f0f720a1196651340f55b058d1d3c070e23bef43e210766 16:54:39 $ docker rm -f 9a2d9ced1943e7232f0f720a1196651340f55b058d1d3c070e23bef43e210766 [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:54:40 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:54:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:54:40 total 16 16:54:40 drwxr-xr-x 3 root root 4096 Dec 14 16:44 . 16:54:40 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:54 .. 16:54:40 drwxr-xr-x 2 root root 4096 Dec 14 16:44 cost 16:54:40 -rw-r--r-- 1 root root 90 Dec 14 16:44 cost.csv 16:54:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:54:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:54:40 total 16 16:54:40 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 16:44 . 16:54:40 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 16:54 .. 16:54:40 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 16:44 cost 16:54:40 -rw-r--r-- 1 jenkins jenkins 90 Dec 14 16:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:54:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:54:41 ---> package-listing.sh 16:54:41 ++ facter osfamily 16:54:41 ++ tr '[:upper:]' '[:lower:]' 16:54:41 + OS_FAMILY=debian 16:54:41 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:54:41 + START_PACKAGES=/tmp/packages_start.txt 16:54:41 + END_PACKAGES=/tmp/packages_end.txt 16:54:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:54:41 + PACKAGES=/tmp/packages_start.txt 16:54:41 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:54:41 + PACKAGES=/tmp/packages_end.txt 16:54:41 + case "${OS_FAMILY}" in 16:54:41 + dpkg -l 16:54:41 + grep '^ii' 16:54:41 + '[' -f /tmp/packages_start.txt ']' 16:54:41 + '[' -f /tmp/packages_end.txt ']' 16:54:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:54:41 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:54:41 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:54:41 + 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:54:41 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:54:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:54:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:42 prd-ubuntu20.04-docker-8c-8g-121219 does not seem to be running inside a container 16:54:42 $ 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:54:43 $ docker top 20873861ace5605e74b88a6f14649688ee2c509d940e58e6f357576535d7df46 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:43 + touch /tmp/pre-build-complete [Pipeline] sh 16:54:43 + mkdir -p /var/log/sysstat [Pipeline] sh 16:54:43 + ls /var/log/sa-host 16:54:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:44 provisioning config files... 16:54:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config730040272112199131tmp [Pipeline] { [Pipeline] echo 16:54:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:54:44 ---> create-netrc.sh [Pipeline] } 16:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:54:44 ---> python-tools-install.sh [Pipeline] echo 16:54:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:54:44 ---> sudo-logs.sh 16:54:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:54:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:54:45 ---> job-cost.sh 16:54:45 lf-activate-venv: SKIPPING 16:54:45 DEBUG: total: 0.2199999988079071 16:54:45 INFO: Retrieving Stack Cost... 16:54:45 INFO: Retrieving Pricing Info for: v3-standard-8 16:54:46 INFO: Archiving Costs [Pipeline] echo 16:54:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:54:46 ---> logs-deploy.sh 16:54:46 lf-activate-venv: SKIPPING 16:54:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/90 16:54:46 INFO: archiving workspace using pattern(s): 16:54:47 Archives upload complete. 16:54:47 INFO: archiving logs to Nexus 16:54:48 ---> uname -a: 16:54:48 Linux prd-ubuntu20-04-docker-8c-8g-121219 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:54:48 16:54:48 16:54:48 ---> lscpu: 16:54:48 Architecture: x86_64 16:54:48 CPU op-mode(s): 32-bit, 64-bit 16:54:48 Byte Order: Little Endian 16:54:48 Address sizes: 40 bits physical, 48 bits virtual 16:54:48 CPU(s): 8 16:54:48 On-line CPU(s) list: 0-7 16:54:48 Thread(s) per core: 1 16:54:48 Core(s) per socket: 1 16:54:48 Socket(s): 8 16:54:48 NUMA node(s): 1 16:54:48 Vendor ID: AuthenticAMD 16:54:48 CPU family: 23 16:54:48 Model: 49 16:54:48 Model name: AMD EPYC-Rome Processor 16:54:48 Stepping: 0 16:54:48 CPU MHz: 2799.998 16:54:48 BogoMIPS: 5599.99 16:54:48 Virtualization: AMD-V 16:54:48 Hypervisor vendor: KVM 16:54:48 Virtualization type: full 16:54:48 L1d cache: 256 KiB 16:54:48 L1i cache: 256 KiB 16:54:48 L2 cache: 4 MiB 16:54:48 L3 cache: 128 MiB 16:54:48 NUMA node0 CPU(s): 0-7 16:54:48 Vulnerability Itlb multihit: Not affected 16:54:48 Vulnerability L1tf: Not affected 16:54:48 Vulnerability Mds: Not affected 16:54:48 Vulnerability Meltdown: Not affected 16:54:48 Vulnerability Mmio stale data: Not affected 16:54:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:54:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:54:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:54:48 Vulnerability Srbds: Not affected 16:54:48 Vulnerability Tsx async abort: Not affected 16:54:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:54:48 16:54:48 16:54:48 ---> nproc: 16:54:48 8 16:54:48 16:54:48 16:54:48 ---> df -h: 16:54:48 Filesystem Size Used Avail Use% Mounted on 16:54:48 overlay 155G 13G 143G 9% / 16:54:48 tmpfs 64M 0 64M 0% /dev 16:54:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:54:48 shm 64M 0 64M 0% /dev/shm 16:54:48 /dev/vda1 155G 13G 143G 9% /facter-os 16:54:48 16:54:48