Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87a99194a9b26dcc406e93b3278c003764c3a70a 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-ssh13940560732085277007.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7374387620601187028.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8281005211554912325.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4889386670960464805.key Verifying host key using known hosts file > 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-ssh15704073345382389792.key Verifying host key using known hosts file > 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 ‘prd-ubuntu20.04-docker-8c-8g-446’ Running on prd-ubuntu20.04-docker-8c-8g-448 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 87a99194a9b26dcc406e93b3278c003764c3a70a (main) Commit message: "Cleanup user guide (#161)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87a99194a9b26dcc406e93b3278c003764c3a70a # timeout=10 > git rev-list --no-walk 35e36fe490a7d7a1e97f3b24aeec797b9423c911 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:52:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:52:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:52:51 ========================================================= 16:52:51 EdgeX Global Pipelines Version Info 16:52:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:52:52 ------------------- 16:52:52 stable info: 16:52:52 ------------------- 16:52:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:52:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:52:52 Message: update stable to v1.0.239 16:52:52 ------------------- 16:52:52 experimental info: 16:52:52 ------------------- 16:52:52 Commited By: **** collab-it+edgex@linuxfoundation.org 16:52:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:52:52 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87a9919 [Pipeline] echo 16:52:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:53 provisioning config files... 16:52:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17535121448180242041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:53 ---> docker-login.sh 16:52:53 nexus3.edgexfoundry.org:10001 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 nexus3.edgexfoundry.org:10002 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 nexus3.edgexfoundry.org:10003 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 nexus3.edgexfoundry.org:10004 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:54 Configure a credential helper to remove this warning. See 16:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:54 16:52:54 Login Succeeded 16:52:54 docker.io 16:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:55 Configure a credential helper to remove this warning. See 16:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:55 16:52:55 Login Succeeded 16:52:55 ---> docker-login.sh ends [Pipeline] } 16:52:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:52:55 + git rev-list -1 --merges 87a99194a9b26dcc406e93b3278c003764c3a70a~1..87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] echo 16:52:55 -----------> git rev-list -1 --merges 87a99194a9b26dcc406e93b3278c003764c3a70a~1..87a99194a9b26dcc406e93b3278c003764c3a70a 87a99194a9b26dcc406e93b3278c003764c3a70a [false] [Pipeline] sh 16:52:55 + git log --format=format:%s -1 87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] echo 16:52:55 ========================================================= 16:52:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:52:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:56 + git log --format=format:%s -1 87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] echo 16:52:56 [semverPrep] GIT_COMMIT: 87a99194a9b26dcc406e93b3278c003764c3a70a, Commit Message: Cleanup user guide (#161) [Pipeline] echo 16:52:56 [semverPrep] This is not a build commit. [Pipeline] sh 16:52:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:52:56 + grep -v github /etc/ssh/ssh_known_hosts 16:52:56 + [ -e /tmp/ssh_known_hosts ] 16:52:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:52:56 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 16:52:56 -a /etc/ssh/ssh_known_hosts 16:52:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:52:56 16:52:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:52:57 0.1.4: Pulling from edgex-devops/py-git-semver 16:52:57 b85a868b505f: Pulling fs layer 16:52:57 e2be974225ed: Pulling fs layer 16:52:57 339a4e72a1f5: Pulling fs layer 16:52:57 988bab9f4d93: Pulling fs layer 16:52:57 1469e6f7b9e6: Pulling fs layer 16:52:57 eaf3925da568: Pulling fs layer 16:52:57 bab4dde63d76: Pulling fs layer 16:52:57 bde34c3a00c8: Pulling fs layer 16:52:57 b352a97aabf1: Pulling fs layer 16:52:57 4872d77fe225: Pulling fs layer 16:52:57 5851b861e8e6: Pulling fs layer 16:52:57 988bab9f4d93: Waiting 16:52:57 1469e6f7b9e6: Waiting 16:52:57 bde34c3a00c8: Waiting 16:52:57 eaf3925da568: Waiting 16:52:57 bab4dde63d76: Waiting 16:52:57 4872d77fe225: Waiting 16:52:57 5851b861e8e6: Waiting 16:52:57 e2be974225ed: Verifying Checksum 16:52:57 e2be974225ed: Download complete 16:52:57 988bab9f4d93: Download complete 16:52:57 1469e6f7b9e6: Verifying Checksum 16:52:57 1469e6f7b9e6: Download complete 16:52:57 eaf3925da568: Download complete 16:52:57 339a4e72a1f5: Verifying Checksum 16:52:57 339a4e72a1f5: Download complete 16:52:57 bde34c3a00c8: Download complete 16:52:57 b352a97aabf1: Verifying Checksum 16:52:57 b352a97aabf1: Download complete 16:52:57 4872d77fe225: Verifying Checksum 16:52:57 4872d77fe225: Download complete 16:52:57 b85a868b505f: Verifying Checksum 16:52:57 b85a868b505f: Download complete 16:52:57 bab4dde63d76: Verifying Checksum 16:52:57 bab4dde63d76: Download complete 16:52:58 b85a868b505f: Pull complete 16:52:58 e2be974225ed: Pull complete 16:52:59 339a4e72a1f5: Pull complete 16:52:59 988bab9f4d93: Pull complete 16:52:59 1469e6f7b9e6: Pull complete 16:52:59 eaf3925da568: Pull complete 16:53:01 bab4dde63d76: Pull complete 16:53:01 bde34c3a00c8: Pull complete 16:53:01 b352a97aabf1: Pull complete 16:53:01 4872d77fe225: Pull complete 16:53:01 5851b861e8e6: Pull complete 16:53:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:53:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:02 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 16:53:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:53:03 $ docker top df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 -eo pid,comm 16:53:03 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:53:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:53:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:03 [ssh-agent] Looking for ssh-agent implementation... 16:53:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:03 $ docker exec df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 ssh-agent 16:53:03 SSH_AUTH_SOCK=/tmp/ssh-TKRbYKLGjngV/agent.32 16:53:03 SSH_AGENT_PID=38 16:53:03 Running ssh-add (command line suppressed) 16:53:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7815545366179515547.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7815545366179515547.key) 16:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:04 + git tag --points-at HEAD [Pipeline] } 16:53:04 $ docker exec --env ******** --env ******** df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 ssh-agent -k 16:53:04 unset SSH_AUTH_SOCK; 16:53:04 unset SSH_AGENT_PID; 16:53:04 echo Agent pid 38 killed; 16:53:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:53:04 [ssh-agent] Looking for ssh-agent implementation... 16:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:53:04 $ docker exec df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 ssh-agent 16:53:04 SSH_AUTH_SOCK=/tmp/ssh-EeOwsRji5tZW/agent.70 16:53:04 SSH_AGENT_PID=76 16:53:04 Running ssh-add (command line suppressed) 16:53:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17215955079150651698.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17215955079150651698.key) 16:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:53:05 + git semver init 16:53:05 2022-09-21 16:53:05,333 [run_init] DEBUG init version:0.0.0 force:False 16:53:05 2022-09-21 16:53:05,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:53:05 2022-09-21 16:53:05,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:53:05 2022-09-21 16:53:05,334 [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:53:06 2022-09-21 16:53:06,307 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:53:06 2022-09-21 16:53:06,307 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:53:06 2022-09-21 16:53:06,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:53:06 2022-09-21 16:53:06,308 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:53:06 2.3.0-dev.19 [Pipeline] } 16:53:06 $ docker exec --env ******** --env ******** df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 ssh-agent -k 16:53:06 unset SSH_AUTH_SOCK; 16:53:06 unset SSH_AGENT_PID; 16:53:06 echo Agent pid 76 killed; 16:53:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:53:07 + git semver [Pipeline] } 16:53:07 $ docker stop --time=1 df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 16:53:08 $ docker rm -f df95733bcd8b9205987ebd324b27d9c6e9008bea85738c592b0fae7ca6244156 [Pipeline] // withDockerContainer [Pipeline] sh 16:53:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:53:09 Stashed 1 file(s) [Pipeline] echo 16:53:09 [edgeXSemver]: initialized semver on version 2.3.0-dev.19 [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:53:09 provisioning config files... 16:53:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9164292895959736333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:53:09 ---> docker-login.sh 16:53:09 nexus3.edgexfoundry.org:10001 16:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:09 Configure a credential helper to remove this warning. See 16:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:09 16:53:09 Login Succeeded 16:53:09 nexus3.edgexfoundry.org:10002 16:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:09 Configure a credential helper to remove this warning. See 16:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:09 16:53:09 Login Succeeded 16:53:09 nexus3.edgexfoundry.org:10003 16:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:09 Configure a credential helper to remove this warning. See 16:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:09 16:53:09 Login Succeeded 16:53:09 nexus3.edgexfoundry.org:10004 16:53:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:09 Configure a credential helper to remove this warning. See 16:53:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:09 16:53:09 Login Succeeded 16:53:09 docker.io 16:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:53:10 Configure a credential helper to remove this warning. See 16:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:53:10 16:53:10 Login Succeeded 16:53:10 ---> docker-login.sh ends [Pipeline] } 16:53:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:53:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:53:10 ========================================================= 16:53:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:53:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:10 + 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:53:10 Sending build context to Docker daemon 20.65MB 16:53:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:53:10 Step 2/13 : FROM ${BASE} AS builder 16:53:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:53:11 2408cc74d12b: Pulling fs layer 16:53:11 ea60b727a1ce: Pulling fs layer 16:53:11 30c4a7721957: Pulling fs layer 16:53:11 370296b7ddb6: Pulling fs layer 16:53:11 7c6cee850709: Pulling fs layer 16:53:11 39a5fcdaea64: Pulling fs layer 16:53:11 d94ebbe4e438: Pulling fs layer 16:53:11 bcfd1f05c69d: Pulling fs layer 16:53:11 59ccb84bbe0f: Pulling fs layer 16:53:11 bcfd1f05c69d: Waiting 16:53:11 59ccb84bbe0f: Waiting 16:53:11 d94ebbe4e438: Waiting 16:53:11 7c6cee850709: Waiting 16:53:11 39a5fcdaea64: Waiting 16:53:11 370296b7ddb6: Waiting 16:53:11 30c4a7721957: Download complete 16:53:11 ea60b727a1ce: Verifying Checksum 16:53:11 ea60b727a1ce: Download complete 16:53:11 7c6cee850709: Download complete 16:53:11 39a5fcdaea64: Verifying Checksum 16:53:11 39a5fcdaea64: Download complete 16:53:11 2408cc74d12b: Verifying Checksum 16:53:11 2408cc74d12b: Download complete 16:53:11 d94ebbe4e438: Download complete 16:53:11 2408cc74d12b: Pull complete 16:53:11 ea60b727a1ce: Pull complete 16:53:11 30c4a7721957: Pull complete 16:53:11 59ccb84bbe0f: Verifying Checksum 16:53:11 59ccb84bbe0f: Download complete 16:53:11 bcfd1f05c69d: Verifying Checksum 16:53:11 bcfd1f05c69d: Download complete 16:53:11 370296b7ddb6: Verifying Checksum 16:53:11 370296b7ddb6: Download complete 16:53:16 370296b7ddb6: Pull complete 16:53:16 7c6cee850709: Pull complete 16:53:16 39a5fcdaea64: Pull complete 16:53:16 d94ebbe4e438: Pull complete 16:53:18 bcfd1f05c69d: Pull complete 16:53:19 59ccb84bbe0f: Pull complete 16:53:19 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:53:19 ---> a4fb48ad2a94 16:53:19 Step 3/13 : ARG MAKE="make build" 16:53:20 ---> Running in 5cdd679bafe0 16:53:20 Removing intermediate container 5cdd679bafe0 16:53:20 ---> fc2cba71631d 16:53:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:53:20 ---> Running in 596d58a9c5b0 16:53:20 Removing intermediate container 596d58a9c5b0 16:53:20 ---> 868510e2619d 16:53:20 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:53:20 ---> Running in e8f0d0bf58a8 16:53:20 Removing intermediate container e8f0d0bf58a8 16:53:20 ---> b84a16a20386 16:53:20 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:53:20 ---> Running in 7f4a6f81c344 16:53:20 Removing intermediate container 7f4a6f81c344 16:53:20 ---> b388fce3d53c 16:53:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:20 ---> Running in 445841e9633e 16:53:21 Removing intermediate container 445841e9633e 16:53:21 ---> 023f8a05c5d8 16:53:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:21 ---> Running in 32a659ade38e 16:53:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:53:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:53:23 OK: 211 MiB in 51 packages 16:53:23 Removing intermediate container 32a659ade38e 16:53:23 ---> 1f4a68e66e20 16:53:23 Step 9/13 : WORKDIR /device-onvif-camera 16:53:23 ---> Running in afbe4cc8c581 16:53:23 Removing intermediate container afbe4cc8c581 16:53:23 ---> 2aa447cbde9b 16:53:23 Step 10/13 : COPY go.mod vendor* ./ 16:53:23 ---> ae64e4d051ff 16:53:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:53:23 ---> Running in 799a64b87c82 16:53:24 Still waiting to schedule task 16:53:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-447’ 16:53:38 Removing intermediate container 799a64b87c82 16:53:38 ---> 41ea8643d3b7 16:53:38 Step 12/13 : COPY . . 16:53:39 ---> ade4595fddbb 16:53:39 Step 13/13 : RUN ${MAKE} 16:53:39 ---> Running in e9f67921bbdb 16:53:39 noop 16:53:40 Removing intermediate container e9f67921bbdb 16:53:40 ---> d2f7c158d5a5 16:53:40 Successfully built d2f7c158d5a5 16:53:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:40 + docker inspect -f . ci-base-image-x86_64 16:53:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:40 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 16:53:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:53:41 $ docker top 8743889afc1e572cf7f606ced98ea415ac0e494ec47dd84af04611379ead9b93 -eo pid,comm [Pipeline] { [Pipeline] sh 16:53:41 + go version 16:53:41 go version go1.18.3 linux/amd64 [Pipeline] } 16:53:41 $ docker stop --time=1 8743889afc1e572cf7f606ced98ea415ac0e494ec47dd84af04611379ead9b93 16:53:42 $ docker rm -f 8743889afc1e572cf7f606ced98ea415ac0e494ec47dd84af04611379ead9b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:43 + docker inspect -f . ci-base-image-x86_64 16:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:43 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 16:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:53:43 $ docker top f33c369fd087e8fcbaefffd0db61d4833af2f5de23d9de67a76a50baaa7c6423 -eo pid,comm [Pipeline] { [Pipeline] sh 16:53:43 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:53:44 + make test 16:53:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:53:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:53:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:53:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.6% of statements 16:53:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:54:00 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.895s coverage: 13.8% of statements 16:54:08 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:54:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:54:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:54:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:54:12 ./bin/test-attribution-txt.sh [Pipeline] echo 16:54:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:54:12 $ docker stop --time=1 f33c369fd087e8fcbaefffd0db61d4833af2f5de23d9de67a76a50baaa7c6423 16:54:14 $ docker rm -f f33c369fd087e8fcbaefffd0db61d4833af2f5de23d9de67a76a50baaa7c6423 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:15 + ls -al . 16:54:15 total 232 16:54:15 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 16:53 . 16:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:52 .. 16:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 16:54 .git 16:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:52 .github 16:54:15 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 16:52 .gitignore 16:54:15 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 16:52 .golangci.yml 16:54:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 16:53 .semver 16:54:15 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 16:52 Attribution.txt 16:54:15 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 16:52 CHANGELOG.md 16:54:15 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 16:52 Dockerfile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 16:52 GOVERNANCE.md 16:54:15 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 16:52 Jenkinsfile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 16:52 LICENSE 16:54:15 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 16:52 Makefile 16:54:15 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 16:52 OWNERS.md 16:54:15 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 16:52 README.md 16:54:15 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 16:53 VERSION 16:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 16:52 bin 16:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:52 cmd 16:54:15 -rw-r--r-- 1 jenkins jenkins 77283 Sep 21 16:54 coverage.out 16:54:15 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 16:52 doc 16:54:15 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 16:52 go.mod 16:54:15 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 16:52 go.sum 16:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:52 internal 16:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:52 snap 16:54:15 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 16:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:16 + 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=87a99194a9b26dcc406e93b3278c003764c3a70a --label arch=amd64 --label version=2.3.0-dev.19 . 16:54:16 Sending build context to Docker daemon 20.73MB 16:54:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:54:16 Step 2/26 : FROM ${BASE} AS builder 16:54:16 ---> d2f7c158d5a5 16:54:16 Step 3/26 : ARG MAKE="make build" 16:54:16 ---> Running in 931652ccc2c0 16:54:16 Removing intermediate container 931652ccc2c0 16:54:16 ---> 0b7c3cb18dc1 16:54:16 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:54:16 ---> Running in 05711bec8fb0 16:54:16 Removing intermediate container 05711bec8fb0 16:54:16 ---> df119316ae0f 16:54:16 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:54:16 ---> Running in 7686fa695e11 16:54:16 Removing intermediate container 7686fa695e11 16:54:16 ---> 623f8b56a897 16:54:16 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:54:16 ---> Running in 8d39cc75a2e5 16:54:16 Removing intermediate container 8d39cc75a2e5 16:54:16 ---> 6032400aa0a7 16:54:16 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:16 ---> Running in 0d3612d661bc 16:54:17 Removing intermediate container 0d3612d661bc 16:54:17 ---> ed6add105f5c 16:54:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:17 ---> Running in 8ca22b24eb1c 16:54:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:54:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:54:18 OK: 211 MiB in 51 packages 16:54:19 Removing intermediate container 8ca22b24eb1c 16:54:19 ---> 9911e5151f98 16:54:19 Step 9/26 : WORKDIR /device-onvif-camera 16:54:19 ---> Running in 7d134bb125b8 16:54:19 Removing intermediate container 7d134bb125b8 16:54:19 ---> ab1835f5cc0a 16:54:19 Step 10/26 : COPY go.mod vendor* ./ 16:54:19 ---> 64a30f211f99 16:54:19 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:19 ---> Running in dcef488c9879 16:54:20 Removing intermediate container dcef488c9879 16:54:20 ---> 1508ac8170a4 16:54:20 Step 12/26 : COPY . . 16:54:20 ---> effb230e5725 16:54:20 Step 13/26 : RUN ${MAKE} 16:54:20 ---> Running in 67ff2e4c2b79 16:54:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:54:42 Removing intermediate container 67ff2e4c2b79 16:54:42 ---> b502fa8b2de6 16:54:42 Step 14/26 : FROM alpine:3.16 16:54:43 3.16: Pulling from library/alpine 16:54:43 213ec9aee27d: Pulling fs layer 16:54:43 213ec9aee27d: Verifying Checksum 16:54:43 213ec9aee27d: Download complete 16:54:43 213ec9aee27d: Pull complete 16:54:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:54:43 Status: Downloaded newer image for alpine:3.16 16:54:43 ---> 9c6f07244728 16:54:43 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:54:43 ---> Running in 15276ef47f38 16:54:44 Removing intermediate container 15276ef47f38 16:54:44 ---> adbaf76cf92f 16:54:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:54:44 ---> Running in c33ddd3fd1fd 16:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:54:44 (1/6) Installing dumb-init (1.2.5-r1) 16:54:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:54:44 (3/6) Installing libsodium (1.0.18-r0) 16:54:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:54:44 (5/6) Installing libzmq (4.3.4-r0) 16:54:44 (6/6) Installing zeromq (4.3.4-r0) 16:54:44 Executing busybox-1.35.0-r17.trigger 16:54:44 OK: 8 MiB in 20 packages 16:54:45 Removing intermediate container c33ddd3fd1fd 16:54:45 ---> 0a7eb42596a0 16:54:45 Step 17/26 : WORKDIR / 16:54:45 ---> Running in 4b9adf112f04 16:54:45 Removing intermediate container 4b9adf112f04 16:54:45 ---> 0fdf6d68d085 16:54:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:54:45 ---> 913d344b1ff1 16:54:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:54:46 ---> 8b8ba5a9d363 16:54:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:54:46 ---> 4c75bf567618 16:54:46 Step 21/26 : EXPOSE 59984 16:54:46 ---> Running in 397ecee39c3d 16:54:46 Removing intermediate container 397ecee39c3d 16:54:46 ---> d3c4f6a0d88d 16:54:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:54:46 ---> Running in 0cd909b14ce5 16:54:46 Removing intermediate container 0cd909b14ce5 16:54:46 ---> 9ba845be4ada 16:54:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:54:46 ---> Running in 78e9887d18db 16:54:46 Removing intermediate container 78e9887d18db 16:54:46 ---> 96e2193b211b 16:54:46 Step 24/26 : LABEL arch=amd64 16:54:46 ---> Running in 06edc61e2338 16:54:46 Removing intermediate container 06edc61e2338 16:54:46 ---> 00ce97a67cc1 16:54:46 Step 25/26 : LABEL git_sha=87a99194a9b26dcc406e93b3278c003764c3a70a 16:54:46 ---> Running in 0383f57a3848 16:54:46 Removing intermediate container 0383f57a3848 16:54:46 ---> 8ef177589499 16:54:46 Step 26/26 : LABEL version=2.3.0-dev.19 16:54:46 ---> Running in 3101253f47cf 16:54:46 Removing intermediate container 3101253f47cf 16:54:46 ---> 194796ca4eb9 16:54:46 [Warning] One or more build-args [ARCH] were not consumed 16:54:46 Successfully built 194796ca4eb9 16:54:46 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:54:47 provisioning config files... 16:54:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12268110588439984397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:47 ---> docker-login.sh 16:54:47 nexus3.edgexfoundry.org:10001 16:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:47 Configure a credential helper to remove this warning. See 16:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:47 16:54:47 Login Succeeded 16:54:47 nexus3.edgexfoundry.org:10002 16:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:47 Configure a credential helper to remove this warning. See 16:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:47 16:54:47 Login Succeeded 16:54:47 nexus3.edgexfoundry.org:10003 16:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:47 Configure a credential helper to remove this warning. See 16:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:47 16:54:47 Login Succeeded 16:54:47 nexus3.edgexfoundry.org:10004 16:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:47 Configure a credential helper to remove this warning. See 16:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:47 16:54:47 Login Succeeded 16:54:47 docker.io 16:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:48 Configure a credential helper to remove this warning. See 16:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:48 16:54:48 Login Succeeded 16:54:48 ---> docker-login.sh ends [Pipeline] } 16:54:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:48 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:54:48 87a99194a9b26dcc406e93b3278c003764c3a70a 16:54:48 latest 16:54:48 2.3.0-dev.19 16:54:48 87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 16:54:48 main 16:54:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a 16:54:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:54:48 19cff6a75aeb: Preparing 16:54:48 7fec73fb2a12: Preparing 16:54:48 ec720ef7fc22: Preparing 16:54:48 801ce3ab6dd2: Preparing 16:54:48 994393dc58e7: Preparing 16:54:48 994393dc58e7: Layer already exists 16:54:48 19cff6a75aeb: Pushed 16:54:48 7fec73fb2a12: Pushed 16:54:49 801ce3ab6dd2: Pushed 16:54:51 ec720ef7fc22: Pushed 16:54:51 87a99194a9b26dcc406e93b3278c003764c3a70a: digest: sha256:adbcb013cceb0f092d44402b4d85acd32d7cbb644137c2afea4721fb632ac55a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:54:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:54:52 19cff6a75aeb: Preparing 16:54:52 7fec73fb2a12: Preparing 16:54:52 ec720ef7fc22: Preparing 16:54:52 801ce3ab6dd2: Preparing 16:54:52 994393dc58e7: Preparing 16:54:52 801ce3ab6dd2: Layer already exists 16:54:52 19cff6a75aeb: Layer already exists 16:54:52 7fec73fb2a12: Layer already exists 16:54:52 ec720ef7fc22: Layer already exists 16:54:52 994393dc58e7: Layer already exists 16:54:52 latest: digest: sha256:adbcb013cceb0f092d44402b4d85acd32d7cbb644137c2afea4721fb632ac55a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.19 16:54:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:54:53 19cff6a75aeb: Preparing 16:54:53 7fec73fb2a12: Preparing 16:54:53 ec720ef7fc22: Preparing 16:54:53 801ce3ab6dd2: Preparing 16:54:53 994393dc58e7: Preparing 16:54:53 801ce3ab6dd2: Layer already exists 16:54:53 7fec73fb2a12: Layer already exists 16:54:53 994393dc58e7: Layer already exists 16:54:53 19cff6a75aeb: Layer already exists 16:54:53 ec720ef7fc22: Layer already exists 16:54:53 2.3.0-dev.19: digest: sha256:adbcb013cceb0f092d44402b4d85acd32d7cbb644137c2afea4721fb632ac55a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 16:54:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:54:53 19cff6a75aeb: Preparing 16:54:53 7fec73fb2a12: Preparing 16:54:53 ec720ef7fc22: Preparing 16:54:53 801ce3ab6dd2: Preparing 16:54:53 994393dc58e7: Preparing 16:54:53 19cff6a75aeb: Layer already exists 16:54:53 801ce3ab6dd2: Layer already exists 16:54:53 7fec73fb2a12: Layer already exists 16:54:53 ec720ef7fc22: Layer already exists 16:54:53 994393dc58e7: Layer already exists 16:54:53 87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19: digest: sha256:adbcb013cceb0f092d44402b4d85acd32d7cbb644137c2afea4721fb632ac55a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:54:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:54:54 19cff6a75aeb: Preparing 16:54:54 7fec73fb2a12: Preparing 16:54:54 ec720ef7fc22: Preparing 16:54:54 801ce3ab6dd2: Preparing 16:54:54 994393dc58e7: Preparing 16:54:54 994393dc58e7: Layer already exists 16:54:54 7fec73fb2a12: Layer already exists 16:54:54 801ce3ab6dd2: Layer already exists 16:54:54 19cff6a75aeb: Layer already exists 16:54:54 ec720ef7fc22: Layer already exists 16:54:54 main: digest: sha256:adbcb013cceb0f092d44402b4d85acd32d7cbb644137c2afea4721fb632ac55a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:54:54 ===================================================== [Pipeline] echo 16:54:54 taggedImages: 16:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a 16:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.19 16:54:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 16:54:54 - 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:54:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:54:54 16:54:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:54:55 latest: Pulling from edgex-lftools-log-publisher 16:54:55 5eb5b503b376: Pulling fs layer 16:54:55 5c69ac0246d0: Pulling fs layer 16:54:55 ec43610c2a17: Pulling fs layer 16:54:55 3a2ae6a8a46f: Pulling fs layer 16:54:55 33b1e0a273af: Pulling fs layer 16:54:55 5d3b04190fa2: Pulling fs layer 16:54:55 2f39f015ded8: Pulling fs layer 16:54:55 3a2ae6a8a46f: Waiting 16:54:55 5d3b04190fa2: Waiting 16:54:55 2f39f015ded8: Waiting 16:54:55 5c69ac0246d0: Download complete 16:54:55 3a2ae6a8a46f: Download complete 16:54:55 33b1e0a273af: Verifying Checksum 16:54:55 33b1e0a273af: Download complete 16:54:55 5d3b04190fa2: Verifying Checksum 16:54:55 5d3b04190fa2: Download complete 16:54:55 ec43610c2a17: Verifying Checksum 16:54:55 5eb5b503b376: Download complete 16:54:55 2f39f015ded8: Download complete 16:54:56 5eb5b503b376: Pull complete 16:54:56 5c69ac0246d0: Pull complete 16:54:57 ec43610c2a17: Pull complete 16:54:57 3a2ae6a8a46f: Pull complete 16:54:57 33b1e0a273af: Pull complete 16:54:57 5d3b04190fa2: Pull complete 16:55:02 2f39f015ded8: Pull complete 16:55:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:02 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 16:55:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:55:04 $ docker top 2eaecba8c3eadc3e26ed015e4761d91cd3a0f07245d0d26871fc0427e8f95258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:04 ---> job-cost.sh 16:55:04 lf-activate-venv: SKIPPING 16:55:04 INFO: No Stack... 16:55:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:55:05 INFO: Archiving Costs [Pipeline] sh 16:55:05 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:55:05 + cut -d, -f6 [Pipeline] lock 16:55:05 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] 16:55:05 Resource [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] did not exist. Created. 16:55:05 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:55:06 + echo total: 0.2199999988079071 [Pipeline] stash 16:55:06 Stashed 1 file(s) [Pipeline] } 16:55:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 16:55:06 $ docker stop --time=1 2eaecba8c3eadc3e26ed015e4761d91cd3a0f07245d0d26871fc0427e8f95258 16:55:07 $ docker rm -f 2eaecba8c3eadc3e26ed015e4761d91cd3a0f07245d0d26871fc0427e8f95258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:56:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-449 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:56:43 Running in /w/workspace/device-onvif-camera/58 [Pipeline] { [Pipeline] checkout 16:56:43 The recommended git tool is: git 16:56:48 using credential edgex-jenkins-ssh 16:56:48 Cloning the remote Git repository 16:56:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:56:48 > git init /w/workspace/device-onvif-camera/58 # timeout=10 16:56:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:56:48 > git --version # timeout=10 16:56:48 > git --version # 'git version 2.25.1' 16:56:48 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:48 Verifying host key using known hosts file 16:56:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:56:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:50 Avoid second fetch 16:56:50 Checking out Revision 87a99194a9b26dcc406e93b3278c003764c3a70a (main) 16:56:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:56:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:50 > git config core.sparsecheckout # timeout=10 16:56:50 > git checkout -f 87a99194a9b26dcc406e93b3278c003764c3a70a # timeout=10 16:56:51 Commit message: "Cleanup user guide (#161)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:56:52 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:52 Dload Upload Total Spent Left Speed 16:56:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh 16:56:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:56:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:56:53 + sudo tee /etc/docker/daemon.new 16:56:53 { 16:56:53 "registry-mirrors": [ 16:56:53 "https://nexus3.edgexfoundry.org:10001" 16:56:53 ], 16:56:53 "bip": "10.250.0.254/24", 16:56:53 "hosts": [ 16:56:53 "tcp://0.0.0.0:5555", 16:56:53 "unix:///var/run/docker.sock" 16:56:53 ], 16:56:53 "mtu": 1458, 16:56:53 "selinux-enabled": true, 16:56:53 "seccomp-profile": "/etc/docker/seccomp.json" 16:56:53 } [Pipeline] sh 16:56:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:56:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:12 provisioning config files... 16:57:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/58@tmp/config16418297562484553536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:12 ---> docker-login.sh 16:57:12 nexus3.edgexfoundry.org:10001 16:57:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:13 Configure a credential helper to remove this warning. See 16:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:13 16:57:13 Login Succeeded 16:57:13 nexus3.edgexfoundry.org:10002 16:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:13 Configure a credential helper to remove this warning. See 16:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:13 16:57:13 Login Succeeded 16:57:13 nexus3.edgexfoundry.org:10003 16:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:13 Configure a credential helper to remove this warning. See 16:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:13 16:57:13 Login Succeeded 16:57:13 nexus3.edgexfoundry.org:10004 16:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:14 Configure a credential helper to remove this warning. See 16:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:14 16:57:14 Login Succeeded 16:57:14 docker.io 16:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:14 Configure a credential helper to remove this warning. See 16:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:14 16:57:14 Login Succeeded 16:57:14 ---> docker-login.sh ends [Pipeline] } 16:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:14 ========================================================= 16:57:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:57:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:15 + 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:57:15 Sending build context to Docker daemon 14.13MB 16:57:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:57:15 Step 2/13 : FROM ${BASE} AS builder 16:57:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:57:15 b3c136eddcbf: Pulling fs layer 16:57:15 c0a3192eca97: Pulling fs layer 16:57:15 a050256f5b6f: Pulling fs layer 16:57:15 656be50a0ddc: Pulling fs layer 16:57:15 2bbca73fdf42: Pulling fs layer 16:57:15 46d945488cbd: Pulling fs layer 16:57:15 8a5474983e97: Pulling fs layer 16:57:15 329c88fbcd65: Pulling fs layer 16:57:15 656be50a0ddc: Waiting 16:57:15 2bbca73fdf42: Waiting 16:57:15 46d945488cbd: Waiting 16:57:15 8a5474983e97: Waiting 16:57:15 329c88fbcd65: Waiting 16:57:15 a050256f5b6f: Verifying Checksum 16:57:15 a050256f5b6f: Download complete 16:57:15 c0a3192eca97: Verifying Checksum 16:57:15 c0a3192eca97: Download complete 16:57:15 2bbca73fdf42: Verifying Checksum 16:57:15 2bbca73fdf42: Download complete 16:57:15 46d945488cbd: Verifying Checksum 16:57:15 46d945488cbd: Download complete 16:57:16 b3c136eddcbf: Download complete 16:57:16 b3c136eddcbf: Pull complete 16:57:16 329c88fbcd65: Verifying Checksum 16:57:16 329c88fbcd65: Download complete 16:57:17 c0a3192eca97: Pull complete 16:57:17 a050256f5b6f: Pull complete 16:57:18 8a5474983e97: Verifying Checksum 16:57:18 8a5474983e97: Download complete 16:57:18 656be50a0ddc: Verifying Checksum 16:57:18 656be50a0ddc: Download complete 16:57:31 656be50a0ddc: Pull complete 16:57:31 2bbca73fdf42: Pull complete 16:57:31 46d945488cbd: Pull complete 16:57:37 8a5474983e97: Pull complete 16:57:38 329c88fbcd65: Pull complete 16:57:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:57:38 ---> ff4287adb874 16:57:38 Step 3/13 : ARG MAKE="make build" 16:57:40 ---> Running in d0ed94760fc7 16:57:40 Removing intermediate container d0ed94760fc7 16:57:40 ---> c5829ab7a337 16:57:40 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:57:40 ---> Running in 6046821b945e 16:57:41 Removing intermediate container 6046821b945e 16:57:41 ---> 3fb0a3fafd49 16:57:41 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:57:41 ---> Running in 71b12d1351c1 16:57:41 Removing intermediate container 71b12d1351c1 16:57:41 ---> 9308ca85fca6 16:57:41 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:57:41 ---> Running in 4a2f46d375db 16:57:41 Removing intermediate container 4a2f46d375db 16:57:41 ---> 57543f18ce41 16:57:41 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:41 ---> Running in 8813c5e07848 16:57:43 Removing intermediate container 8813c5e07848 16:57:43 ---> b60a13297616 16:57:43 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:43 ---> Running in 721ca9421761 16:57:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:57:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:57:46 OK: 221 MiB in 51 packages 16:57:47 Removing intermediate container 721ca9421761 16:57:47 ---> 25d6e6abd973 16:57:47 Step 9/13 : WORKDIR /device-onvif-camera 16:57:47 ---> Running in 3e519525c63d 16:57:47 Removing intermediate container 3e519525c63d 16:57:47 ---> ee5dd1f10a63 16:57:47 Step 10/13 : COPY go.mod vendor* ./ 16:57:47 ---> 8a21f2985677 16:57:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:48 ---> Running in 0e5bbdb00752 16:58:35 Removing intermediate container 0e5bbdb00752 16:58:35 ---> 95699709a558 16:58:35 Step 12/13 : COPY . . 16:58:35 ---> 949f484d23e8 16:58:35 Step 13/13 : RUN ${MAKE} 16:58:35 ---> Running in d9863daf0da8 16:58:36 noop 16:58:37 Removing intermediate container d9863daf0da8 16:58:37 ---> f1d40f80905a 16:58:37 Successfully built f1d40f80905a 16:58:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:37 + docker inspect -f . ci-base-image-arm64 16:58:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:37 prd-ubuntu20.04-docker-arm64-4c-16g-449 does not seem to be running inside a container 16:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/58 -v /w/workspace/device-onvif-camera/58:/w/workspace/device-onvif-camera/58:rw,z -v /w/workspace/device-onvif-camera/58@tmp:/w/workspace/device-onvif-camera/58@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:58:38 $ docker top 70685b1ab614bfb9ee7046bfae76e5cac04e7b8f69ba2f3f2f9d9ac9d4913abc -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:39 + go version 16:58:39 go version go1.18.3 linux/arm64 [Pipeline] } 16:58:39 $ docker stop --time=1 70685b1ab614bfb9ee7046bfae76e5cac04e7b8f69ba2f3f2f9d9ac9d4913abc 16:58:41 $ docker rm -f 70685b1ab614bfb9ee7046bfae76e5cac04e7b8f69ba2f3f2f9d9ac9d4913abc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:41 + docker inspect -f . ci-base-image-arm64 16:58:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:42 prd-ubuntu20.04-docker-arm64-4c-16g-449 does not seem to be running inside a container 16:58:42 $ 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/58 -v /w/workspace/device-onvif-camera/58:/w/workspace/device-onvif-camera/58:rw,z -v /w/workspace/device-onvif-camera/58@tmp:/w/workspace/device-onvif-camera/58@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:58:43 $ docker top 59b12babe5f4c3a36cbbd435f08a4f820e20760fc9513b7b329b48a913fb5d86 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:43 + git config --global --add safe.directory /w/workspace/device-onvif-camera/58 [Pipeline] fileExists [Pipeline] sh 16:58:44 + make test 16:58:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:58:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:00:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:00:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.182s coverage: 28.6% of statements 17:00:14 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:00:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.083s coverage: 13.8% of statements 17:00:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:00:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:01:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:01:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:01:03 ./bin/test-attribution-txt.sh [Pipeline] echo 17:01:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:01:03 $ docker stop --time=1 59b12babe5f4c3a36cbbd435f08a4f820e20760fc9513b7b329b48a913fb5d86 17:01:04 $ docker rm -f 59b12babe5f4c3a36cbbd435f08a4f820e20760fc9513b7b329b48a913fb5d86 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:01:05 Warning: overwriting stash ‘coverage-report’ 17:01:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:01:07 + ls -al . 17:01:07 total 228 17:01:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 16:58 . 17:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:56 .. 17:01:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 16:56 .git 17:01:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:56 .github 17:01:07 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 16:56 .gitignore 17:01:07 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 16:56 .golangci.yml 17:01:07 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 16:56 Attribution.txt 17:01:07 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 16:56 CHANGELOG.md 17:01:07 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 16:56 Dockerfile 17:01:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 16:56 GOVERNANCE.md 17:01:07 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 16:56 Jenkinsfile 17:01:07 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 16:56 LICENSE 17:01:07 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 16:56 Makefile 17:01:07 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 16:56 OWNERS.md 17:01:07 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 16:56 README.md 17:01:07 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 16:53 VERSION 17:01:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 16:56 bin 17:01:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 16:56 cmd 17:01:07 -rw-r--r-- 1 jenkins jenkins 77283 Sep 21 17:00 coverage.out 17:01:07 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 16:56 doc 17:01:07 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 16:56 go.mod 17:01:07 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 16:56 go.sum 17:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:56 internal 17:01:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 16:56 snap 17:01:07 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 16:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:07 + 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=87a99194a9b26dcc406e93b3278c003764c3a70a --label arch=arm64 --label version=2.3.0-dev.19 . 17:01:08 Sending build context to Docker daemon 14.21MB 17:01:08 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:01:08 Step 2/26 : FROM ${BASE} AS builder 17:01:08 ---> f1d40f80905a 17:01:08 Step 3/26 : ARG MAKE="make build" 17:01:08 ---> Running in 00faa20a7aac 17:01:08 Removing intermediate container 00faa20a7aac 17:01:08 ---> 684dee735c97 17:01:08 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:01:08 ---> Running in cb3a5a5284b2 17:01:08 Removing intermediate container cb3a5a5284b2 17:01:08 ---> 79386b066edf 17:01:08 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 17:01:08 ---> Running in 7cd243114731 17:01:09 Removing intermediate container 7cd243114731 17:01:09 ---> de8727784983 17:01:09 Step 6/26 : LABEL Name=edgex-device-onvif-camera 17:01:09 ---> Running in e0a9e61e2652 17:01:09 Removing intermediate container e0a9e61e2652 17:01:09 ---> 2ba8df574144 17:01:09 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:01:09 ---> Running in 3922d907b161 17:01:11 Removing intermediate container 3922d907b161 17:01:11 ---> 4458a31a2dc3 17:01:11 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:11 ---> Running in 458079b0e23c 17:01:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:14 OK: 221 MiB in 51 packages 17:01:15 Removing intermediate container 458079b0e23c 17:01:15 ---> 3fca7762181a 17:01:15 Step 9/26 : WORKDIR /device-onvif-camera 17:01:15 ---> Running in 709fcaa7947c 17:01:15 Removing intermediate container 709fcaa7947c 17:01:15 ---> ecce1874b993 17:01:15 Step 10/26 : COPY go.mod vendor* ./ 17:01:15 ---> 61f34bb2a097 17:01:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:15 ---> Running in f09c7b02259e 17:01:17 Removing intermediate container f09c7b02259e 17:01:17 ---> a73bd56a2d85 17:01:17 Step 12/26 : COPY . . 17:01:19 ---> 3149226e5abe 17:01:19 Step 13/26 : RUN ${MAKE} 17:01:19 ---> Running in 7c0317deda3c 17:01:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:03:57 Removing intermediate container 7c0317deda3c 17:03:57 ---> ae094f09185f 17:03:57 Step 14/26 : FROM alpine:3.16 17:03:57 3.16: Pulling from library/alpine 17:03:57 9b18e9b68314: Pulling fs layer 17:03:57 9b18e9b68314: Verifying Checksum 17:03:57 9b18e9b68314: Download complete 17:03:57 9b18e9b68314: Pull complete 17:03:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:03:57 Status: Downloaded newer image for alpine:3.16 17:03:57 ---> a6215f271958 17:03:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:03:57 ---> Running in 22435f18b0a2 17:03:57 Removing intermediate container 22435f18b0a2 17:03:57 ---> e85a7383ad57 17:03:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:03:57 ---> Running in 09ad401e53ac 17:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:03:57 (1/6) Installing dumb-init (1.2.5-r1) 17:03:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:03:57 (3/6) Installing libsodium (1.0.18-r0) 17:03:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:03:57 (5/6) Installing libzmq (4.3.4-r0) 17:03:57 (6/6) Installing zeromq (4.3.4-r0) 17:03:57 Executing busybox-1.35.0-r17.trigger 17:03:57 OK: 8 MiB in 20 packages 17:03:57 Removing intermediate container 09ad401e53ac 17:03:57 ---> dc1e2d0259db 17:03:57 Step 17/26 : WORKDIR / 17:03:57 ---> Running in 892d2640d25f 17:03:57 Removing intermediate container 892d2640d25f 17:03:57 ---> 426c93305ccd 17:03:57 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:03:57 ---> 7d9c0e9be144 17:03:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:03:57 ---> e12826f19e27 17:03:57 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:03:57 ---> a429a46b5029 17:03:57 Step 21/26 : EXPOSE 59984 17:03:57 ---> Running in 85cf8b96f79a 17:03:57 Removing intermediate container 85cf8b96f79a 17:03:57 ---> 30e11c1d4c34 17:03:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:03:57 ---> Running in 1ea4373aeb01 17:03:57 Removing intermediate container 1ea4373aeb01 17:03:57 ---> 9b53c60a62bf 17:03:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:03:57 ---> Running in 8e89ac6ac39d 17:03:57 Removing intermediate container 8e89ac6ac39d 17:03:57 ---> ba21e4b864d5 17:03:57 Step 24/26 : LABEL arch=arm64 17:03:57 ---> Running in 08eec610fb2c 17:03:57 Removing intermediate container 08eec610fb2c 17:03:57 ---> b22048a87556 17:03:57 Step 25/26 : LABEL git_sha=87a99194a9b26dcc406e93b3278c003764c3a70a 17:03:57 ---> Running in 80d51bb3b070 17:03:57 Removing intermediate container 80d51bb3b070 17:03:57 ---> df0d78205284 17:03:57 Step 26/26 : LABEL version=2.3.0-dev.19 17:03:57 ---> Running in de180e163eba 17:03:57 Removing intermediate container de180e163eba 17:03:57 ---> 6fcfe050e7c6 17:03:57 [Warning] One or more build-args [ARCH] were not consumed 17:03:57 Successfully built 6fcfe050e7c6 17:03: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 17:03:57 provisioning config files... 17:03:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/58@tmp/config14237701682544511798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:03:57 ---> docker-login.sh 17:03:57 nexus3.edgexfoundry.org:10001 17:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:58 Configure a credential helper to remove this warning. See 17:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:58 17:03:58 Login Succeeded 17:03:58 nexus3.edgexfoundry.org:10002 17:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:58 Configure a credential helper to remove this warning. See 17:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:58 17:03:58 Login Succeeded 17:03:58 nexus3.edgexfoundry.org:10003 17:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:58 Configure a credential helper to remove this warning. See 17:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:58 17:03:58 Login Succeeded 17:03:58 nexus3.edgexfoundry.org:10004 17:03:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:59 Configure a credential helper to remove this warning. See 17:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:59 17:03:59 Login Succeeded 17:03:59 docker.io 17:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:03:59 Configure a credential helper to remove this warning. See 17:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:03:59 17:03:59 Login Succeeded 17:03:59 ---> docker-login.sh ends [Pipeline] } 17:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:03:59 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:03:59 87a99194a9b26dcc406e93b3278c003764c3a70a 17:03:59 latest 17:03:59 2.3.0-dev.19 17:03:59 87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 17:03:59 main 17:03:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a 17:04:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:04:00 94ce4c0afed5: Preparing 17:04:00 5877e233006f: Preparing 17:04:00 a0d199b62d3c: Preparing 17:04:00 962a1ddae1f9: Preparing 17:04:00 5d3e392a13a0: Preparing 17:04:00 5d3e392a13a0: Layer already exists 17:04:00 5877e233006f: Pushed 17:04:00 94ce4c0afed5: Pushed 17:04:01 962a1ddae1f9: Pushed 17:04:05 a0d199b62d3c: Pushed 17:04:05 87a99194a9b26dcc406e93b3278c003764c3a70a: digest: sha256:dacbb2d023b3d632224be6c7d7f96397bd96f4722551095e6960102cf4787bf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04: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 17:04:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:04:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:04:06 94ce4c0afed5: Preparing 17:04:06 5877e233006f: Preparing 17:04:06 a0d199b62d3c: Preparing 17:04:06 962a1ddae1f9: Preparing 17:04:06 5d3e392a13a0: Preparing 17:04:06 94ce4c0afed5: Layer already exists 17:04:06 5d3e392a13a0: Layer already exists 17:04:06 962a1ddae1f9: Layer already exists 17:04:06 a0d199b62d3c: Layer already exists 17:04:06 5877e233006f: Layer already exists 17:04:06 latest: digest: sha256:dacbb2d023b3d632224be6c7d7f96397bd96f4722551095e6960102cf4787bf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.19 17:04:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:04:07 94ce4c0afed5: Preparing 17:04:07 5877e233006f: Preparing 17:04:07 a0d199b62d3c: Preparing 17:04:07 962a1ddae1f9: Preparing 17:04:07 5d3e392a13a0: Preparing 17:04:07 a0d199b62d3c: Layer already exists 17:04:07 5d3e392a13a0: Layer already exists 17:04:07 5877e233006f: Layer already exists 17:04:07 94ce4c0afed5: Layer already exists 17:04:07 962a1ddae1f9: Layer already exists 17:04:07 2.3.0-dev.19: digest: sha256:dacbb2d023b3d632224be6c7d7f96397bd96f4722551095e6960102cf4787bf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 17:04:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:04:08 94ce4c0afed5: Preparing 17:04:08 5877e233006f: Preparing 17:04:08 a0d199b62d3c: Preparing 17:04:08 962a1ddae1f9: Preparing 17:04:08 5d3e392a13a0: Preparing 17:04:08 5d3e392a13a0: Layer already exists 17:04:08 962a1ddae1f9: Layer already exists 17:04:08 5877e233006f: Layer already exists 17:04:08 a0d199b62d3c: Layer already exists 17:04:08 94ce4c0afed5: Layer already exists 17:04:08 87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19: digest: sha256:dacbb2d023b3d632224be6c7d7f96397bd96f4722551095e6960102cf4787bf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:08 + 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 17:04:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:04:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:04:08 94ce4c0afed5: Preparing 17:04:08 5877e233006f: Preparing 17:04:08 a0d199b62d3c: Preparing 17:04:08 962a1ddae1f9: Preparing 17:04:08 5d3e392a13a0: Preparing 17:04:08 a0d199b62d3c: Layer already exists 17:04:08 94ce4c0afed5: Layer already exists 17:04:08 962a1ddae1f9: Layer already exists 17:04:08 5877e233006f: Layer already exists 17:04:08 5d3e392a13a0: Layer already exists 17:04:08 main: digest: sha256:dacbb2d023b3d632224be6c7d7f96397bd96f4722551095e6960102cf4787bf7 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:04:09 ===================================================== [Pipeline] echo 17:04:09 taggedImages: 17:04:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a 17:04:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:04:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.19 17:04:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:87a99194a9b26dcc406e93b3278c003764c3a70a-2.3.0-dev.19 17:04: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 17:04:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:04:09 17:04:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:04:09 arm64: Pulling from edgex-lftools-log-publisher 17:04:09 8998bd30e6a1: Pulling fs layer 17:04:09 04944245beec: Pulling fs layer 17:04:09 699f458cf7ca: Pulling fs layer 17:04:09 765212b225bb: Pulling fs layer 17:04:09 f23df028b6ca: Pulling fs layer 17:04:09 d65c8cfc05b1: Pulling fs layer 17:04:09 2437ff75d9bd: Pulling fs layer 17:04:09 f23df028b6ca: Waiting 17:04:09 d65c8cfc05b1: Waiting 17:04:09 765212b225bb: Waiting 17:04:09 2437ff75d9bd: Waiting 17:04:09 04944245beec: Verifying Checksum 17:04:09 04944245beec: Download complete 17:04:09 765212b225bb: Verifying Checksum 17:04:09 765212b225bb: Download complete 17:04:09 f23df028b6ca: Verifying Checksum 17:04:09 f23df028b6ca: Download complete 17:04:09 d65c8cfc05b1: Verifying Checksum 17:04:09 d65c8cfc05b1: Download complete 17:04:09 699f458cf7ca: Verifying Checksum 17:04:09 699f458cf7ca: Download complete 17:04:10 8998bd30e6a1: Verifying Checksum 17:04:10 8998bd30e6a1: Download complete 17:04:12 2437ff75d9bd: Verifying Checksum 17:04:12 2437ff75d9bd: Download complete 17:04:14 8998bd30e6a1: Pull complete 17:04:15 04944245beec: Pull complete 17:04:16 699f458cf7ca: Pull complete 17:04:16 765212b225bb: Pull complete 17:04:17 f23df028b6ca: Pull complete 17:04:17 d65c8cfc05b1: Pull complete 17:04:32 2437ff75d9bd: Pull complete 17:04:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:04:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-449 does not seem to be running inside a container 17:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/58 -v /w/workspace/device-onvif-camera/58:/w/workspace/device-onvif-camera/58:rw,z -v /w/workspace/device-onvif-camera/58@tmp:/w/workspace/device-onvif-camera/58@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 17:04:34 $ docker top 875b2465c7c77d23f4c7bb12273f2faedd91d4b87bfebed318b9ba1bc2592469 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:04:35 ---> job-cost.sh 17:04:35 lf-activate-venv: SKIPPING 17:04:35 INFO: No Stack... 17:04:35 INFO: Retrieving Pricing Info for: v3-standard-4 17:04:36 INFO: Archiving Costs [Pipeline] sh 17:04:37 + cat /w/workspace/device-onvif-camera/58/archives/cost.csv 17:04:37 + cut -d, -f6 [Pipeline] lock 17:04:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] 17:04:37 Resource [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] did not exist. Created. 17:04:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:04:37 /w/workspace/device-onvif-camera/58@tmp/durable-986cedc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:04:38 + echo total: 0.10999999940395355 [Pipeline] stash 17:04:38 Warning: overwriting stash ‘stack-cost’ 17:04:38 Stashed 1 file(s) [Pipeline] } 17:04:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 17:04:38 $ docker stop --time=1 875b2465c7c77d23f4c7bb12273f2faedd91d4b87bfebed318b9ba1bc2592469 17:04:39 $ docker rm -f 875b2465c7c77d23f4c7bb12273f2faedd91d4b87bfebed318b9ba1bc2592469 [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 17:04:40 provisioning config files... 17:04:40 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5673909414080412564tmp [Pipeline] { [Pipeline] sh 17:04:40 + set +x 17:04:40 + curl -s https://codecov.io/bash 17:04:40 + bash -s -- 17:04:40 17:04:40 _____ _ 17:04:40 / ____| | | 17:04:40 | | ___ __| | ___ ___ _____ __ 17:04:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:04:40 | |___| (_) | (_| | __/ (_| (_) \ V / 17:04:40 \_____\___/ \__,_|\___|\___\___/ \_/ 17:04:40 Bash-1.0.6 17:04:40 17:04:40 17:04:40 ==> git version 2.25.1 found 17:04:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:04:40 Release-Date: 2020-01-08 17:04:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:04:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:04:40 ==> Jenkins CI detected. 17:04:40 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:04:40 project root: . 17:04:40 --> token set from env 17:04:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:04:40 ==> Running gcov in . (disable via -X gcov) 17:04:40 ==> Python coveragepy not found 17:04:40 ==> Searching for coverage reports in: 17:04:40 + . 17:04:40 -> Found 1 reports 17:04:40 ==> Detecting git/mercurial file structure 17:04:40 ==> Reading reports 17:04:40 + ./coverage.out bytes=77283 17:04:40 ==> Appending adjustments 17:04:40 https://docs.codecov.io/docs/fixing-reports 17:04:40 + Found adjustments 17:04:40 ==> Gzipping contents 17:04:40 12K /tmp/codecov.0vfOCZ.gz 17:04:40 ==> Uploading reports 17:04:40 url: https://codecov.io 17:04:40 query: branch=main&commit=87a99194a9b26dcc406e93b3278c003764c3a70a&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:04:40 -> Pinging Codecov 17:04:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=87a99194a9b26dcc406e93b3278c003764c3a70a&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:04:40 -> Uploading to 17:04:40 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/87a99194a9b26dcc406e93b3278c003764c3a70a/0ebd2c06-6f8b-41ec-a191-3f319c64b8e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T170440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f129632b881879a278a6d09b9ac2b66193afac1a47abc19b4fb608945822788f 17:04:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:04:40 Dload Upload Total Spent Left Speed 17:04:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10548 0 0 100 10548 0 40106 --:--:-- --:--:-- --:--:-- 40106 17:04:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] } 17:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:04:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:04:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:41 17:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:04:42 df9b9388f04a: Pulling fs layer 17:04:42 52dc419b0ee2: Pulling fs layer 17:04:42 25bc292e5bac: Pulling fs layer 17:04:42 114826534d7a: Pulling fs layer 17:04:42 4657fd5d0bcf: Pulling fs layer 17:04:42 6ad1cebc031e: Pulling fs layer 17:04:42 114826534d7a: Waiting 17:04:42 8a3aa393b2d8: Pulling fs layer 17:04:42 8a3aa393b2d8: Waiting 17:04:42 4657fd5d0bcf: Waiting 17:04:42 25bc292e5bac: Download complete 17:04:42 52dc419b0ee2: Download complete 17:04:42 4657fd5d0bcf: Verifying Checksum 17:04:42 4657fd5d0bcf: Download complete 17:04:42 df9b9388f04a: Download complete 17:04:42 df9b9388f04a: Pull complete 17:04:42 6ad1cebc031e: Verifying Checksum 17:04:42 6ad1cebc031e: Download complete 17:04:42 52dc419b0ee2: Pull complete 17:04:42 25bc292e5bac: Pull complete 17:04:43 114826534d7a: Verifying Checksum 17:04:43 114826534d7a: Download complete 17:04:43 8a3aa393b2d8: Verifying Checksum 17:04:43 8a3aa393b2d8: Download complete 17:04:47 114826534d7a: Pull complete 17:04:47 4657fd5d0bcf: Pull complete 17:04:47 6ad1cebc031e: Pull complete 17:04:50 8a3aa393b2d8: Pull complete 17:04:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:04:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:04:50 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:04:52 $ docker top 30bdf8045a45afd1bb4cec540c078ae8c46ac10c2903a497d37d988e1c5ed044 -eo pid,comm [Pipeline] { [Pipeline] echo 17:04:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:04:52 + set -o pipefail 17:04:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:04:59 17:04:59 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:04:59 17:04:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1c49ae1a-1909-4051-977c-d8824818f4a5 17:04:59 17:04:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:04:59 17:04:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:04:59 17:04:59 [Pipeline] } 17:04:59 $ docker stop --time=1 30bdf8045a45afd1bb4cec540c078ae8c46ac10c2903a497d37d988e1c5ed044 17:05:01 $ docker rm -f 30bdf8045a45afd1bb4cec540c078ae8c46ac10c2903a497d37d988e1c5ed044 [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 17:05:01 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:01 provisioning config files... 17:05:01 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3101647356515625325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:02 --> edgex-publish-swagger.sh 17:05:02 === Publish doc/openapi/v2 API === 17:05:02 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:05:02 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:05:02 % Total % Received % Xferd Average Speed Time Time Time Current 17:05:02 Dload Upload Total Spent Left Speed 17:05:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 195k --:--:-- --:--:-- --:--:-- 195k 100 139k 0 0 100 139k 0 195k --:--:-- --:--:-- --:--:-- 195k 17:05:02 17:05:02 [Pipeline] } 17:05:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:05:03 + git log --format=format:%s -1 87a99194a9b26dcc406e93b3278c003764c3a70a [Pipeline] sh 17:05:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:05:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:03 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:05:04 $ docker top 6e3997aad4368d0fccd12bc0b66ac9c7745f9c98d15e8d9d9f161fe7683d0b10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:04 [ssh-agent] Looking for ssh-agent implementation... 17:05:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:04 $ docker exec 6e3997aad4368d0fccd12bc0b66ac9c7745f9c98d15e8d9d9f161fe7683d0b10 ssh-agent 17:05:04 SSH_AUTH_SOCK=/tmp/ssh-zsE5OU9t3pAh/agent.33 17:05:04 SSH_AGENT_PID=39 17:05:04 Running ssh-add (command line suppressed) 17:05:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17468661975861013328.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17468661975861013328.key) 17:05:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:04 + git semver tag 17:05:05 2022-09-21 17:05:05,039 [run_tag] DEBUG tag force:False 17:05:05 2022-09-21 17:05:05,039 [check_head_tag] DEBUG check head tag 17:05:05 2022-09-21 17:05:05,040 [execute] INFO git cat-file --batch-check 17:05:05 2022-09-21 17:05:05,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:05:05 2022-09-21 17:05:05,045 [execute] INFO git cat-file --batch 17:05:05 2022-09-21 17:05:05,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:05:05 2022-09-21 17:05:05,068 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:05 2022-09-21 17:05:05,068 [execute] INFO git tag -a v2.3.0-dev.19 -m v2.3.0-dev.19 17:05:05 2022-09-21 17:05:05,069 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.19', '-m', 'v2.3.0-dev.19'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:05:05 2022-09-21 17:05:05,074 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:05 2.3.0-dev.19 [Pipeline] } 17:05:05 $ docker exec --env ******** --env ******** 6e3997aad4368d0fccd12bc0b66ac9c7745f9c98d15e8d9d9f161fe7683d0b10 ssh-agent -k 17:05:05 unset SSH_AUTH_SOCK; 17:05:05 unset SSH_AGENT_PID; 17:05:05 echo Agent pid 39 killed; 17:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:05 + git semver [Pipeline] } 17:05:05 $ docker stop --time=1 6e3997aad4368d0fccd12bc0b66ac9c7745f9c98d15e8d9d9f161fe7683d0b10 17:05:07 $ docker rm -f 6e3997aad4368d0fccd12bc0b66ac9c7745f9c98d15e8d9d9f161fe7683d0b10 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:07 17:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:07 0.23.1-centos7: Pulling from edgex-lftools 17:05:07 ab5ef0e58194: Pulling fs layer 17:05:07 9712f1f96733: Pulling fs layer 17:05:07 63f879dbbcfc: Pulling fs layer 17:05:07 0d9ebad4ef96: Pulling fs layer 17:05:07 e9a5061849ea: Pulling fs layer 17:05:07 d747dcd14b5f: Pulling fs layer 17:05:07 2de7ff778b66: Pulling fs layer 17:05:07 0d9ebad4ef96: Waiting 17:05:07 e9a5061849ea: Waiting 17:05:07 2de7ff778b66: Waiting 17:05:07 d747dcd14b5f: Waiting 17:05:07 9712f1f96733: Verifying Checksum 17:05:07 9712f1f96733: Download complete 17:05:08 63f879dbbcfc: Verifying Checksum 17:05:08 63f879dbbcfc: Download complete 17:05:08 e9a5061849ea: Verifying Checksum 17:05:08 e9a5061849ea: Download complete 17:05:08 d747dcd14b5f: Verifying Checksum 17:05:08 d747dcd14b5f: Download complete 17:05:08 0d9ebad4ef96: Verifying Checksum 17:05:08 0d9ebad4ef96: Download complete 17:05:08 ab5ef0e58194: Verifying Checksum 17:05:08 ab5ef0e58194: Download complete 17:05:08 2de7ff778b66: Verifying Checksum 17:05:08 2de7ff778b66: Download complete 17:05:11 ab5ef0e58194: Pull complete 17:05:11 9712f1f96733: Pull complete 17:05:11 63f879dbbcfc: Pull complete 17:05:16 0d9ebad4ef96: Pull complete 17:05:16 e9a5061849ea: Pull complete 17:05:16 d747dcd14b5f: Pull complete 17:05:17 2de7ff778b66: Pull complete 17:05:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:17 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:05:19 $ docker top 6ffa928f343d66b19eb10601ae7cc56c0babe8df9f25ebd52fef9413c56a2994 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:05:19 provisioning config files... 17:05:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config567912094436264572tmp 17:05:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7679649656130033228tmp 17:05:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8194725192709697005tmp [Pipeline] { [Pipeline] echo 17:05:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:05:19 ---> sigul-configuration.sh 17:05:19 gpg: directory `/root/.gnupg' created 17:05:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:05:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:05:19 gpg: keyring `/root/.gnupg/secring.gpg' created 17:05:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:05:19 gpg: CAST5 encrypted data 17:05:19 gpg: encrypted with 1 passphrase 17:05:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:05:20 + mkdir /home/jenkins 17:05:20 + mkdir /home/jenkins/sigul [Pipeline] sh 17:05:20 + 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 17:05:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:05:20 ---> sigul-install.sh 17:05:20 Sigul already installed; skipping installation. [Pipeline] sh 17:05:21 + git tag --list 17:05:21 v0.0.0 17:05:21 v0.0.1-dev.1 17:05:21 v0.0.1-dev.10 17:05:21 v0.0.1-dev.11 17:05:21 v0.0.1-dev.12 17:05:21 v0.0.1-dev.13 17:05:21 v0.0.1-dev.14 17:05:21 v0.0.1-dev.15 17:05:21 v0.0.1-dev.16 17:05:21 v0.0.1-dev.17 17:05:21 v0.0.1-dev.18 17:05:21 v0.0.1-dev.19 17:05:21 v0.0.1-dev.2 17:05:21 v0.0.1-dev.20 17:05:21 v0.0.1-dev.21 17:05:21 v0.0.1-dev.22 17:05:21 v0.0.1-dev.23 17:05:21 v0.0.1-dev.24 17:05:21 v0.0.1-dev.25 17:05:21 v0.0.1-dev.26 17:05:21 v0.0.1-dev.27 17:05:21 v0.0.1-dev.28 17:05:21 v0.0.1-dev.3 17:05:21 v0.0.1-dev.4 17:05:21 v0.0.1-dev.5 17:05:21 v0.0.1-dev.6 17:05:21 v0.0.1-dev.7 17:05:21 v0.0.1-dev.8 17:05:21 v0.0.1-dev.9 17:05:21 v2.2.0 17:05:21 v2.2.0-dev.29 17:05:21 v2.2.0-dev.30 17:05:21 v2.2.0-dev.31 17:05:21 v2.2.0-dev.32 17:05:21 v2.2.0-dev.33 17:05:21 v2.2.0-dev.34 17:05:21 v2.2.0-dev.35 17:05:21 v2.3.0-dev.1 17:05:21 v2.3.0-dev.10 17:05:21 v2.3.0-dev.11 17:05:21 v2.3.0-dev.12 17:05:21 v2.3.0-dev.13 17:05:21 v2.3.0-dev.14 17:05:21 v2.3.0-dev.15 17:05:21 v2.3.0-dev.16 17:05:21 v2.3.0-dev.17 17:05:21 v2.3.0-dev.18 17:05:21 v2.3.0-dev.19 17:05:21 v2.3.0-dev.2 17:05:21 v2.3.0-dev.3 17:05:21 v2.3.0-dev.4 17:05:21 v2.3.0-dev.5 17:05:21 v2.3.0-dev.6 17:05:21 v2.3.0-dev.7 17:05:21 v2.3.0-dev.8 17:05:21 v2.3.0-dev.9 [Pipeline] sh 17:05:21 + lftools sign git-tag v2.3.0-dev.19 17:05:21 Signing Git tag with Sigul... 17:05:21 Signing v2.3.0-dev.19 [Pipeline] echo 17:05:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:05:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:05:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:05:22 $ docker stop --time=1 6ffa928f343d66b19eb10601ae7cc56c0babe8df9f25ebd52fef9413c56a2994 17:05:24 $ docker rm -f 6ffa928f343d66b19eb10601ae7cc56c0babe8df9f25ebd52fef9413c56a2994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:05:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:05:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:24 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:05:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:05:25 $ docker top 56b1a168b953a3b1da063c39e8e52e819184fe346fa849a6eed6d8d0d5accc87 -eo pid,comm 17:05:25 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). 17:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:25 [ssh-agent] Looking for ssh-agent implementation... 17:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:25 $ docker exec 56b1a168b953a3b1da063c39e8e52e819184fe346fa849a6eed6d8d0d5accc87 ssh-agent 17:05:25 SSH_AUTH_SOCK=/tmp/ssh-UMr8MNLl1K7U/agent.32 17:05:25 SSH_AGENT_PID=38 17:05:25 Running ssh-add (command line suppressed) 17:05:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14251784847837514090.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14251784847837514090.key) 17:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:26 + git semver bump pre 17:05:26 2022-09-21 17:05:26,253 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:26 2022-09-21 17:05:26,253 [bump_version] DEBUG bumping version:2.3.0-dev.19 on axis:pre with prefix:dev 17:05:26 2022-09-21 17:05:26,253 [bump_version] DEBUG bumped version:2.3.0-dev.20 17:05:26 2022-09-21 17:05:26,253 [write_version] DEBUG write version:2.3.0-dev.20 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:05:26 2022-09-21 17:05:26,253 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:26 2022-09-21 17:05:26,253 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:26 2022-09-21 17:05:26,256 [execute] INFO git cat-file --batch-check 17:05:26 2022-09-21 17:05:26,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:05:26 2022-09-21 17:05:26,263 [execute] INFO git cat-file --batch 17:05:26 2022-09-21 17:05:26,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:05:26 2022-09-21 17:05:26,269 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:26 2.3.0-dev.20 [Pipeline] } 17:05:26 $ docker exec --env ******** --env ******** 56b1a168b953a3b1da063c39e8e52e819184fe346fa849a6eed6d8d0d5accc87 ssh-agent -k 17:05:26 unset SSH_AUTH_SOCK; 17:05:26 unset SSH_AGENT_PID; 17:05:26 echo Agent pid 38 killed; 17:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:26 + git semver [Pipeline] } 17:05:27 $ docker stop --time=1 56b1a168b953a3b1da063c39e8e52e819184fe346fa849a6eed6d8d0d5accc87 17:05:28 $ docker rm -f 56b1a168b953a3b1da063c39e8e52e819184fe346fa849a6eed6d8d0d5accc87 [Pipeline] // withDockerContainer [Pipeline] sh 17:05:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:05:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:29 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:05:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:05:29 $ docker top 2dcd3d4bb1daa64206af0bd6ea4fd00bbb710c4f6b675193fe4913b5d1553a6b -eo pid,comm 17:05:29 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). 17:05:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:29 [ssh-agent] Looking for ssh-agent implementation... 17:05:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:29 $ docker exec 2dcd3d4bb1daa64206af0bd6ea4fd00bbb710c4f6b675193fe4913b5d1553a6b ssh-agent 17:05:29 SSH_AUTH_SOCK=/tmp/ssh-AkTznR5Vo6ex/agent.31 17:05:29 SSH_AGENT_PID=37 17:05:29 Running ssh-add (command line suppressed) 17:05:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16098234067330858219.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16098234067330858219.key) 17:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:30 + git semver push 17:05:30 2022-09-21 17:05:30,407 [run_push] DEBUG push 17:05:30 2022-09-21 17:05:30,408 [execute] INFO git cat-file --batch-check 17:05:30 2022-09-21 17:05:30,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:05:30 2022-09-21 17:05:30,414 [execute] INFO git rev-list c1acfb005c3f6b04cbae20f42da71c2c2c7f968d -- 17:05:30 2022-09-21 17:05:30,414 [execute] DEBUG Popen(['git', 'rev-list', 'c1acfb005c3f6b04cbae20f42da71c2c2c7f968d', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:05:30 2022-09-21 17:05:30,421 [execute] INFO git fetch -v origin 17:05:30 2022-09-21 17:05:30,422 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:05:31 2022-09-21 17:05:31,031 [run_push] DEBUG no remote changes detected 17:05:31 2022-09-21 17:05:31,032 [execute] INFO git push origin semver 17:05:31 2022-09-21 17:05:31,032 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:05:31 2022-09-21 17:05:31,864 [run_push] DEBUG push all version tags 17:05:31 2022-09-21 17:05:31,864 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:05:31 2022-09-21 17:05:31,865 [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) 17:05:32 2022-09-21 17:05:32,652 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:05:32 2.3.0-dev.20 [Pipeline] } 17:05:32 $ docker exec --env ******** --env ******** 2dcd3d4bb1daa64206af0bd6ea4fd00bbb710c4f6b675193fe4913b5d1553a6b ssh-agent -k 17:05:33 unset SSH_AUTH_SOCK; 17:05:33 unset SSH_AGENT_PID; 17:05:33 echo Agent pid 37 killed; 17:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:33 + git semver [Pipeline] } 17:05:33 $ docker stop --time=1 2dcd3d4bb1daa64206af0bd6ea4fd00bbb710c4f6b675193fe4913b5d1553a6b 17:05:34 $ docker rm -f 2dcd3d4bb1daa64206af0bd6ea4fd00bbb710c4f6b675193fe4913b5d1553a6b [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 17:05:35 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:05:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:05:35 total 16 17:05:35 drwxr-xr-x 3 root root 4096 Sep 21 16:55 . 17:05:35 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 17:05 .. 17:05:35 drwxr-xr-x 2 root root 4096 Sep 21 16:55 cost 17:05:35 -rw-r--r-- 1 root root 90 Sep 21 16:55 cost.csv 17:05:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:05:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:05:35 total 16 17:05:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 16:55 . 17:05:35 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 17:05 .. 17:05:35 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 16:55 cost 17:05:35 -rw-r--r-- 1 jenkins jenkins 90 Sep 21 16:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:05:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:05:36 ---> package-listing.sh 17:05:36 ++ facter osfamily 17:05:36 ++ tr '[:upper:]' '[:lower:]' 17:05:36 + OS_FAMILY=debian 17:05:36 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:05:36 + START_PACKAGES=/tmp/packages_start.txt 17:05:36 + END_PACKAGES=/tmp/packages_end.txt 17:05:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:05:36 + PACKAGES=/tmp/packages_start.txt 17:05:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:05:36 + PACKAGES=/tmp/packages_end.txt 17:05:36 + case "${OS_FAMILY}" in 17:05:36 + dpkg -l 17:05:36 + grep '^ii' 17:05:36 + '[' -f /tmp/packages_start.txt ']' 17:05:36 + '[' -f /tmp/packages_end.txt ']' 17:05:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:05:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:05:36 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:05:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:05:36 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 17:05:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:37 prd-ubuntu20.04-docker-8c-8g-448 does not seem to be running inside a container 17:05:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:05:37 $ docker top 307afc692a996e655bdff4dfd39a5c5cb892ffa2337a55f32d9626b86c9dc0e6 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:38 + touch /tmp/pre-build-complete [Pipeline] sh 17:05:38 + mkdir -p /var/log/sysstat [Pipeline] sh 17:05:38 + ls /var/log/sa-host 17:05:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:38 provisioning config files... 17:05:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14196121000128619648tmp [Pipeline] { [Pipeline] echo 17:05:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:05:39 ---> create-netrc.sh [Pipeline] } 17:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:05:39 ---> python-tools-install.sh [Pipeline] echo 17:05:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:05:39 ---> sudo-logs.sh 17:05:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:05:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:05:40 ---> job-cost.sh 17:05:40 lf-activate-venv: SKIPPING 17:05:40 DEBUG: total: 0.2199999988079071 17:05:40 INFO: Retrieving Stack Cost... 17:05:40 INFO: Retrieving Pricing Info for: v3-standard-8 17:05:41 INFO: Archiving Costs [Pipeline] echo 17:05:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:05:41 ---> logs-deploy.sh 17:05:41 lf-activate-venv: SKIPPING 17:05:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/58 17:05:41 INFO: archiving workspace using pattern(s): 17:05:42 Archives upload complete. 17:05:42 INFO: archiving logs to Nexus 17:05:43 ---> uname -a: 17:05:43 Linux prd-ubuntu20-04-docker-8c-8g-448 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:05:43 17:05:43 17:05:43 ---> lscpu: 17:05:43 Architecture: x86_64 17:05:43 CPU op-mode(s): 32-bit, 64-bit 17:05:43 Byte Order: Little Endian 17:05:43 Address sizes: 40 bits physical, 48 bits virtual 17:05:43 CPU(s): 8 17:05:43 On-line CPU(s) list: 0-7 17:05:43 Thread(s) per core: 1 17:05:43 Core(s) per socket: 1 17:05:43 Socket(s): 8 17:05:43 NUMA node(s): 1 17:05:43 Vendor ID: AuthenticAMD 17:05:43 CPU family: 23 17:05:43 Model: 49 17:05:43 Model name: AMD EPYC-Rome Processor 17:05:43 Stepping: 0 17:05:43 CPU MHz: 2799.998 17:05:43 BogoMIPS: 5599.99 17:05:43 Virtualization: AMD-V 17:05:43 Hypervisor vendor: KVM 17:05:43 Virtualization type: full 17:05:43 L1d cache: 256 KiB 17:05:43 L1i cache: 256 KiB 17:05:43 L2 cache: 4 MiB 17:05:43 L3 cache: 128 MiB 17:05:43 NUMA node0 CPU(s): 0-7 17:05:43 Vulnerability Itlb multihit: Not affected 17:05:43 Vulnerability L1tf: Not affected 17:05:43 Vulnerability Mds: Not affected 17:05:43 Vulnerability Meltdown: Not affected 17:05:43 Vulnerability Mmio stale data: Not affected 17:05:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:05:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:05:43 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:05:43 Vulnerability Srbds: Not affected 17:05:43 Vulnerability Tsx async abort: Not affected 17:05:43 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 17:05:43 17:05:43