Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 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-ssh14640418731637194095.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16180279839771855659.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh8498000413199755979.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12460443999930668304.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13560716808238304585.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-9506 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (main) Commit message: "Merge pull request #322 from weichou1229/issue-256" > 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 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 > git rev-list --no-walk 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:58:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:58:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:58:42 ========================================================= 06:58:42 EdgeX Global Pipelines Version Info 06:58:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:58:43 ------------------- 06:58:43 stable info: 06:58:43 ------------------- 06:58:43 Commited By: Bill Mahoney bill.mahoney@intel.com 06:58:43 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:58:43 Message: update stable to v1.0.248 06:58:44 ------------------- 06:58:44 experimental info: 06:58:44 ------------------- 06:58:44 Commited By: **** collab-it+edgex@linuxfoundation.org 06:58:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:58:44 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cf6c29 [Pipeline] echo 06:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:45 provisioning config files... 06:58:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8743462695195680154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:45 ---> docker-login.sh 06:58:45 nexus3.edgexfoundry.org:10001 06:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:45 Configure a credential helper to remove this warning. See 06:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:45 06:58:45 Login Succeeded 06:58:45 nexus3.edgexfoundry.org:10002 06:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:45 Configure a credential helper to remove this warning. See 06:58:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:45 06:58:45 Login Succeeded 06:58:45 nexus3.edgexfoundry.org:10003 06:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:46 Configure a credential helper to remove this warning. See 06:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:46 06:58:46 Login Succeeded 06:58:46 nexus3.edgexfoundry.org:10004 06:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:46 Configure a credential helper to remove this warning. See 06:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:46 06:58:46 Login Succeeded 06:58:46 docker.io 06:58:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:58:46 Configure a credential helper to remove this warning. See 06:58:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:58:46 06:58:46 Login Succeeded 06:58:46 ---> docker-login.sh ends [Pipeline] } 06:58:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:58:46 + git rev-list -1 --merges 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7~1..9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] echo 06:58:46 -----------> git rev-list -1 --merges 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7~1..9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 06:58:46 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [false] [Pipeline] sh 06:58:47 + git log --format=format:%s -1 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] echo 06:58:47 ========================================================= 06:58:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:58:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:47 + git log --format=format:%s -1 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] echo 06:58:47 [semverPrep] GIT_COMMIT: 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7, Commit Message: Merge pull request #322 from weichou1229/issue-256 [Pipeline] echo 06:58:47 [semverPrep] This is not a build commit. [Pipeline] sh 06:58:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:58:47 + grep -v github /etc/ssh/ssh_known_hosts 06:58:47 + [ -e /tmp/ssh_known_hosts ] 06:58:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:58:47 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:58:47 sudo tee -a /etc/ssh/ssh_known_hosts 06:58:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:48 06:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:48 0.1.4: Pulling from edgex-devops/py-git-semver 06:58:48 b85a868b505f: Pulling fs layer 06:58:48 e2be974225ed: Pulling fs layer 06:58:48 339a4e72a1f5: Pulling fs layer 06:58:48 988bab9f4d93: Pulling fs layer 06:58:48 1469e6f7b9e6: Pulling fs layer 06:58:48 eaf3925da568: Pulling fs layer 06:58:48 bab4dde63d76: Pulling fs layer 06:58:48 bde34c3a00c8: Pulling fs layer 06:58:48 b352a97aabf1: Pulling fs layer 06:58:48 4872d77fe225: Pulling fs layer 06:58:48 5851b861e8e6: Pulling fs layer 06:58:48 eaf3925da568: Waiting 06:58:48 988bab9f4d93: Waiting 06:58:48 1469e6f7b9e6: Waiting 06:58:48 b352a97aabf1: Waiting 06:58:48 5851b861e8e6: Waiting 06:58:48 bab4dde63d76: Waiting 06:58:48 bde34c3a00c8: Waiting 06:58:48 e2be974225ed: Verifying Checksum 06:58:48 e2be974225ed: Download complete 06:58:48 988bab9f4d93: Verifying Checksum 06:58:48 988bab9f4d93: Download complete 06:58:48 1469e6f7b9e6: Verifying Checksum 06:58:48 1469e6f7b9e6: Download complete 06:58:48 eaf3925da568: Verifying Checksum 06:58:48 eaf3925da568: Download complete 06:58:48 339a4e72a1f5: Download complete 06:58:48 bde34c3a00c8: Download complete 06:58:48 b352a97aabf1: Download complete 06:58:48 4872d77fe225: Verifying Checksum 06:58:48 4872d77fe225: Download complete 06:58:48 5851b861e8e6: Verifying Checksum 06:58:48 5851b861e8e6: Download complete 06:58:48 b85a868b505f: Verifying Checksum 06:58:48 b85a868b505f: Download complete 06:58:49 bab4dde63d76: Verifying Checksum 06:58:49 bab4dde63d76: Download complete 06:58:49 b85a868b505f: Pull complete 06:58:50 e2be974225ed: Pull complete 06:58:50 339a4e72a1f5: Pull complete 06:58:50 988bab9f4d93: Pull complete 06:58:51 1469e6f7b9e6: Pull complete 06:58:51 eaf3925da568: Pull complete 06:58:53 bab4dde63d76: Pull complete 06:58:53 bde34c3a00c8: Pull complete 06:58:53 b352a97aabf1: Pull complete 06:58:53 4872d77fe225: Pull complete 06:58:53 5851b861e8e6: Pull complete 06:58:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:58:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:58:53 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 06:58:53 $ 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 06:58:54 $ docker top 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b -eo pid,comm 06:58:54 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). 06:58:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:54 [ssh-agent] Looking for ssh-agent implementation... 06:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:55 $ docker exec 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b ssh-agent 06:58:55 SSH_AUTH_SOCK=/tmp/ssh-gzH2q761Aiep/agent.32 06:58:55 SSH_AGENT_PID=39 06:58:55 Running ssh-add (command line suppressed) 06:58:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18181730139556742199.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18181730139556742199.key) 06:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:55 + git tag --points-at HEAD [Pipeline] } 06:58:55 $ docker exec --env ******** --env ******** 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b ssh-agent -k 06:58:55 unset SSH_AUTH_SOCK; 06:58:55 unset SSH_AGENT_PID; 06:58:55 echo Agent pid 39 killed; 06:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:58:55 [ssh-agent] Looking for ssh-agent implementation... 06:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:58:55 $ docker exec 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b ssh-agent 06:58:55 SSH_AUTH_SOCK=/tmp/ssh-TZD0y8wkmVxb/agent.73 06:58:55 SSH_AGENT_PID=79 06:58:55 Running ssh-add (command line suppressed) 06:58:56 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3613473227467619982.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3613473227467619982.key) 06:58:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:58:56 + git semver init 06:58:56 2023-04-24 06:58:56,558 [run_init] DEBUG init version:0.0.0 force:False 06:58:56 2023-04-24 06:58:56,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 06:58:56 2023-04-24 06:58:56,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 06:58:56 2023-04-24 06:58:56,560 [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) 06:58:57 2023-04-24 06:58:57,476 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 06:58:57 2023-04-24 06:58:57,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 06:58:57 2023-04-24 06:58:57,477 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:58:57 2023-04-24 06:58:57,477 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:58:57 3.0.0-dev.31 [Pipeline] } 06:58:57 $ docker exec --env ******** --env ******** 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b ssh-agent -k 06:58:57 unset SSH_AUTH_SOCK; 06:58:57 unset SSH_AGENT_PID; 06:58:57 echo Agent pid 79 killed; 06:58:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:58:58 + git semver [Pipeline] } 06:58:58 $ docker stop --time=1 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b 06:58:59 $ docker rm -f --volumes 935c0da81ef3c07cffd1e89b63a8670360d26cf3fc0bfe38594f5dbffe11648b [Pipeline] // withDockerContainer [Pipeline] sh 06:58:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:59:00 Stashed 1 file(s) [Pipeline] echo 06:59:00 [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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 06:59:00 provisioning config files... 06:59:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1852344846200553710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9514 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 06:59:00 Running in /w/workspace/device-onvif-camera/126 [Pipeline] { [Pipeline] checkout 06:59:00 The recommended git tool is: git 06:59:00 ---> docker-login.sh 06:59:00 nexus3.edgexfoundry.org:10001 06:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:00 Configure a credential helper to remove this warning. See 06:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:00 06:59:00 Login Succeeded 06:59:00 nexus3.edgexfoundry.org:10002 06:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:00 Configure a credential helper to remove this warning. See 06:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:00 06:59:00 Login Succeeded 06:59:00 nexus3.edgexfoundry.org:10003 06:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:00 Configure a credential helper to remove this warning. See 06:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:00 06:59:00 Login Succeeded 06:59:00 nexus3.edgexfoundry.org:10004 06:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:00 Configure a credential helper to remove this warning. See 06:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:00 06:59:00 Login Succeeded 06:59:00 docker.io 06:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:01 Configure a credential helper to remove this warning. See 06:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:01 06:59:01 Login Succeeded 06:59:01 ---> docker-login.sh ends [Pipeline] } 06:59:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:59:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:01 ========================================================= 06:59:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:59:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:59:01 Sending build context to Docker daemon 26.93MB 06:59:01 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:59:01 Step 2/13 : FROM ${BASE} AS builder 06:59:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:59:01 63b65145d645: Pulling fs layer 06:59:01 a2d21d5440eb: Pulling fs layer 06:59:01 935e6c44a52c: Pulling fs layer 06:59:01 94cc34f8dd06: Pulling fs layer 06:59:01 30dea6a524f1: Pulling fs layer 06:59:01 a2aff8979fd8: Pulling fs layer 06:59:01 6808be2612f2: Pulling fs layer 06:59:01 f25807f1079a: Pulling fs layer 06:59:01 94cc34f8dd06: Waiting 06:59:01 30dea6a524f1: Waiting 06:59:01 a2aff8979fd8: Waiting 06:59:01 6808be2612f2: Waiting 06:59:01 f25807f1079a: Waiting 06:59:01 a2d21d5440eb: Verifying Checksum 06:59:01 a2d21d5440eb: Download complete 06:59:01 94cc34f8dd06: Verifying Checksum 06:59:01 94cc34f8dd06: Download complete 06:59:01 30dea6a524f1: Download complete 06:59:01 63b65145d645: Verifying Checksum 06:59:02 a2aff8979fd8: Verifying Checksum 06:59:02 a2aff8979fd8: Download complete 06:59:02 63b65145d645: Pull complete 06:59:02 a2d21d5440eb: Pull complete 06:59:02 f25807f1079a: Verifying Checksum 06:59:02 f25807f1079a: Download complete 06:59:02 935e6c44a52c: Download complete 06:59:02 6808be2612f2: Verifying Checksum 06:59:02 6808be2612f2: Download complete 06:59:05 using credential edgex-jenkins-ssh 06:59:05 Cloning the remote Git repository 06:59:06 935e6c44a52c: Pull complete 06:59:06 94cc34f8dd06: Pull complete 06:59:06 30dea6a524f1: Pull complete 06:59:05 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:59:05 > git init /w/workspace/device-onvif-camera/126 # timeout=10 06:59:05 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:59:05 > git --version # timeout=10 06:59:05 > git --version # 'git version 2.25.1' 06:59:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:59:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:06 a2aff8979fd8: Pull complete 06:59:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:59:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:59:08 Avoid second fetch 06:59:08 Checking out Revision 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 (main) 06:59:08 Commit message: "Merge pull request #322 from weichou1229/issue-256" 06:59:08 > git config core.sparsecheckout # timeout=10 06:59:08 > git checkout -f 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 # timeout=10 06:59:09 6808be2612f2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:59:09 f25807f1079a: Pull complete 06:59:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:59:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:59:09 % Total % Received % Xferd Average Speed Time Time Time Current 06:59:09 Dload Upload Total Spent Left Speed 06:59:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k 06:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:59:09 ---> 3b553350e43f 06:59:09 Step 3/13 : ARG ADD_BUILD_TAGS="" [Pipeline] sh 06:59:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:59:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:59:10 + sudo tee /etc/docker/daemon.new 06:59:10 { 06:59:10 "registry-mirrors": [ 06:59:10 "https://nexus3.edgexfoundry.org:10001" 06:59:10 ], 06:59:10 "bip": "10.250.0.254/24", 06:59:10 "hosts": [ 06:59:10 "tcp://0.0.0.0:5555", 06:59:10 "unix:///var/run/docker.sock" 06:59:10 ], 06:59:10 "mtu": 1458, 06:59:10 "selinux-enabled": true, 06:59:10 "seccomp-profile": "/etc/docker/seccomp.json" 06:59:10 } [Pipeline] sh 06:59:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:59:11 + sudo service docker restart 06:59:13 ---> Running in bcc946c8583a 06:59:13 Removing intermediate container bcc946c8583a 06:59:13 ---> 9e560d6ca59f 06:59:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:59:13 ---> Running in 134cc374b7a6 06:59:13 Removing intermediate container 134cc374b7a6 06:59:13 ---> 092d45c59fd5 06:59:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:59:13 ---> Running in 7181a83ae567 06:59:13 Removing intermediate container 7181a83ae567 06:59:13 ---> e33e481a83dc 06:59:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:59:13 ---> Running in 87480a252213 06:59:13 Removing intermediate container 87480a252213 06:59:13 ---> fedc34c5af8a 06:59:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:59:13 ---> Running in 363f120d4511 06:59:13 Removing intermediate container 363f120d4511 06:59:13 ---> eddcdea5f507 06:59:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:59:13 ---> Running in 76ef698ffd97 06:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:59:14 OK: 265 MiB in 53 packages 06:59:14 Removing intermediate container 76ef698ffd97 06:59:14 ---> dbe62d3e54be 06:59:14 Step 9/13 : WORKDIR /device-onvif-camera 06:59:14 ---> Running in f5c54fb51c40 06:59:14 Removing intermediate container f5c54fb51c40 06:59:14 ---> 0212a0a43711 06:59:14 Step 10/13 : COPY go.mod vendor* ./ 06:59:15 ---> 6d99483395f2 06:59:15 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:15 ---> Running in 7b4afe5d9f0f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:59:31 provisioning config files... 06:59:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/126@tmp/config4804714490551900252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:32 ---> docker-login.sh 06:59:32 nexus3.edgexfoundry.org:10001 06:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:32 Configure a credential helper to remove this warning. See 06:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:32 06:59:32 Login Succeeded 06:59:32 nexus3.edgexfoundry.org:10002 06:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:32 Configure a credential helper to remove this warning. See 06:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:32 06:59:32 Login Succeeded 06:59:32 nexus3.edgexfoundry.org:10003 06:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:33 Configure a credential helper to remove this warning. See 06:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:33 06:59:33 Login Succeeded 06:59:33 nexus3.edgexfoundry.org:10004 06:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:33 Configure a credential helper to remove this warning. See 06:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:33 06:59:33 Login Succeeded 06:59:33 docker.io 06:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:59:34 Configure a credential helper to remove this warning. See 06:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:59:34 06:59:34 Login Succeeded 06:59:34 ---> docker-login.sh ends [Pipeline] } 06:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:59:34 ========================================================= 06:59:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:59:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:59:35 Sending build context to Docker daemon 19.66MB 06:59:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:59:35 Step 2/13 : FROM ${BASE} AS builder 06:59:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:59:35 af6eaf76a39c: Pulling fs layer 06:59:35 55522c791124: Pulling fs layer 06:59:35 ce5c4a1c91eb: Pulling fs layer 06:59:35 169dfbe0d373: Pulling fs layer 06:59:35 e1ff8fa3b103: Pulling fs layer 06:59:35 52ebb69f0ebf: Pulling fs layer 06:59:35 5abe8eddf0d5: Pulling fs layer 06:59:35 169dfbe0d373: Waiting 06:59:35 e1ff8fa3b103: Waiting 06:59:35 5abe8eddf0d5: Waiting 06:59:35 55522c791124: Verifying Checksum 06:59:35 55522c791124: Download complete 06:59:35 169dfbe0d373: Verifying Checksum 06:59:35 169dfbe0d373: Download complete 06:59:35 e1ff8fa3b103: Download complete 06:59:35 af6eaf76a39c: Verifying Checksum 06:59:35 af6eaf76a39c: Download complete 06:59:36 af6eaf76a39c: Pull complete 06:59:36 5abe8eddf0d5: Verifying Checksum 06:59:36 5abe8eddf0d5: Download complete 06:59:36 55522c791124: Pull complete 06:59:37 Removing intermediate container 7b4afe5d9f0f 06:59:37 ---> fc3b30032878 06:59:37 Step 12/13 : COPY . . 06:59:37 ---> d5dea2655884 06:59:37 Step 13/13 : RUN ${MAKE} 06:59:37 ---> Running in 0021fd7dae83 06:59:37 noop 06:59:37 Removing intermediate container 0021fd7dae83 06:59:37 ---> 6988d5a0c1e3 06:59:37 Successfully built 6988d5a0c1e3 06:59:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:37 + docker inspect -f . ci-base-image-x86_64 06:59:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:37 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 06:59:37 $ 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 06:59:37 ce5c4a1c91eb: Verifying Checksum 06:59:37 ce5c4a1c91eb: Download complete 06:59:37 52ebb69f0ebf: Verifying Checksum 06:59:37 52ebb69f0ebf: Download complete 06:59:38 $ docker top f4864299b5979e37a63e9832c6c5d20ae1e9cce26bff8a8dab8eae21b4780899 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:38 + go version 06:59:38 go version go1.20.2 linux/amd64 [Pipeline] } 06:59:38 $ docker stop --time=1 f4864299b5979e37a63e9832c6c5d20ae1e9cce26bff8a8dab8eae21b4780899 06:59:39 $ docker rm -f --volumes f4864299b5979e37a63e9832c6c5d20ae1e9cce26bff8a8dab8eae21b4780899 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:59:40 + docker inspect -f . ci-base-image-x86_64 06:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:40 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 06:59:40 $ 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 06:59:40 $ docker top b110a39a1184437ac9132d342ae2b0653a86d19ab54b242c1cce63ee17fd9da2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:59:41 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 06:59:41 + make test 06:59:41 go test ./... -coverprofile=coverage.out ./... 06:59:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:59:48 ce5c4a1c91eb: Pull complete 06:59:48 169dfbe0d373: Pull complete 06:59:48 e1ff8fa3b103: Pull complete 06:59:54 52ebb69f0ebf: Pull complete 06:59:56 5abe8eddf0d5: Pull complete 06:59:56 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:59:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:59:56 ---> 6cb57ee374ae 06:59:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:59:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:59:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:59:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.6% of statements 06:59:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.283s coverage: 86.5% of statements 06:59:58 ---> Running in f257ea93c878 06:59:58 Removing intermediate container f257ea93c878 06:59:58 ---> afcdea8bb5ce 06:59:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:59:58 ---> Running in 3a4b40d0233b 06:59:58 Removing intermediate container 3a4b40d0233b 06:59:58 ---> cc0752d4dd6b 06:59:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:59:58 ---> Running in 35e5ac63b60c 06:59:58 Removing intermediate container 35e5ac63b60c 06:59:58 ---> fcd6fe6f952e 06:59:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:59:58 ---> Running in 024f4ecc5c47 06:59:59 Removing intermediate container 024f4ecc5c47 06:59:59 ---> f2ac4cac896b 06:59:59 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:59:59 ---> Running in 8e58f45dd4dd 06:59:59 Removing intermediate container 8e58f45dd4dd 06:59:59 ---> 6bff948ef43b 06:59:59 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:59:59 ---> Running in 4cf95116ee23 07:00:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:00:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:00:02 OK: 263 MiB in 53 packages 07:00:03 Removing intermediate container 4cf95116ee23 07:00:03 ---> d0bc9ccb4010 07:00:03 Step 9/13 : WORKDIR /device-onvif-camera 07:00:03 ---> Running in da6b469566d0 07:00:03 Removing intermediate container da6b469566d0 07:00:03 ---> 875c97b39cf3 07:00:03 Step 10/13 : COPY go.mod vendor* ./ 07:00:03 ---> 6f0790ffa473 07:00:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:03 go vet ./... 07:00:04 ---> Running in 3a2fb85dae3c 07:00:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:00:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:00:07 ./bin/test-attribution-txt.sh [Pipeline] echo 07:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:00:07 $ docker stop --time=1 b110a39a1184437ac9132d342ae2b0653a86d19ab54b242c1cce63ee17fd9da2 07:00:09 $ docker rm -f --volumes b110a39a1184437ac9132d342ae2b0653a86d19ab54b242c1cce63ee17fd9da2 [Pipeline] // withDockerContainer [Pipeline] sh 07:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:00:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:00:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:14 + ls -al . 07:00:14 total 236 07:00:14 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:59 . 07:00:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:58 .. 07:00:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:58 .git 07:00:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:58 .github 07:00:14 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:58 .gitignore 07:00:14 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:58 .golangci.yml 07:00:14 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:58 .semver 07:00:14 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:58 Attribution.txt 07:00:14 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:58 CHANGELOG.md 07:00:14 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:58 Dockerfile 07:00:14 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:58 GOVERNANCE.md 07:00:14 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:58 Jenkinsfile 07:00:14 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:58 LICENSE 07:00:14 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:58 Makefile 07:00:14 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:58 OWNERS.md 07:00:14 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:58 README.md 07:00:14 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:58 VERSION 07:00:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:58 bin 07:00:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:58 cmd 07:00:14 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:59 coverage.out 07:00:14 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:58 doc 07:00:14 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:58 go.mod 07:00:14 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:58 go.sum 07:00:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:58 internal 07:00:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:58 snap 07:00:14 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00: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=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 --label arch=amd64 --label version=3.0.0-dev.31 . 07:00:16 Sending build context to Docker daemon 27.01MB 07:00:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 07:00:16 Step 2/26 : FROM ${BASE} AS builder 07:00:16 ---> 6988d5a0c1e3 07:00:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:00:16 ---> Running in 76906322a231 07:00:16 Removing intermediate container 76906322a231 07:00:16 ---> c703e6a650e2 07:00:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:00:16 ---> Running in 9e215c6feca6 07:00:16 Removing intermediate container 9e215c6feca6 07:00:16 ---> c4d78b9a0483 07:00:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 07:00:16 ---> Running in 945541a1e959 07:00:17 Removing intermediate container 945541a1e959 07:00:17 ---> 1a862d5e9805 07:00:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:00:17 ---> Running in 5f26c825dc5f 07:00:17 Removing intermediate container 5f26c825dc5f 07:00:17 ---> 842bc0777b7f 07:00:17 Step 7/26 : LABEL Name=edgex-device-onvif-camera 07:00:17 ---> Running in 8b40c4742a9d 07:00:17 Removing intermediate container 8b40c4742a9d 07:00:17 ---> 50e2c989e740 07:00:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:00:17 ---> Running in 23577135f920 07:00:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:19 OK: 265 MiB in 53 packages 07:00:19 Removing intermediate container 23577135f920 07:00:19 ---> 1a92420e1577 07:00:19 Step 9/26 : WORKDIR /device-onvif-camera 07:00:19 ---> Running in 0e0c98194fbb 07:00:19 Removing intermediate container 0e0c98194fbb 07:00:19 ---> 99decd33bd8f 07:00:19 Step 10/26 : COPY go.mod vendor* ./ 07:00:20 ---> 27fa01e85757 07:00:20 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:20 ---> Running in ebab60e4d766 07:00:20 Removing intermediate container ebab60e4d766 07:00:20 ---> a28be09986bf 07:00:20 Step 12/26 : COPY . . 07:00:21 ---> 4f0991e5cde3 07:00:21 Step 13/26 : RUN ${MAKE} 07:00:21 ---> Running in 5b010ac7a69e 07:00:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:00:41 Removing intermediate container 5b010ac7a69e 07:00:41 ---> 2231ec280e4a 07:00:41 Step 14/26 : FROM alpine:3.17 07:00:41 3.17: Pulling from library/alpine 07:00:41 f56be85fc22e: Pulling fs layer 07:00:41 f56be85fc22e: Verifying Checksum 07:00:41 f56be85fc22e: Download complete 07:00:41 f56be85fc22e: Pull complete 07:00:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:00:41 Status: Downloaded newer image for alpine:3.17 07:00:41 ---> 9ed4aefc74f6 07:00:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:00:41 ---> Running in b5a657b36988 07:00:41 Removing intermediate container b5a657b36988 07:00:41 ---> 8d2d72fac679 07:00:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:00:41 ---> Running in b74892c67075 07:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:41 (1/1) Installing dumb-init (1.2.5-r2) 07:00:41 Executing busybox-1.35.0-r29.trigger 07:00:41 OK: 7 MiB in 16 packages 07:00:41 Removing intermediate container b74892c67075 07:00:41 ---> f57115058728 07:00:41 Step 17/26 : WORKDIR / 07:00:41 ---> Running in 56efc3773ff4 07:00:41 Removing intermediate container 56efc3773ff4 07:00:41 ---> ca8c984174a2 07:00:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:00:41 ---> 2936fea10e4a 07:00:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:00:41 ---> 2c041b70684a 07:00:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:00:42 ---> 20139237832f 07:00:42 Step 21/26 : EXPOSE 59984 07:00:42 ---> Running in ba81c9b4ea3e 07:00:42 Removing intermediate container ba81c9b4ea3e 07:00:42 ---> 196796eabb5a 07:00:42 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:00:42 ---> Running in 797503d07b6d 07:00:42 Removing intermediate container 797503d07b6d 07:00:42 ---> 5f6444581178 07:00:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:00:42 ---> Running in e9c91f057df5 07:00:42 Removing intermediate container e9c91f057df5 07:00:42 ---> f74e953ea6d9 07:00:42 Step 24/26 : LABEL arch=amd64 07:00:42 ---> Running in c36004edf381 07:00:42 Removing intermediate container c36004edf381 07:00:42 ---> b1ea4fe08afd 07:00:42 Step 25/26 : LABEL git_sha=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:00:42 ---> Running in 0b241013b835 07:00:42 Removing intermediate container 0b241013b835 07:00:42 ---> 46ae1074d242 07:00:42 Step 26/26 : LABEL version=3.0.0-dev.31 07:00:42 ---> Running in 5246ad9a83f6 07:00:42 Removing intermediate container 5246ad9a83f6 07:00:42 ---> cceb38373d9f 07:00:42 [Warning] One or more build-args [ARCH] were not consumed 07:00:42 Successfully built cceb38373d9f 07:00:42 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 07:00:42 provisioning config files... 07:00:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2462156957917323669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:43 ---> docker-login.sh 07:00:43 nexus3.edgexfoundry.org:10001 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 nexus3.edgexfoundry.org:10002 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 nexus3.edgexfoundry.org:10003 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 nexus3.edgexfoundry.org:10004 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 docker.io 07:00:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:43 Configure a credential helper to remove this warning. See 07:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:43 07:00:43 Login Succeeded 07:00:43 ---> docker-login.sh ends [Pipeline] } 07:00:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:00:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:00:43 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 07:00:43 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:00:43 latest 07:00:43 3.0.0-dev.31 07:00:43 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:00:43 main 07:00:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:00:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:00:44 5c0e6d85af50: Preparing 07:00:44 b6b9e72e5867: Preparing 07:00:44 c305e6ab2624: Preparing 07:00:44 5ffb794b4a0c: Preparing 07:00:44 f1417ff83b31: Preparing 07:00:44 f1417ff83b31: Layer already exists 07:00:44 5c0e6d85af50: Pushed 07:00:44 b6b9e72e5867: Pushed 07:00:44 5ffb794b4a0c: Pushed 07:00:47 c305e6ab2624: Pushed 07:00:47 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7: digest: sha256:132d469c677b3937ebee297c9757df933d508e15bbc730faefb192c560a18bc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:00:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:00:48 5c0e6d85af50: Preparing 07:00:48 b6b9e72e5867: Preparing 07:00:48 c305e6ab2624: Preparing 07:00:48 5ffb794b4a0c: Preparing 07:00:48 f1417ff83b31: Preparing 07:00:48 c305e6ab2624: Layer already exists 07:00:48 5ffb794b4a0c: Layer already exists 07:00:48 5c0e6d85af50: Layer already exists 07:00:48 f1417ff83b31: Layer already exists 07:00:48 b6b9e72e5867: Layer already exists 07:00:48 latest: digest: sha256:132d469c677b3937ebee297c9757df933d508e15bbc730faefb192c560a18bc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 07:00:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:00:48 5c0e6d85af50: Preparing 07:00:48 b6b9e72e5867: Preparing 07:00:48 c305e6ab2624: Preparing 07:00:48 5ffb794b4a0c: Preparing 07:00:48 f1417ff83b31: Preparing 07:00:48 5c0e6d85af50: Layer already exists 07:00:48 f1417ff83b31: Layer already exists 07:00:48 5ffb794b4a0c: Layer already exists 07:00:48 b6b9e72e5867: Layer already exists 07:00:48 c305e6ab2624: Layer already exists 07:00:48 3.0.0-dev.31: digest: sha256:132d469c677b3937ebee297c9757df933d508e15bbc730faefb192c560a18bc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:00:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:00:49 5c0e6d85af50: Preparing 07:00:49 b6b9e72e5867: Preparing 07:00:49 c305e6ab2624: Preparing 07:00:49 5ffb794b4a0c: Preparing 07:00:49 f1417ff83b31: Preparing 07:00:49 5c0e6d85af50: Layer already exists 07:00:49 f1417ff83b31: Layer already exists 07:00:49 5ffb794b4a0c: Layer already exists 07:00:49 c305e6ab2624: Layer already exists 07:00:49 b6b9e72e5867: Layer already exists 07:00:49 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31: digest: sha256:132d469c677b3937ebee297c9757df933d508e15bbc730faefb192c560a18bc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 07:00:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 07:00:50 5c0e6d85af50: Preparing 07:00:50 b6b9e72e5867: Preparing 07:00:50 c305e6ab2624: Preparing 07:00:50 5ffb794b4a0c: Preparing 07:00:50 f1417ff83b31: Preparing 07:00:50 5ffb794b4a0c: Layer already exists 07:00:50 b6b9e72e5867: Layer already exists 07:00:50 c305e6ab2624: Layer already exists 07:00:50 f1417ff83b31: Layer already exists 07:00:50 5c0e6d85af50: Layer already exists 07:00:50 main: digest: sha256:132d469c677b3937ebee297c9757df933d508e15bbc730faefb192c560a18bc0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:00:50 ===================================================== [Pipeline] echo 07:00:50 taggedImages: 07:00:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:00:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 07:00:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 07:00:50 - nexus3.edgexfoundry.org:10004/device-onvif-camera:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:00:50 - 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 07:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:50 07:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:50 latest: Pulling from edgex-lftools-log-publisher 07:00:50 5eb5b503b376: Pulling fs layer 07:00:50 5c69ac0246d0: Pulling fs layer 07:00:50 ec43610c2a17: Pulling fs layer 07:00:50 3a2ae6a8a46f: Pulling fs layer 07:00:50 33b1e0a273af: Pulling fs layer 07:00:50 5d3b04190fa2: Pulling fs layer 07:00:50 2f39f015ded8: Pulling fs layer 07:00:50 33b1e0a273af: Waiting 07:00:50 2f39f015ded8: Waiting 07:00:50 5d3b04190fa2: Waiting 07:00:50 5c69ac0246d0: Verifying Checksum 07:00:50 5c69ac0246d0: Download complete 07:00:50 3a2ae6a8a46f: Verifying Checksum 07:00:50 3a2ae6a8a46f: Download complete 07:00:50 33b1e0a273af: Verifying Checksum 07:00:50 33b1e0a273af: Download complete 07:00:50 5d3b04190fa2: Verifying Checksum 07:00:50 5d3b04190fa2: Download complete 07:00:51 ec43610c2a17: Verifying Checksum 07:00:51 ec43610c2a17: Download complete 07:00:51 5eb5b503b376: Verifying Checksum 07:00:51 5eb5b503b376: Download complete 07:00:51 2f39f015ded8: Download complete 07:00:52 5eb5b503b376: Pull complete 07:00:52 5c69ac0246d0: Pull complete 07:00:52 ec43610c2a17: Pull complete 07:00:52 3a2ae6a8a46f: Pull complete 07:00:52 33b1e0a273af: Pull complete 07:00:53 5d3b04190fa2: Pull complete 07:00:57 2f39f015ded8: Pull complete 07:00:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:00:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:57 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:00:57 $ 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 07:01:00 $ docker top dfa891ab730cf8580d502acb977856089adf47aa1184a8af271e2ca3e8b97a6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:00 ---> job-cost.sh 07:01:00 lf-activate-venv: SKIPPING 07:01:00 INFO: No Stack... 07:01:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:01:01 INFO: Archiving Costs [Pipeline] sh 07:01:01 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 07:01:01 + cut -d, -f6 [Pipeline] lock 07:01:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] 07:01:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] did not exist. Created. 07:01:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:01:02 + echo total: 0.2199999988079071 [Pipeline] stash 07:01:02 Stashed 1 file(s) [Pipeline] } 07:01:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 07:01:02 $ docker stop --time=1 dfa891ab730cf8580d502acb977856089adf47aa1184a8af271e2ca3e8b97a6d 07:01:03 $ docker rm -f --volumes dfa891ab730cf8580d502acb977856089adf47aa1184a8af271e2ca3e8b97a6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:01:03 Removing intermediate container 3a2fb85dae3c 07:01:03 ---> 63c3cbdc0bb9 07:01:03 Step 12/13 : COPY . . 07:01:03 ---> 7905529acddd 07:01:03 Step 13/13 : RUN ${MAKE} 07:01:03 ---> Running in d5e00d69693d 07:01:03 noop 07:01:03 Removing intermediate container d5e00d69693d 07:01:03 ---> 86c8cf662bd2 07:01:03 Successfully built 86c8cf662bd2 07:01:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:03 + docker inspect -f . ci-base-image-arm64 07:01:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:04 prd-ubuntu20.04-docker-arm64-4c-16g-9514 does not seem to be running inside a container 07:01:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/126 -v /w/workspace/device-onvif-camera/126:/w/workspace/device-onvif-camera/126:rw,z -v /w/workspace/device-onvif-camera/126@tmp:/w/workspace/device-onvif-camera/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:05 $ docker top 6249d5bbb3601f5e5d64954318708188925999f1d63349dde033a28692a9f663 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:06 + go version 07:01:06 go version go1.20.2 linux/arm64 [Pipeline] } 07:01:06 $ docker stop --time=1 6249d5bbb3601f5e5d64954318708188925999f1d63349dde033a28692a9f663 07:01:07 $ docker rm -f --volumes 6249d5bbb3601f5e5d64954318708188925999f1d63349dde033a28692a9f663 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:08 + docker inspect -f . ci-base-image-arm64 07:01:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:08 prd-ubuntu20.04-docker-arm64-4c-16g-9514 does not seem to be running inside a container 07:01:08 $ 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/126 -v /w/workspace/device-onvif-camera/126:/w/workspace/device-onvif-camera/126:rw,z -v /w/workspace/device-onvif-camera/126@tmp:/w/workspace/device-onvif-camera/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:01:09 $ docker top 25ac9b28487ef713d04aabd2dfc81dc5077d5efc4d604d6970c8c63e77c30fc9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/126 [Pipeline] fileExists [Pipeline] sh 07:01:11 + make test 07:01:11 go test ./... -coverprofile=coverage.out ./... 07:01:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:03:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:03:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:03:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.6% of statements 07:04:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.025s coverage: 86.5% of statements 07:04:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:04:05 go vet ./... 07:04:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:04:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:04:37 ./bin/test-attribution-txt.sh [Pipeline] echo 07:04:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:04:37 $ docker stop --time=1 25ac9b28487ef713d04aabd2dfc81dc5077d5efc4d604d6970c8c63e77c30fc9 07:04:39 $ docker rm -f --volumes 25ac9b28487ef713d04aabd2dfc81dc5077d5efc4d604d6970c8c63e77c30fc9 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:40 Warning: overwriting stash ‘coverage-report’ 07:04:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:04:41 + ls -al . 07:04:41 total 232 07:04:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 07:01 . 07:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:59 .. 07:04:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:59 .git 07:04:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:59 .github 07:04:41 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:59 .gitignore 07:04:41 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:59 .golangci.yml 07:04:41 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:59 Attribution.txt 07:04:41 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:59 CHANGELOG.md 07:04:41 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:59 Dockerfile 07:04:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:59 GOVERNANCE.md 07:04:41 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:59 Jenkinsfile 07:04:41 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:59 LICENSE 07:04:41 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:59 Makefile 07:04:41 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:59 OWNERS.md 07:04:41 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:59 README.md 07:04:41 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:58 VERSION 07:04:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:59 bin 07:04:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:59 cmd 07:04:41 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 07:04 coverage.out 07:04:41 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:59 doc 07:04:41 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:59 go.mod 07:04:41 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:59 go.sum 07:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:59 internal 07:04:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:59 snap 07:04:41 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:42 + 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=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 --label arch=arm64 --label version=3.0.0-dev.31 . 07:04:42 Sending build context to Docker daemon 19.74MB 07:04:42 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 07:04:42 Step 2/26 : FROM ${BASE} AS builder 07:04:42 ---> 86c8cf662bd2 07:04:42 Step 3/26 : ARG ADD_BUILD_TAGS="" 07:04:42 ---> Running in b4b7cd43bd3b 07:04:43 Removing intermediate container b4b7cd43bd3b 07:04:43 ---> 48efb539f023 07:04:43 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:04:43 ---> Running in a1861022d790 07:04:43 Removing intermediate container a1861022d790 07:04:43 ---> 2a14845f11ea 07:04:43 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 07:04:43 ---> Running in 4e741a6bbde5 07:04:43 Removing intermediate container 4e741a6bbde5 07:04:43 ---> f0da9d1acfe6 07:04:43 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 07:04:43 ---> Running in 4baf791c2817 07:04:44 Removing intermediate container 4baf791c2817 07:04:44 ---> 9d1c30dcdadc 07:04:44 Step 7/26 : LABEL Name=edgex-device-onvif-camera 07:04:44 ---> Running in 02caee2fc830 07:04:44 Removing intermediate container 02caee2fc830 07:04:44 ---> 0a26967f61a2 07:04:44 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:04:44 ---> Running in 7bcd7e7af81d 07:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:04:47 OK: 263 MiB in 53 packages 07:04:47 Removing intermediate container 7bcd7e7af81d 07:04:47 ---> d86915127fa6 07:04:47 Step 9/26 : WORKDIR /device-onvif-camera 07:04:48 ---> Running in c3afc576e702 07:04:48 Removing intermediate container c3afc576e702 07:04:48 ---> f019ff8e815c 07:04:48 Step 10/26 : COPY go.mod vendor* ./ 07:04:48 ---> 5c399bae1934 07:04:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:04:48 ---> Running in 03e7b01eb6c1 07:04:51 Removing intermediate container 03e7b01eb6c1 07:04:51 ---> f7de654d869b 07:04:51 Step 12/26 : COPY . . 07:04:52 ---> 26269ed871f5 07:04:52 Step 13/26 : RUN ${MAKE} 07:04:52 ---> Running in afa47b402199 07:04:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:07:15 Removing intermediate container afa47b402199 07:07:15 ---> fc27f975896f 07:07:15 Step 14/26 : FROM alpine:3.17 07:07:15 3.17: Pulling from library/alpine 07:07:15 c41833b44d91: Pulling fs layer 07:07:15 c41833b44d91: Verifying Checksum 07:07:15 c41833b44d91: Download complete 07:07:15 c41833b44d91: Pull complete 07:07:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:07:15 Status: Downloaded newer image for alpine:3.17 07:07:15 ---> 51e60588ff2c 07:07:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 07:07:15 ---> Running in aa7b10105f64 07:07:15 Removing intermediate container aa7b10105f64 07:07:15 ---> e2ed8e2e77a5 07:07:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 07:07:15 ---> Running in dbf3c176f636 07:07:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:07:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:07:15 (1/1) Installing dumb-init (1.2.5-r2) 07:07:15 Executing busybox-1.35.0-r29.trigger 07:07:15 OK: 8 MiB in 16 packages 07:07:15 Removing intermediate container dbf3c176f636 07:07:15 ---> 55e45cc583bd 07:07:15 Step 17/26 : WORKDIR / 07:07:15 ---> Running in d40f37bb7708 07:07:15 Removing intermediate container d40f37bb7708 07:07:15 ---> a31d9a189832 07:07:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 07:07:15 ---> 3b0538548e63 07:07:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 07:07:15 ---> 226ff0f050fc 07:07:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:07:15 ---> b862d3be7838 07:07:15 Step 21/26 : EXPOSE 59984 07:07:15 ---> Running in 1a358bd862c6 07:07:15 Removing intermediate container 1a358bd862c6 07:07:15 ---> f85b61d116f5 07:07:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 07:07:15 ---> Running in 4ab22b67f319 07:07:15 Removing intermediate container 4ab22b67f319 07:07:15 ---> e3e468a41ef5 07:07:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:07:15 ---> Running in 4f819ed6dd44 07:07:15 Removing intermediate container 4f819ed6dd44 07:07:15 ---> e98eaa081994 07:07:15 Step 24/26 : LABEL arch=arm64 07:07:15 ---> Running in 3d21f62a1d2e 07:07:15 Removing intermediate container 3d21f62a1d2e 07:07:15 ---> 083cf86afdcd 07:07:15 Step 25/26 : LABEL git_sha=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:07:15 ---> Running in ceafd6720db6 07:07:16 Removing intermediate container ceafd6720db6 07:07:16 ---> fbfab5b3e043 07:07:16 Step 26/26 : LABEL version=3.0.0-dev.31 07:07:16 ---> Running in 4ee7fb6b33a1 07:07:16 Removing intermediate container 4ee7fb6b33a1 07:07:16 ---> b59cee021ac9 07:07:16 [Warning] One or more build-args [ARCH] were not consumed 07:07:16 Successfully built b59cee021ac9 07:07:16 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 07:07:16 provisioning config files... 07:07:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/126@tmp/config2039892472676207829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:17 ---> docker-login.sh 07:07:17 nexus3.edgexfoundry.org:10001 07:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:07:17 Configure a credential helper to remove this warning. See 07:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:07:17 07:07:17 Login Succeeded 07:07:17 nexus3.edgexfoundry.org:10002 07:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:07:17 Configure a credential helper to remove this warning. See 07:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:07:17 07:07:17 Login Succeeded 07:07:17 nexus3.edgexfoundry.org:10003 07:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:07:18 Configure a credential helper to remove this warning. See 07:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:07:18 07:07:18 Login Succeeded 07:07:18 nexus3.edgexfoundry.org:10004 07:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:07:18 Configure a credential helper to remove this warning. See 07:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:07:18 07:07:18 Login Succeeded 07:07:18 docker.io 07:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:07:19 Configure a credential helper to remove this warning. See 07:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:07:19 07:07:19 Login Succeeded 07:07:19 ---> docker-login.sh ends [Pipeline] } 07:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:07:19 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 07:07:19 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:07:19 latest 07:07:19 3.0.0-dev.31 07:07:19 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:07:19 main 07:07:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:07:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:07:19 1a66d24c0c5b: Preparing 07:07:19 f4fa109fffb4: Preparing 07:07:19 136d94f60a90: Preparing 07:07:19 a1899e3e0dab: Preparing 07:07:19 26cbea5cba74: Preparing 07:07:19 26cbea5cba74: Layer already exists 07:07:20 1a66d24c0c5b: Pushed 07:07:20 f4fa109fffb4: Pushed 07:07:20 a1899e3e0dab: Pushed 07:07:25 136d94f60a90: Pushed 07:07:25 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7: digest: sha256:abdb3910d425cff9f8d14962c2969d4750f4af0cc4a7d7adf36576a151c0795c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:25 + 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 07:07:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:07:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:07:26 1a66d24c0c5b: Preparing 07:07:26 f4fa109fffb4: Preparing 07:07:26 136d94f60a90: Preparing 07:07:26 a1899e3e0dab: Preparing 07:07:26 26cbea5cba74: Preparing 07:07:26 1a66d24c0c5b: Layer already exists 07:07:26 a1899e3e0dab: Layer already exists 07:07:26 136d94f60a90: Layer already exists 07:07:26 26cbea5cba74: Layer already exists 07:07:26 f4fa109fffb4: Layer already exists 07:07:26 latest: digest: sha256:abdb3910d425cff9f8d14962c2969d4750f4af0cc4a7d7adf36576a151c0795c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:26 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.31 07:07:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:07:26 1a66d24c0c5b: Preparing 07:07:26 f4fa109fffb4: Preparing 07:07:26 136d94f60a90: Preparing 07:07:26 a1899e3e0dab: Preparing 07:07:26 26cbea5cba74: Preparing 07:07:26 26cbea5cba74: Layer already exists 07:07:26 136d94f60a90: Layer already exists 07:07:26 1a66d24c0c5b: Layer already exists 07:07:26 a1899e3e0dab: Layer already exists 07:07:26 f4fa109fffb4: Layer already exists 07:07:26 3.0.0-dev.31: digest: sha256:abdb3910d425cff9f8d14962c2969d4750f4af0cc4a7d7adf36576a151c0795c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:07:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:07:27 1a66d24c0c5b: Preparing 07:07:27 f4fa109fffb4: Preparing 07:07:27 136d94f60a90: Preparing 07:07:27 a1899e3e0dab: Preparing 07:07:27 26cbea5cba74: Preparing 07:07:27 1a66d24c0c5b: Layer already exists 07:07:27 26cbea5cba74: Layer already exists 07:07:27 f4fa109fffb4: Layer already exists 07:07:27 136d94f60a90: Layer already exists 07:07:27 a1899e3e0dab: Layer already exists 07:07:27 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31: digest: sha256:abdb3910d425cff9f8d14962c2969d4750f4af0cc4a7d7adf36576a151c0795c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:27 + 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 07:07:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 07:07:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 07:07:28 1a66d24c0c5b: Preparing 07:07:28 f4fa109fffb4: Preparing 07:07:28 136d94f60a90: Preparing 07:07:28 a1899e3e0dab: Preparing 07:07:28 26cbea5cba74: Preparing 07:07:28 1a66d24c0c5b: Layer already exists 07:07:28 f4fa109fffb4: Layer already exists 07:07:28 a1899e3e0dab: Layer already exists 07:07:28 26cbea5cba74: Layer already exists 07:07:28 136d94f60a90: Layer already exists 07:07:28 main: digest: sha256:abdb3910d425cff9f8d14962c2969d4750f4af0cc4a7d7adf36576a151c0795c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:07:28 ===================================================== [Pipeline] echo 07:07:28 taggedImages: 07:07:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 07:07:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 07:07:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.31 07:07:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:9cf6c2925dd31c7afe7cec00246c23f9761bb7f7-3.0.0-dev.31 07:07:28 - 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 07:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:28 07:07:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:28 arm64: Pulling from edgex-lftools-log-publisher 07:07:28 8998bd30e6a1: Pulling fs layer 07:07:28 04944245beec: Pulling fs layer 07:07:28 699f458cf7ca: Pulling fs layer 07:07:28 765212b225bb: Pulling fs layer 07:07:28 f23df028b6ca: Pulling fs layer 07:07:28 d65c8cfc05b1: Pulling fs layer 07:07:28 2437ff75d9bd: Pulling fs layer 07:07:28 765212b225bb: Waiting 07:07:28 f23df028b6ca: Waiting 07:07:28 d65c8cfc05b1: Waiting 07:07:28 2437ff75d9bd: Waiting 07:07:29 04944245beec: Verifying Checksum 07:07:29 04944245beec: Download complete 07:07:29 765212b225bb: Verifying Checksum 07:07:29 765212b225bb: Download complete 07:07:29 f23df028b6ca: Verifying Checksum 07:07:29 f23df028b6ca: Download complete 07:07:29 d65c8cfc05b1: Verifying Checksum 07:07:29 d65c8cfc05b1: Download complete 07:07:29 699f458cf7ca: Verifying Checksum 07:07:29 699f458cf7ca: Download complete 07:07:29 8998bd30e6a1: Verifying Checksum 07:07:29 8998bd30e6a1: Download complete 07:07:31 2437ff75d9bd: Verifying Checksum 07:07:31 2437ff75d9bd: Download complete 07:07:33 8998bd30e6a1: Pull complete 07:07:33 04944245beec: Pull complete 07:07:38 699f458cf7ca: Pull complete 07:07:38 765212b225bb: Pull complete 07:07:39 f23df028b6ca: Pull complete 07:07:39 d65c8cfc05b1: Pull complete 07:07:51 2437ff75d9bd: Pull complete 07:07:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:07:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:07:51 prd-ubuntu20.04-docker-arm64-4c-16g-9514 does not seem to be running inside a container 07:07:51 $ 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/126 -v /w/workspace/device-onvif-camera/126:/w/workspace/device-onvif-camera/126:rw,z -v /w/workspace/device-onvif-camera/126@tmp:/w/workspace/device-onvif-camera/126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:07:54 $ docker top 56a32f9d6e973d5fce1d3eb28957cd1c5be96cedcc737cd172461193e925e7d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:54 ---> job-cost.sh 07:07:55 lf-activate-venv: SKIPPING 07:07:55 INFO: No Stack... 07:07:55 INFO: Retrieving Pricing Info for: v3-standard-4 07:07:56 INFO: Archiving Costs [Pipeline] sh 07:07:56 + cat /w/workspace/device-onvif-camera/126/archives/cost.csv 07:07:56 + cut -d, -f6 [Pipeline] lock 07:07:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] 07:07:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] did not exist. Created. 07:07:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:07:56 /w/workspace/device-onvif-camera/126@tmp/durable-b5a07511/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:07:57 + echo total: 0.10999999940395355 [Pipeline] stash 07:07:57 Warning: overwriting stash ‘stack-cost’ 07:07:57 Stashed 1 file(s) [Pipeline] } 07:07:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 07:07:57 $ docker stop --time=1 56a32f9d6e973d5fce1d3eb28957cd1c5be96cedcc737cd172461193e925e7d7 07:07:58 $ docker rm -f --volumes 56a32f9d6e973d5fce1d3eb28957cd1c5be96cedcc737cd172461193e925e7d7 [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 07:07:59 provisioning config files... 07:07:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2925201004684937309tmp [Pipeline] { [Pipeline] sh 07:07:59 + set +x 07:07:59 + curl -s https://codecov.io/bash 07:07:59 + bash -s -- 07:07:59 07:07:59 _____ _ 07:07:59 / ____| | | 07:07:59 | | ___ __| | ___ ___ _____ __ 07:07:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:07:59 | |___| (_) | (_| | __/ (_| (_) \ V / 07:07:59 \_____\___/ \__,_|\___|\___\___/ \_/ 07:07:59 Bash-1.0.6 07:07:59 07:07:59 07:07:59 ==> git version 2.25.1 found 07:07:59 ==> 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 07:07:59 Release-Date: 2020-01-08 07:07:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:07:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:07:59 ==> Jenkins CI detected. 07:07:59 current dir:  /w/workspace/foundry_device-onvif-camera_main 07:07:59 project root: . 07:07:59 --> token set from env 07:07:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:07:59 ==> Running gcov in . (disable via -X gcov) 07:07:59 ==> Python coveragepy not found 07:07:59 ==> Searching for coverage reports in: 07:07:59 + . 07:07:59 -> Found 1 reports 07:07:59 ==> Detecting git/mercurial file structure 07:07:59 ==> Reading reports 07:07:59 + ./coverage.out bytes=78922 07:07:59 ==> Appending adjustments 07:07:59 https://docs.codecov.io/docs/fixing-reports 07:07:59 + Found adjustments 07:07:59 ==> Gzipping contents 07:07:59 12K /tmp/codecov.Qt3ezX.gz 07:07:59 ==> Uploading reports 07:07:59 url: https://codecov.io 07:07:59 query: branch=main&commit=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:07:59 -> Pinging Codecov 07:07:59 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=9cf6c2925dd31c7afe7cec00246c23f9761bb7f7&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 07:08:00 -> Uploading to 07:08:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/F29A59C45E3A92E06B3E522C9905F8EF/9cf6c2925dd31c7afe7cec00246c23f9761bb7f7/a1d8a47d-0b7a-4b8c-981e-f1ba182de294.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T070759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9405cf864f247905a239c885428784bb1a25f635bfc8e47e636ad917c790da6b 07:08:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:00 Dload Upload Total Spent Left Speed 07:08:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 43213 --:--:-- --:--:-- --:--:-- 43213 07:08:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] } 07:08:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:08:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:08:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:00 07:08:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:08:01 df9b9388f04a: Pulling fs layer 07:08:01 52dc419b0ee2: Pulling fs layer 07:08:01 25bc292e5bac: Pulling fs layer 07:08:01 114826534d7a: Pulling fs layer 07:08:01 4657fd5d0bcf: Pulling fs layer 07:08:01 6ad1cebc031e: Pulling fs layer 07:08:01 8a3aa393b2d8: Pulling fs layer 07:08:01 4657fd5d0bcf: Waiting 07:08:01 6ad1cebc031e: Waiting 07:08:01 8a3aa393b2d8: Waiting 07:08:01 114826534d7a: Waiting 07:08:01 25bc292e5bac: Verifying Checksum 07:08:01 25bc292e5bac: Download complete 07:08:01 52dc419b0ee2: Download complete 07:08:01 4657fd5d0bcf: Verifying Checksum 07:08:01 4657fd5d0bcf: Download complete 07:08:01 df9b9388f04a: Verifying Checksum 07:08:01 df9b9388f04a: Download complete 07:08:01 df9b9388f04a: Pull complete 07:08:01 6ad1cebc031e: Verifying Checksum 07:08:01 6ad1cebc031e: Download complete 07:08:01 52dc419b0ee2: Pull complete 07:08:01 25bc292e5bac: Pull complete 07:08:02 114826534d7a: Verifying Checksum 07:08:02 114826534d7a: Download complete 07:08:02 8a3aa393b2d8: Verifying Checksum 07:08:02 8a3aa393b2d8: Download complete 07:08:05 114826534d7a: Pull complete 07:08:05 4657fd5d0bcf: Pull complete 07:08:05 6ad1cebc031e: Pull complete 07:08:08 8a3aa393b2d8: Pull complete 07:08:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:08:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:08 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:08 $ 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 07:08:10 $ docker top 82685aa70c780ef0d449689bda434fcbdcf72a7042839f638cb8948ba8f1b2ae -eo pid,comm [Pipeline] { [Pipeline] echo 07:08:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 07:08:11 + set -o pipefail 07:08:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 07:08:16 07:08:16 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 07:08:16 07:08:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/4111fee3-50ad-46fc-b99c-be71926aa6d0 07:08:16 07:08:16 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:08:16 07:08:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:08:16 07:08:16 07:08:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:08:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:08:16 More details here: https://snyk.co/ue1NS [Pipeline] } 07:08:16 $ docker stop --time=1 82685aa70c780ef0d449689bda434fcbdcf72a7042839f638cb8948ba8f1b2ae 07:08:18 $ docker rm -f --volumes 82685aa70c780ef0d449689bda434fcbdcf72a7042839f638cb8948ba8f1b2ae [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 07:08:19 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:19 provisioning config files... 07:08:19 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2027762592235547010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:19 --> edgex-publish-swagger.sh 07:08:19 === Publish doc/openapi/v2 API === 07:08:19 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 07:08:19 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 07:08:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:08:19 Dload Upload Total Spent Left Speed 07:08:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 677k --:--:-- --:--:-- --:--:-- 676k 100 469k 0 0 100 469k 0 676k --:--:-- --:--:-- --:--:-- 676k 07:08:20 07:08:20 [Pipeline] } 07:08:20 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 07:08:20 + git log --format=format:%s -1 9cf6c2925dd31c7afe7cec00246c23f9761bb7f7 [Pipeline] sh 07:08:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:21 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:21 $ 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 07:08:21 $ docker top 989065f9ab5a656bd0c5a7a6adcf020aa1bd6f9085249b635881245596a79cb3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:21 [ssh-agent] Looking for ssh-agent implementation... 07:08:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:21 $ docker exec 989065f9ab5a656bd0c5a7a6adcf020aa1bd6f9085249b635881245596a79cb3 ssh-agent 07:08:21 SSH_AUTH_SOCK=/tmp/ssh-f4CghkVly5E8/agent.33 07:08:21 SSH_AGENT_PID=39 07:08:21 Running ssh-add (command line suppressed) 07:08:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16062255582043125708.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16062255582043125708.key) 07:08:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:22 + git semver tag 07:08:22 2023-04-24 07:08:22,392 [run_tag] DEBUG tag force:False 07:08:22 2023-04-24 07:08:22,392 [check_head_tag] DEBUG check head tag 07:08:22 2023-04-24 07:08:22,394 [execute] INFO git cat-file --batch-check 07:08:22 2023-04-24 07:08:22,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:08:22 2023-04-24 07:08:22,398 [execute] INFO git cat-file --batch 07:08:22 2023-04-24 07:08:22,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 07:08:22 2023-04-24 07:08:22,428 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:22 2023-04-24 07:08:22,428 [execute] INFO git tag -a v3.0.0-dev.31 -m v3.0.0-dev.31 07:08:22 2023-04-24 07:08:22,429 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.31', '-m', 'v3.0.0-dev.31'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 07:08:22 2023-04-24 07:08:22,433 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:22 3.0.0-dev.31 [Pipeline] } 07:08:22 $ docker exec --env ******** --env ******** 989065f9ab5a656bd0c5a7a6adcf020aa1bd6f9085249b635881245596a79cb3 ssh-agent -k 07:08:22 unset SSH_AUTH_SOCK; 07:08:22 unset SSH_AGENT_PID; 07:08:22 echo Agent pid 39 killed; 07:08:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:22 + git semver [Pipeline] } 07:08:23 $ docker stop --time=1 989065f9ab5a656bd0c5a7a6adcf020aa1bd6f9085249b635881245596a79cb3 07:08:24 $ docker rm -f --volumes 989065f9ab5a656bd0c5a7a6adcf020aa1bd6f9085249b635881245596a79cb3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:24 07:08:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:25 0.23.1-centos7: Pulling from edgex-lftools 07:08:25 ab5ef0e58194: Pulling fs layer 07:08:25 9712f1f96733: Pulling fs layer 07:08:25 63f879dbbcfc: Pulling fs layer 07:08:25 0d9ebad4ef96: Pulling fs layer 07:08:25 e9a5061849ea: Pulling fs layer 07:08:25 d747dcd14b5f: Pulling fs layer 07:08:25 2de7ff778b66: Pulling fs layer 07:08:25 0d9ebad4ef96: Waiting 07:08:25 e9a5061849ea: Waiting 07:08:25 d747dcd14b5f: Waiting 07:08:25 2de7ff778b66: Waiting 07:08:25 9712f1f96733: Verifying Checksum 07:08:25 9712f1f96733: Download complete 07:08:25 63f879dbbcfc: Verifying Checksum 07:08:25 63f879dbbcfc: Download complete 07:08:25 e9a5061849ea: Verifying Checksum 07:08:25 e9a5061849ea: Download complete 07:08:25 d747dcd14b5f: Verifying Checksum 07:08:25 d747dcd14b5f: Download complete 07:08:25 0d9ebad4ef96: Verifying Checksum 07:08:25 ab5ef0e58194: Verifying Checksum 07:08:25 ab5ef0e58194: Download complete 07:08:25 2de7ff778b66: Download complete 07:08:28 ab5ef0e58194: Pull complete 07:08:28 9712f1f96733: Pull complete 07:08:29 63f879dbbcfc: Pull complete 07:08:32 0d9ebad4ef96: Pull complete 07:08:32 e9a5061849ea: Pull complete 07:08:32 d747dcd14b5f: Pull complete 07:08:33 2de7ff778b66: Pull complete 07:08:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:08:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:33 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:33 $ 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 07:08:36 $ docker top 2fc25c60105deb710a1a4a405dc78e2dc7327e13f8c7251b0e2d028dce402bce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:08:36 provisioning config files... 07:08:36 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3852568390176363940tmp 07:08:36 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9091387988685018859tmp 07:08:36 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15278307793114593676tmp [Pipeline] { [Pipeline] echo 07:08:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:08:36 ---> sigul-configuration.sh 07:08:36 gpg: directory `/root/.gnupg' created 07:08:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:08:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:08:36 gpg: keyring `/root/.gnupg/secring.gpg' created 07:08:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:08:36 gpg: CAST5 encrypted data 07:08:36 gpg: encrypted with 1 passphrase 07:08:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:08:37 + mkdir /home/jenkins 07:08:37 + mkdir /home/jenkins/sigul [Pipeline] sh 07:08:37 + 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 07:08:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:08:37 ---> sigul-install.sh 07:08:37 Sigul already installed; skipping installation. [Pipeline] sh 07:08:38 + git tag --list 07:08:38 v0.0.0 07:08:38 v0.0.1-dev.1 07:08:38 v0.0.1-dev.10 07:08:38 v0.0.1-dev.11 07:08:38 v0.0.1-dev.12 07:08:38 v0.0.1-dev.13 07:08:38 v0.0.1-dev.14 07:08:38 v0.0.1-dev.15 07:08:38 v0.0.1-dev.16 07:08:38 v0.0.1-dev.17 07:08:38 v0.0.1-dev.18 07:08:38 v0.0.1-dev.19 07:08:38 v0.0.1-dev.2 07:08:38 v0.0.1-dev.20 07:08:38 v0.0.1-dev.21 07:08:38 v0.0.1-dev.22 07:08:38 v0.0.1-dev.23 07:08:38 v0.0.1-dev.24 07:08:38 v0.0.1-dev.25 07:08:38 v0.0.1-dev.26 07:08:38 v0.0.1-dev.27 07:08:38 v0.0.1-dev.28 07:08:38 v0.0.1-dev.3 07:08:38 v0.0.1-dev.4 07:08:38 v0.0.1-dev.5 07:08:38 v0.0.1-dev.6 07:08:38 v0.0.1-dev.7 07:08:38 v0.0.1-dev.8 07:08:38 v0.0.1-dev.9 07:08:38 v2.2.0 07:08:38 v2.2.0-dev.29 07:08:38 v2.2.0-dev.30 07:08:38 v2.2.0-dev.31 07:08:38 v2.2.0-dev.32 07:08:38 v2.2.0-dev.33 07:08:38 v2.2.0-dev.34 07:08:38 v2.2.0-dev.35 07:08:38 v2.3.0 07:08:38 v2.3.0-dev.1 07:08:38 v2.3.0-dev.10 07:08:38 v2.3.0-dev.11 07:08:38 v2.3.0-dev.12 07:08:38 v2.3.0-dev.13 07:08:38 v2.3.0-dev.14 07:08:38 v2.3.0-dev.15 07:08:38 v2.3.0-dev.16 07:08:38 v2.3.0-dev.17 07:08:38 v2.3.0-dev.18 07:08:38 v2.3.0-dev.19 07:08:38 v2.3.0-dev.2 07:08:38 v2.3.0-dev.20 07:08:38 v2.3.0-dev.21 07:08:38 v2.3.0-dev.22 07:08:38 v2.3.0-dev.23 07:08:38 v2.3.0-dev.24 07:08:38 v2.3.0-dev.25 07:08:38 v2.3.0-dev.26 07:08:38 v2.3.0-dev.27 07:08:38 v2.3.0-dev.28 07:08:38 v2.3.0-dev.29 07:08:38 v2.3.0-dev.3 07:08:38 v2.3.0-dev.30 07:08:38 v2.3.0-dev.31 07:08:38 v2.3.0-dev.32 07:08:38 v2.3.0-dev.33 07:08:38 v2.3.0-dev.34 07:08:38 v2.3.0-dev.35 07:08:38 v2.3.0-dev.36 07:08:38 v2.3.0-dev.37 07:08:38 v2.3.0-dev.38 07:08:38 v2.3.0-dev.39 07:08:38 v2.3.0-dev.4 07:08:38 v2.3.0-dev.40 07:08:38 v2.3.0-dev.41 07:08:38 v2.3.0-dev.42 07:08:38 v2.3.0-dev.43 07:08:38 v2.3.0-dev.44 07:08:38 v2.3.0-dev.45 07:08:38 v2.3.0-dev.5 07:08:38 v2.3.0-dev.6 07:08:38 v2.3.0-dev.7 07:08:38 v2.3.0-dev.8 07:08:38 v2.3.0-dev.9 07:08:38 v2.3.1 07:08:38 v2.3.1-dev.1 07:08:38 v2.3.1-dev.4 07:08:38 v2.3.1-dev.5 07:08:38 v3.0.0-dev.1 07:08:38 v3.0.0-dev.10 07:08:38 v3.0.0-dev.11 07:08:38 v3.0.0-dev.12 07:08:38 v3.0.0-dev.13 07:08:38 v3.0.0-dev.14 07:08:38 v3.0.0-dev.15 07:08:38 v3.0.0-dev.16 07:08:38 v3.0.0-dev.17 07:08:38 v3.0.0-dev.18 07:08:38 v3.0.0-dev.19 07:08:38 v3.0.0-dev.2 07:08:38 v3.0.0-dev.20 07:08:38 v3.0.0-dev.21 07:08:38 v3.0.0-dev.22 07:08:38 v3.0.0-dev.23 07:08:38 v3.0.0-dev.24 07:08:38 v3.0.0-dev.25 07:08:38 v3.0.0-dev.26 07:08:38 v3.0.0-dev.27 07:08:38 v3.0.0-dev.28 07:08:38 v3.0.0-dev.29 07:08:38 v3.0.0-dev.3 07:08:38 v3.0.0-dev.30 07:08:38 v3.0.0-dev.31 07:08:38 v3.0.0-dev.4 07:08:38 v3.0.0-dev.5 07:08:38 v3.0.0-dev.6 07:08:38 v3.0.0-dev.7 07:08:38 v3.0.0-dev.8 07:08:38 v3.0.0-dev.9 [Pipeline] sh 07:08:38 + lftools sign git-tag v3.0.0-dev.31 07:08:38 Signing Git tag with Sigul... 07:08:38 Signing v3.0.0-dev.31 [Pipeline] echo 07:08:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:08:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:08:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:08:39 $ docker stop --time=1 2fc25c60105deb710a1a4a405dc78e2dc7327e13f8c7251b0e2d028dce402bce 07:08:40 $ docker rm -f --volumes 2fc25c60105deb710a1a4a405dc78e2dc7327e13f8c7251b0e2d028dce402bce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:08:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:41 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:41 $ 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 07:08:42 $ docker top b3ec486b4611cf5ab3f2f4fb747d36a016e9761a377d93912748b65fdca90c66 -eo pid,comm 07:08:42 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). 07:08:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:42 [ssh-agent] Looking for ssh-agent implementation... 07:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:42 $ docker exec b3ec486b4611cf5ab3f2f4fb747d36a016e9761a377d93912748b65fdca90c66 ssh-agent 07:08:42 SSH_AUTH_SOCK=/tmp/ssh-uJgIhGHbKmOL/agent.32 07:08:42 SSH_AGENT_PID=37 07:08:42 Running ssh-add (command line suppressed) 07:08:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14750914672915875603.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14750914672915875603.key) 07:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:43 + git semver bump pre 07:08:43 2023-04-24 07:08:43,182 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:43 2023-04-24 07:08:43,182 [bump_version] DEBUG bumping version:3.0.0-dev.31 on axis:pre with prefix:dev 07:08:43 2023-04-24 07:08:43,182 [bump_version] DEBUG bumped version:3.0.0-dev.32 07:08:43 2023-04-24 07:08:43,182 [write_version] DEBUG write version:3.0.0-dev.32 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 07:08:43 2023-04-24 07:08:43,182 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:43 2023-04-24 07:08:43,182 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:43 2023-04-24 07:08:43,184 [execute] INFO git cat-file --batch-check 07:08:43 2023-04-24 07:08:43,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:08:43 2023-04-24 07:08:43,188 [execute] INFO git cat-file --batch 07:08:43 2023-04-24 07:08:43,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:08:43 2023-04-24 07:08:43,192 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:43 3.0.0-dev.32 [Pipeline] } 07:08:43 $ docker exec --env ******** --env ******** b3ec486b4611cf5ab3f2f4fb747d36a016e9761a377d93912748b65fdca90c66 ssh-agent -k 07:08:43 unset SSH_AUTH_SOCK; 07:08:43 unset SSH_AGENT_PID; 07:08:43 echo Agent pid 37 killed; 07:08:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:43 + git semver [Pipeline] } 07:08:44 $ docker stop --time=1 b3ec486b4611cf5ab3f2f4fb747d36a016e9761a377d93912748b65fdca90c66 07:08:45 $ docker rm -f --volumes b3ec486b4611cf5ab3f2f4fb747d36a016e9761a377d93912748b65fdca90c66 [Pipeline] // withDockerContainer [Pipeline] sh 07:08:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:08:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:08:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:46 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:46 $ 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 07:08:46 $ docker top 1be4c88abc54adfe3809f78484946fccd821f4cec66c9e5e6fa5f3b299eefa83 -eo pid,comm 07:08:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:08:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:08:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:08:46 [ssh-agent] Looking for ssh-agent implementation... 07:08:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:46 $ docker exec 1be4c88abc54adfe3809f78484946fccd821f4cec66c9e5e6fa5f3b299eefa83 ssh-agent 07:08:46 SSH_AUTH_SOCK=/tmp/ssh-n9AW9sSOpbuH/agent.32 07:08:46 SSH_AGENT_PID=38 07:08:46 Running ssh-add (command line suppressed) 07:08:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1741896603926159107.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1741896603926159107.key) 07:08:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:08:47 + git semver push 07:08:47 2023-04-24 07:08:47,357 [run_push] DEBUG push 07:08:47 2023-04-24 07:08:47,359 [execute] INFO git cat-file --batch-check 07:08:47 2023-04-24 07:08:47,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 07:08:47 2023-04-24 07:08:47,363 [execute] INFO git rev-list 63869ffb76cad79f8707d9fed8476a19faf5c1cb -- 07:08:47 2023-04-24 07:08:47,364 [execute] DEBUG Popen(['git', 'rev-list', '63869ffb76cad79f8707d9fed8476a19faf5c1cb', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:08:47 2023-04-24 07:08:47,369 [execute] INFO git fetch -v origin 07:08:47 2023-04-24 07:08:47,369 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 07:08:47 2023-04-24 07:08:47,826 [run_push] DEBUG no remote changes detected 07:08:47 2023-04-24 07:08:47,827 [execute] INFO git push origin semver 07:08:47 2023-04-24 07:08:47,827 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 07:08:48 2023-04-24 07:08:48,643 [run_push] DEBUG push all version tags 07:08:48 2023-04-24 07:08:48,643 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:08:48 2023-04-24 07:08:48,644 [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) 07:08:49 2023-04-24 07:08:49,552 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 07:08:49 3.0.0-dev.32 [Pipeline] } 07:08:49 $ docker exec --env ******** --env ******** 1be4c88abc54adfe3809f78484946fccd821f4cec66c9e5e6fa5f3b299eefa83 ssh-agent -k 07:08:49 unset SSH_AUTH_SOCK; 07:08:49 unset SSH_AGENT_PID; 07:08:49 echo Agent pid 38 killed; 07:08:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:08:50 + git semver [Pipeline] } 07:08:50 $ docker stop --time=1 1be4c88abc54adfe3809f78484946fccd821f4cec66c9e5e6fa5f3b299eefa83 07:08:51 $ docker rm -f --volumes 1be4c88abc54adfe3809f78484946fccd821f4cec66c9e5e6fa5f3b299eefa83 [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 07:08:52 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 07:08:52 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:08:52 total 16 07:08:52 drwxr-xr-x 3 root root 4096 Apr 24 07:01 . 07:08:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 07:08 .. 07:08:52 drwxr-xr-x 2 root root 4096 Apr 24 07:01 cost 07:08:52 -rw-r--r-- 1 root root 92 Apr 24 07:01 cost.csv 07:08:52 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 07:08:52 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 07:08:52 total 16 07:08:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 07:01 . 07:08:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 07:08 .. 07:08:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 07:01 cost 07:08:52 -rw-r--r-- 1 jenkins jenkins 92 Apr 24 07:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:08:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:08:53 ---> package-listing.sh 07:08:53 ++ facter osfamily 07:08:53 ++ tr '[:upper:]' '[:lower:]' 07:08:53 + OS_FAMILY=debian 07:08:53 + workspace=/w/workspace/foundry_device-onvif-camera_main 07:08:53 + START_PACKAGES=/tmp/packages_start.txt 07:08:53 + END_PACKAGES=/tmp/packages_end.txt 07:08:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:08:53 + PACKAGES=/tmp/packages_start.txt 07:08:53 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:08:53 + PACKAGES=/tmp/packages_end.txt 07:08:53 + case "${OS_FAMILY}" in 07:08:53 + dpkg -l 07:08:53 + grep '^ii' 07:08:53 + '[' -f /tmp/packages_start.txt ']' 07:08:53 + '[' -f /tmp/packages_end.txt ']' 07:08:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:08:53 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 07:08:53 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 07:08:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 07:08:53 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 07:08:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:08:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:54 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 07:08:54 $ 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 07:08:55 $ docker top 1f967bd6f89506a9dc8def880f4561f17b9dcd4258ab44763769739b42ad55cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:08:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:08:55 + ls /var/log/sa-host 07:08:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:08:56 provisioning config files... 07:08:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13357294012596258652tmp [Pipeline] { [Pipeline] echo 07:08:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:08:56 ---> create-netrc.sh [Pipeline] } 07:08:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:08:56 ---> python-tools-install.sh [Pipeline] echo 07:08:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:08:57 ---> sudo-logs.sh 07:08:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:08:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:08:57 ---> job-cost.sh 07:08:57 lf-activate-venv: SKIPPING 07:08:57 DEBUG: total: 0.2199999988079071 07:08:57 INFO: Retrieving Stack Cost... 07:08:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:08:58 INFO: Archiving Costs [Pipeline] echo 07:08:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:08:58 ---> logs-deploy.sh 07:08:58 lf-activate-venv: SKIPPING 07:08:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/126 07:08:58 INFO: archiving workspace using pattern(s): 07:08:59 Archives upload complete. 07:08:59 INFO: archiving logs to Nexus