Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from da27ea250af397a4800d1d84d7fb872b978ba4f9 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-ssh11851093905381163058.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17375000505654721373.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10449868473672070927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17409167293790711749.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-ssh6749882969536836570.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-13836’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-13845’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-13844’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13847 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision da27ea250af397a4800d1d84d7fb872b978ba4f9 (main) Commit message: "Merge pull request #342 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f da27ea250af397a4800d1d84d7fb872b978ba4f9 # timeout=10 > git rev-list --no-walk 349d2554d6fca97c817ada98ee99106d95f3ebb2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:09:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:09:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:09:50 ========================================================= 06:09:50 EdgeX Global Pipelines Version Info 06:09:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:09:50 ------------------- 06:09:50 stable info: 06:09:50 ------------------- 06:09:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:09:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:09:50 Message: update stable to v1.0.249 06:09:51 ------------------- 06:09:51 experimental info: 06:09:51 ------------------- 06:09:51 Commited By: **** collab-it+edgex@linuxfoundation.org 06:09:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:09:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:09:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da27ea2 [Pipeline] echo 06:09:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:52 provisioning config files... 06:09:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17228312859730987773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:52 ---> docker-login.sh 06:09:52 nexus3.edgexfoundry.org:10001 06:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:52 Configure a credential helper to remove this warning. See 06:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:52 06:09:52 Login Succeeded 06:09:52 nexus3.edgexfoundry.org:10002 06:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:52 Configure a credential helper to remove this warning. See 06:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:52 06:09:52 Login Succeeded 06:09:52 nexus3.edgexfoundry.org:10003 06:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:53 Configure a credential helper to remove this warning. See 06:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:53 06:09:53 Login Succeeded 06:09:53 nexus3.edgexfoundry.org:10004 06:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:53 Configure a credential helper to remove this warning. See 06:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:53 06:09:53 Login Succeeded 06:09:53 docker.io 06:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:09:53 Configure a credential helper to remove this warning. See 06:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:09:53 06:09:53 Login Succeeded 06:09:53 ---> docker-login.sh ends [Pipeline] } 06:09:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:09:53 + git rev-list -1 --merges da27ea250af397a4800d1d84d7fb872b978ba4f9~1..da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] echo 06:09:53 -----------> git rev-list -1 --merges da27ea250af397a4800d1d84d7fb872b978ba4f9~1..da27ea250af397a4800d1d84d7fb872b978ba4f9 da27ea250af397a4800d1d84d7fb872b978ba4f9 06:09:53 da27ea250af397a4800d1d84d7fb872b978ba4f9 [false] [Pipeline] sh 06:09:54 + git log --format=format:%s -1 da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] echo 06:09:54 ========================================================= 06:09:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:09:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:09:54 + git log --format=format:%s -1 da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] echo 06:09:54 [semverPrep] GIT_COMMIT: da27ea250af397a4800d1d84d7fb872b978ba4f9, Commit Message: Merge pull request #342 from jumpingliu/ignore-go-mods [Pipeline] echo 06:09:54 [semverPrep] This is not a build commit. [Pipeline] sh 06:09:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:54 + grep -v github /etc/ssh/ssh_known_hosts 06:09:54 + [ -e /tmp/ssh_known_hosts ] 06:09:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:09:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:09:54 + sudo tee -a /etc/ssh/ssh_known_hosts 06:09:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:55 06:09:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:55 0.1.4: Pulling from edgex-devops/py-git-semver 06:09:55 b85a868b505f: Pulling fs layer 06:09:55 e2be974225ed: Pulling fs layer 06:09:55 339a4e72a1f5: Pulling fs layer 06:09:55 988bab9f4d93: Pulling fs layer 06:09:55 1469e6f7b9e6: Pulling fs layer 06:09:55 eaf3925da568: Pulling fs layer 06:09:55 bab4dde63d76: Pulling fs layer 06:09:55 bde34c3a00c8: Pulling fs layer 06:09:55 b352a97aabf1: Pulling fs layer 06:09:55 4872d77fe225: Pulling fs layer 06:09:55 5851b861e8e6: Pulling fs layer 06:09:55 1469e6f7b9e6: Waiting 06:09:55 988bab9f4d93: Waiting 06:09:55 eaf3925da568: Waiting 06:09:55 bab4dde63d76: Waiting 06:09:55 b352a97aabf1: Waiting 06:09:55 bde34c3a00c8: Waiting 06:09:55 4872d77fe225: Waiting 06:09:55 5851b861e8e6: Waiting 06:09:55 e2be974225ed: Verifying Checksum 06:09:55 e2be974225ed: Download complete 06:09:55 988bab9f4d93: Download complete 06:09:55 1469e6f7b9e6: Verifying Checksum 06:09:55 1469e6f7b9e6: Download complete 06:09:55 339a4e72a1f5: Verifying Checksum 06:09:55 339a4e72a1f5: Download complete 06:09:55 eaf3925da568: Verifying Checksum 06:09:55 eaf3925da568: Download complete 06:09:55 bde34c3a00c8: Download complete 06:09:55 b352a97aabf1: Download complete 06:09:55 4872d77fe225: Verifying Checksum 06:09:55 4872d77fe225: Download complete 06:09:55 5851b861e8e6: Verifying Checksum 06:09:55 5851b861e8e6: Download complete 06:09:55 b85a868b505f: Verifying Checksum 06:09:55 b85a868b505f: Download complete 06:09:55 bab4dde63d76: Verifying Checksum 06:09:55 bab4dde63d76: Download complete 06:09:56 b85a868b505f: Pull complete 06:09:56 e2be974225ed: Pull complete 06:09:57 339a4e72a1f5: Pull complete 06:09:57 988bab9f4d93: Pull complete 06:09:57 1469e6f7b9e6: Pull complete 06:09:57 eaf3925da568: Pull complete 06:09:59 bab4dde63d76: Pull complete 06:09:59 bde34c3a00c8: Pull complete 06:09:59 b352a97aabf1: Pull complete 06:10:00 4872d77fe225: Pull complete 06:10:00 5851b861e8e6: Pull complete 06:10:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:00 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:10:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:02 $ docker top cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 -eo pid,comm 06:10:02 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:10:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:02 [ssh-agent] Looking for ssh-agent implementation... 06:10:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:02 $ docker exec cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 ssh-agent 06:10:02 SSH_AUTH_SOCK=/tmp/ssh-SM7vMSMNbmnp/agent.33 06:10:02 SSH_AGENT_PID=39 06:10:02 Running ssh-add (command line suppressed) 06:10:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9652391338402431142.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9652391338402431142.key) 06:10:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:02 + git tag --points-at HEAD [Pipeline] } 06:10:02 $ docker exec --env ******** --env ******** cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 ssh-agent -k 06:10:02 unset SSH_AUTH_SOCK; 06:10:02 unset SSH_AGENT_PID; 06:10:02 echo Agent pid 39 killed; 06:10:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:03 [ssh-agent] Looking for ssh-agent implementation... 06:10:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:03 $ docker exec cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 ssh-agent 06:10:03 SSH_AUTH_SOCK=/tmp/ssh-89NccdeHM545/agent.71 06:10:03 SSH_AGENT_PID=77 06:10:03 Running ssh-add (command line suppressed) 06:10:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4316275070987263850.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4316275070987263850.key) 06:10:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:03 + git semver init 06:10:03 2023-05-05 06:10:03,836 [run_init] DEBUG init version:0.0.0 force:False 06:10:03 2023-05-05 06:10:03,837 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 06:10:03 2023-05-05 06:10:03,837 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 06:10:03 2023-05-05 06:10:03,837 [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:10:04 2023-05-05 06:10:04,679 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 06:10:04 2023-05-05 06:10:04,680 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 06:10:04 2023-05-05 06:10:04,680 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:10:04 2023-05-05 06:10:04,680 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:10:04 3.0.0-dev.39 [Pipeline] } 06:10:04 $ docker exec --env ******** --env ******** cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 ssh-agent -k 06:10:04 unset SSH_AUTH_SOCK; 06:10:04 unset SSH_AGENT_PID; 06:10:04 echo Agent pid 77 killed; 06:10:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:10:05 + git semver [Pipeline] } 06:10:05 $ docker stop --time=1 cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 06:10:06 $ docker rm -f --volumes cb78f852be9a87355c8f80f704c149eaf25cfffddf646b0a3db3fc5000de0457 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:10:07 Stashed 1 file(s) [Pipeline] echo 06:10:07 [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [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:10:07 provisioning config files... 06:10:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2213101888193594062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> docker-login.sh 06:10:07 nexus3.edgexfoundry.org:10001 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 nexus3.edgexfoundry.org:10002 06:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:07 Configure a credential helper to remove this warning. See 06:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:07 06:10:07 Login Succeeded 06:10:07 nexus3.edgexfoundry.org:10003 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:08 Configure a credential helper to remove this warning. See 06:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:08 06:10:08 Login Succeeded 06:10:08 nexus3.edgexfoundry.org:10004 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:08 Configure a credential helper to remove this warning. See 06:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:08 06:10:08 Login Succeeded 06:10:08 docker.io 06:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:08 Configure a credential helper to remove this warning. See 06:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:08 06:10:08 Login Succeeded 06:10:08 ---> docker-login.sh ends [Pipeline] } 06:10:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:10:08 ========================================================= 06:10:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:10:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:08 + 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:10:08 Sending build context to Docker daemon 21.52MB 06:10:08 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:10:08 Step 2/13 : FROM ${BASE} AS builder 06:10:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:10:09 f56be85fc22e: Pulling fs layer 06:10:09 85791d961cd3: Pulling fs layer 06:10:09 d694b5ae8c79: Pulling fs layer 06:10:09 9f32a84ed3da: Pulling fs layer 06:10:09 4d19c01a9841: Pulling fs layer 06:10:09 9325e15d5711: Pulling fs layer 06:10:09 556b6ee489ea: Pulling fs layer 06:10:09 c5a4b2cf53e6: Pulling fs layer 06:10:09 4d19c01a9841: Waiting 06:10:09 9f32a84ed3da: Waiting 06:10:09 9325e15d5711: Waiting 06:10:09 556b6ee489ea: Waiting 06:10:09 c5a4b2cf53e6: Waiting 06:10:09 85791d961cd3: Verifying Checksum 06:10:09 85791d961cd3: Download complete 06:10:09 9f32a84ed3da: Verifying Checksum 06:10:09 9f32a84ed3da: Download complete 06:10:09 4d19c01a9841: Verifying Checksum 06:10:09 4d19c01a9841: Download complete 06:10:09 f56be85fc22e: Verifying Checksum 06:10:09 f56be85fc22e: Download complete 06:10:09 9325e15d5711: Verifying Checksum 06:10:09 9325e15d5711: Download complete 06:10:09 f56be85fc22e: Pull complete 06:10:09 85791d961cd3: Pull complete 06:10:09 c5a4b2cf53e6: Verifying Checksum 06:10:09 c5a4b2cf53e6: Download complete 06:10:09 d694b5ae8c79: Verifying Checksum 06:10:09 d694b5ae8c79: Download complete 06:10:09 556b6ee489ea: Verifying Checksum 06:10:09 556b6ee489ea: Download complete 06:10:13 d694b5ae8c79: Pull complete 06:10:13 9f32a84ed3da: Pull complete 06:10:13 4d19c01a9841: Pull complete 06:10:13 9325e15d5711: Pull complete 06:10:15 556b6ee489ea: Pull complete 06:10:16 c5a4b2cf53e6: Pull complete 06:10:16 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:10:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:10:16 ---> c4be618373d6 06:10:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:10:19 ---> Running in b7deee617faf 06:10:19 Removing intermediate container b7deee617faf 06:10:19 ---> 3675efb2a021 06:10:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:10:19 ---> Running in 29372735a8a8 06:10:19 Removing intermediate container 29372735a8a8 06:10:19 ---> df921d305e5c 06:10:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:10:19 ---> Running in cac2a0fe913d 06:10:19 Removing intermediate container cac2a0fe913d 06:10:19 ---> 39dab18ba3bf 06:10:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:10:19 ---> Running in 1851a8be11ed 06:10:19 Removing intermediate container 1851a8be11ed 06:10:19 ---> aa09ab8125bc 06:10:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:10:19 ---> Running in 92f69efb6cd3 06:10:19 Removing intermediate container 92f69efb6cd3 06:10:19 ---> c14e489a534a 06:10:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:19 ---> Running in 6f9fe1a349f5 06:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:10:20 OK: 265 MiB in 53 packages 06:10:20 Removing intermediate container 6f9fe1a349f5 06:10:20 ---> badb01b34fe8 06:10:20 Step 9/13 : WORKDIR /device-onvif-camera 06:10:20 ---> Running in 2ff28d366ff8 06:10:21 Removing intermediate container 2ff28d366ff8 06:10:21 ---> df8bb80a47b7 06:10:21 Step 10/13 : COPY go.mod vendor* ./ 06:10:21 ---> ad4ba2080dbe 06:10:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:21 ---> Running in 394816da156c 06:10:22 Still waiting to schedule task 06:10:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:10:42 Removing intermediate container 394816da156c 06:10:42 ---> aa2dafcf98ed 06:10:42 Step 12/13 : COPY . . 06:10:42 ---> 69b774b72bdf 06:10:42 Step 13/13 : RUN ${MAKE} 06:10:42 ---> Running in 958ebd3ccde5 06:10:42 noop 06:10:43 Removing intermediate container 958ebd3ccde5 06:10:43 ---> d5b1c436d1c4 06:10:43 Successfully built d5b1c436d1c4 06:10:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:43 + docker inspect -f . ci-base-image-x86_64 06:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:43 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:44 $ docker top df3f4c8aacff68376cf5354a378f4013e81ab761db3147daff64190b5cfee00b -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:44 + go version 06:10:44 go version go1.20.2 linux/amd64 [Pipeline] } 06:10:44 $ docker stop --time=1 df3f4c8aacff68376cf5354a378f4013e81ab761db3147daff64190b5cfee00b 06:10:45 $ docker rm -f --volumes df3f4c8aacff68376cf5354a378f4013e81ab761db3147daff64190b5cfee00b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:46 + docker inspect -f . ci-base-image-x86_64 06:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:46 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:10:46 $ docker top dc9a467d7964a804704fe611b18b8d43147ef882cb8246bc7747e4098699921d -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:46 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 06:10:47 + make test 06:10:47 go test ./... -coverprofile=coverage.out ./... 06:10:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:11:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:11:02 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:11:04 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.044s coverage: 31.1% of statements 06:11:05 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.392s coverage: 86.5% of statements 06:11:13 go vet ./... 06:11:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:11:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:11:16 ./bin/test-attribution-txt.sh [Pipeline] echo 06:11:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:11:16 $ docker stop --time=1 dc9a467d7964a804704fe611b18b8d43147ef882cb8246bc7747e4098699921d 06:11:19 $ docker rm -f --volumes dc9a467d7964a804704fe611b18b8d43147ef882cb8246bc7747e4098699921d [Pipeline] // withDockerContainer [Pipeline] sh 06:11:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:11:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:11:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:11:20 + ls -al . 06:11:20 total 232 06:11:20 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:10 . 06:11:20 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 .. 06:11:20 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:10 .git 06:11:20 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:09 .github 06:11:20 -rw-rw-r-- 1 jenkins jenkins 496 May 5 06:09 .gitignore 06:11:20 -rw-rw-r-- 1 jenkins jenkins 42 May 5 06:09 .golangci.yml 06:11:20 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:10 .semver 06:11:20 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 06:09 Attribution.txt 06:11:20 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 06:09 CHANGELOG.md 06:11:20 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 06:09 Dockerfile 06:11:20 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:09 GOVERNANCE.md 06:11:20 -rw-rw-r-- 1 jenkins jenkins 734 May 5 06:09 Jenkinsfile 06:11:20 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 06:09 LICENSE 06:11:20 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 06:09 Makefile 06:11:20 -rw-rw-r-- 1 jenkins jenkins 625 May 5 06:09 OWNERS.md 06:11:20 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 06:09 README.md 06:11:20 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:10 VERSION 06:11:20 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:09 bin 06:11:20 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:09 cmd 06:11:20 -rw-r--r-- 1 jenkins jenkins 79191 May 5 06:11 coverage.out 06:11:20 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 doc 06:11:20 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 06:09 go.mod 06:11:20 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 06:09 go.sum 06:11:20 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 internal 06:11:20 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:09 snap 06:11:20 -rw-rw-r-- 1 jenkins jenkins 236 May 5 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:21 + 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=da27ea250af397a4800d1d84d7fb872b978ba4f9 --label arch=amd64 --label version=3.0.0-dev.39 . 06:11:21 Sending build context to Docker daemon 21.6MB 06:11:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:11:21 Step 2/26 : FROM ${BASE} AS builder 06:11:21 ---> d5b1c436d1c4 06:11:21 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:11:21 ---> Running in e4f529981159 06:11:21 Removing intermediate container e4f529981159 06:11:21 ---> b6c990ead130 06:11:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:21 ---> Running in cbc073b38a30 06:11:21 Removing intermediate container cbc073b38a30 06:11:21 ---> 1cd8fa75e906 06:11:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:11:21 ---> Running in 884fd933a78c 06:11:21 Removing intermediate container 884fd933a78c 06:11:21 ---> 18c637876124 06:11:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:11:21 ---> Running in f9b9e8e2018b 06:11:21 Removing intermediate container f9b9e8e2018b 06:11:21 ---> c0f014d8380d 06:11:21 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:11:21 ---> Running in 1a33ba9ab724 06:11:21 Removing intermediate container 1a33ba9ab724 06:11:21 ---> 7e5a8c94191c 06:11:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:11:21 ---> Running in 9e3bafe0b262 06:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:22 OK: 265 MiB in 53 packages 06:11:22 Removing intermediate container 9e3bafe0b262 06:11:22 ---> fccb9e8efc1f 06:11:22 Step 9/26 : WORKDIR /device-onvif-camera 06:11:22 ---> Running in 2c802947949a 06:11:22 Removing intermediate container 2c802947949a 06:11:22 ---> ef84ad77651d 06:11:22 Step 10/26 : COPY go.mod vendor* ./ 06:11:22 ---> e409c21fa69b 06:11:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:22 ---> Running in 5ff3341c2cc4 06:11:23 Removing intermediate container 5ff3341c2cc4 06:11:23 ---> d8096748daab 06:11:23 Step 12/26 : COPY . . 06:11:24 ---> 787c52044290 06:11:24 Step 13/26 : RUN ${MAKE} 06:11:24 ---> Running in 6cb2152cdd52 06:11:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:11:43 Removing intermediate container 6cb2152cdd52 06:11:43 ---> 6fb256ae4677 06:11:43 Step 14/26 : FROM alpine:3.17 06:11:43 3.17: Pulling from library/alpine 06:11:43 f56be85fc22e: Already exists 06:11:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:11:43 Status: Downloaded newer image for alpine:3.17 06:11:43 ---> 9ed4aefc74f6 06:11:43 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:11:43 ---> Running in 8e4ab5a640bf 06:11:44 Removing intermediate container 8e4ab5a640bf 06:11:44 ---> 329f536d9541 06:11:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:11:44 ---> Running in 25c85a5be14f 06:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:44 (1/1) Installing dumb-init (1.2.5-r2) 06:11:44 Executing busybox-1.35.0-r29.trigger 06:11:44 OK: 7 MiB in 16 packages 06:11:45 Removing intermediate container 25c85a5be14f 06:11:45 ---> 1e6a2ff46720 06:11:45 Step 17/26 : WORKDIR / 06:11:45 ---> Running in 189f8b712784 06:11:45 Removing intermediate container 189f8b712784 06:11:45 ---> 1a4a0ac6456e 06:11:45 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:11:45 ---> 36cb783c1400 06:11:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:11:46 ---> 44914e3cd2e8 06:11:46 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:11:46 ---> e6b037500d7c 06:11:46 Step 21/26 : EXPOSE 59984 06:11:46 ---> Running in 073cd965435c 06:11:46 Removing intermediate container 073cd965435c 06:11:46 ---> a21c5fe87055 06:11:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:11:46 ---> Running in a204ace81232 06:11:46 Removing intermediate container a204ace81232 06:11:46 ---> 7fe3943300d4 06:11:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:11:46 ---> Running in 9e851c44ddde 06:11:46 Removing intermediate container 9e851c44ddde 06:11:46 ---> 11c095e06af1 06:11:46 Step 24/26 : LABEL arch=amd64 06:11:46 ---> Running in f0916eb523e8 06:11:46 Removing intermediate container f0916eb523e8 06:11:46 ---> 422a1947de2f 06:11:46 Step 25/26 : LABEL git_sha=da27ea250af397a4800d1d84d7fb872b978ba4f9 06:11:46 ---> Running in b7325f1e31d2 06:11:46 Removing intermediate container b7325f1e31d2 06:11:46 ---> 68334ac07df0 06:11:46 Step 26/26 : LABEL version=3.0.0-dev.39 06:11:46 ---> Running in 7f9696d83420 06:11:46 Removing intermediate container 7f9696d83420 06:11:46 ---> 5caaa7e809de 06:11:46 [Warning] One or more build-args [ARCH] were not consumed 06:11:46 Successfully built 5caaa7e809de 06:11:46 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:46 provisioning config files... 06:11:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8269069976565833026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:47 ---> docker-login.sh 06:11:47 nexus3.edgexfoundry.org:10001 06:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 nexus3.edgexfoundry.org:10002 06:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 nexus3.edgexfoundry.org:10003 06:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 nexus3.edgexfoundry.org:10004 06:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 docker.io 06:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:47 Configure a credential helper to remove this warning. See 06:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:47 06:11:47 Login Succeeded 06:11:47 ---> docker-login.sh ends [Pipeline] } 06:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:47 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 06:11:47 da27ea250af397a4800d1d84d7fb872b978ba4f9 06:11:47 latest 06:11:47 3.0.0-dev.39 06:11:47 da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:11:47 main 06:11:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:47 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9 06:11:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:11:48 8db5aa5f9909: Preparing 06:11:48 542d7f9d128e: Preparing 06:11:48 babbb92e2f70: Preparing 06:11:48 5b3ca6fa1b77: Preparing 06:11:48 f1417ff83b31: Preparing 06:11:48 f1417ff83b31: Layer already exists 06:11:48 542d7f9d128e: Pushed 06:11:48 8db5aa5f9909: Pushed 06:11:48 5b3ca6fa1b77: Pushed 06:11:50 babbb92e2f70: Pushed 06:11:51 da27ea250af397a4800d1d84d7fb872b978ba4f9: digest: sha256:df06f82cfc639265273d4541784c524d0ff850b98782c35cdba960d7f67a4daa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:11:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:11:51 8db5aa5f9909: Preparing 06:11:51 542d7f9d128e: Preparing 06:11:51 babbb92e2f70: Preparing 06:11:51 5b3ca6fa1b77: Preparing 06:11:51 f1417ff83b31: Preparing 06:11:51 5b3ca6fa1b77: Layer already exists 06:11:51 babbb92e2f70: Layer already exists 06:11:51 8db5aa5f9909: Layer already exists 06:11:51 542d7f9d128e: Layer already exists 06:11:51 f1417ff83b31: Layer already exists 06:11:51 latest: digest: sha256:df06f82cfc639265273d4541784c524d0ff850b98782c35cdba960d7f67a4daa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.39 06:11:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:11:52 8db5aa5f9909: Preparing 06:11:52 542d7f9d128e: Preparing 06:11:52 babbb92e2f70: Preparing 06:11:52 5b3ca6fa1b77: Preparing 06:11:52 f1417ff83b31: Preparing 06:11:52 8db5aa5f9909: Layer already exists 06:11:52 542d7f9d128e: Layer already exists 06:11:52 5b3ca6fa1b77: Layer already exists 06:11:52 babbb92e2f70: Layer already exists 06:11:52 f1417ff83b31: Layer already exists 06:11:52 3.0.0-dev.39: digest: sha256:df06f82cfc639265273d4541784c524d0ff850b98782c35cdba960d7f67a4daa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:11:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:11:52 8db5aa5f9909: Preparing 06:11:52 542d7f9d128e: Preparing 06:11:52 babbb92e2f70: Preparing 06:11:52 5b3ca6fa1b77: Preparing 06:11:52 f1417ff83b31: Preparing 06:11:52 babbb92e2f70: Layer already exists 06:11:52 5b3ca6fa1b77: Layer already exists 06:11:52 542d7f9d128e: Layer already exists 06:11:52 8db5aa5f9909: Layer already exists 06:11:52 f1417ff83b31: Layer already exists 06:11:52 da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39: digest: sha256:df06f82cfc639265273d4541784c524d0ff850b98782c35cdba960d7f67a4daa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 06:11:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:11:53 8db5aa5f9909: Preparing 06:11:53 542d7f9d128e: Preparing 06:11:53 babbb92e2f70: Preparing 06:11:53 5b3ca6fa1b77: Preparing 06:11:53 f1417ff83b31: Preparing 06:11:53 8db5aa5f9909: Layer already exists 06:11:53 f1417ff83b31: Layer already exists 06:11:53 babbb92e2f70: Layer already exists 06:11:53 5b3ca6fa1b77: Layer already exists 06:11:53 542d7f9d128e: Layer already exists 06:11:53 main: digest: sha256:df06f82cfc639265273d4541784c524d0ff850b98782c35cdba960d7f67a4daa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:11:53 ===================================================== [Pipeline] echo 06:11:53 taggedImages: 06:11:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9 06:11:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:11:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.39 06:11:53 - nexus3.edgexfoundry.org:10004/device-onvif-camera:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:11:53 - 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 06:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:54 06:11:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:54 latest: Pulling from edgex-lftools-log-publisher 06:11:54 5eb5b503b376: Pulling fs layer 06:11:54 5c69ac0246d0: Pulling fs layer 06:11:54 ec43610c2a17: Pulling fs layer 06:11:54 3a2ae6a8a46f: Pulling fs layer 06:11:54 33b1e0a273af: Pulling fs layer 06:11:54 5d3b04190fa2: Pulling fs layer 06:11:54 2f39f015ded8: Pulling fs layer 06:11:54 2f39f015ded8: Waiting 06:11:54 5d3b04190fa2: Waiting 06:11:54 3a2ae6a8a46f: Waiting 06:11:54 33b1e0a273af: Waiting 06:11:54 5c69ac0246d0: Download complete 06:11:54 3a2ae6a8a46f: Verifying Checksum 06:11:54 3a2ae6a8a46f: Download complete 06:11:54 ec43610c2a17: Verifying Checksum 06:11:54 ec43610c2a17: Download complete 06:11:54 33b1e0a273af: Verifying Checksum 06:11:54 33b1e0a273af: Download complete 06:11:54 5d3b04190fa2: Verifying Checksum 06:11:54 5d3b04190fa2: Download complete 06:11:54 5eb5b503b376: Verifying Checksum 06:11:54 5eb5b503b376: Download complete 06:11:55 2f39f015ded8: Download complete 06:11:55 5eb5b503b376: Pull complete 06:11:55 5c69ac0246d0: Pull complete 06:11:56 ec43610c2a17: Pull complete 06:11:56 3a2ae6a8a46f: Pull complete 06:11:56 33b1e0a273af: Pull complete 06:11:56 5d3b04190fa2: Pull complete 06:12:00 2f39f015ded8: Pull complete 06:12:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:12:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:12:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:01 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:12:02 $ docker top 923cd33daea7364c4258e655ad0128ceab27d4529218f163efe74aa728d05f3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:03 ---> job-cost.sh 06:12:03 lf-activate-venv: SKIPPING 06:12:03 INFO: No Stack... 06:12:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:12:03 INFO: Archiving Costs [Pipeline] sh 06:12:04 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 06:12:04 + cut -d, -f6 [Pipeline] lock 06:12:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] 06:12:04 Resource [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] did not exist. Created. 06:12:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:12:04 + echo total: 0.2199999988079071 [Pipeline] stash 06:12:04 Stashed 1 file(s) [Pipeline] } 06:12:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 06:12:04 $ docker stop --time=1 923cd33daea7364c4258e655ad0128ceab27d4529218f163efe74aa728d05f3e 06:12:05 $ docker rm -f --volumes 923cd33daea7364c4258e655ad0128ceab27d4529218f163efe74aa728d05f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:13:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13851 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 06:13:01 Running in /w/workspace/device-onvif-camera/135 [Pipeline] { [Pipeline] checkout 06:13:01 The recommended git tool is: git 06:13:09 using credential edgex-jenkins-ssh 06:13:10 Cloning the remote Git repository 06:13:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:13:10 > git init /w/workspace/device-onvif-camera/135 # timeout=10 06:13:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:13:10 > git --version # timeout=10 06:13:10 > git --version # 'git version 2.25.1' 06:13:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:13:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:13:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:13:14 Avoid second fetch 06:13:14 Checking out Revision da27ea250af397a4800d1d84d7fb872b978ba4f9 (main) 06:13:14 > git config core.sparsecheckout # timeout=10 06:13:14 > git checkout -f da27ea250af397a4800d1d84d7fb872b978ba4f9 # timeout=10 06:13:15 Commit message: "Merge pull request #342 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:13:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:16 Dload Upload Total Spent Left Speed 06:13:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 06:13:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:13:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:13:17 + sudo tee /etc/docker/daemon.new 06:13:17 { 06:13:17 "registry-mirrors": [ 06:13:17 "https://nexus3.edgexfoundry.org:10001" 06:13:17 ], 06:13:17 "bip": "10.250.0.254/24", 06:13:17 "hosts": [ 06:13:17 "tcp://0.0.0.0:5555", 06:13:17 "unix:///var/run/docker.sock" 06:13:17 ], 06:13:17 "mtu": 1458, 06:13:17 "selinux-enabled": true, 06:13:17 "seccomp-profile": "/etc/docker/seccomp.json" 06:13:17 } [Pipeline] sh 06:13:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:13:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:13:36 provisioning config files... 06:13:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/135@tmp/config18374878090008469131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:37 ---> docker-login.sh 06:13:37 nexus3.edgexfoundry.org:10001 06:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10002 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10003 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10004 06:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:39 Configure a credential helper to remove this warning. See 06:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:39 06:13:39 Login Succeeded 06:13:39 docker.io 06:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:40 Configure a credential helper to remove this warning. See 06:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:40 06:13:40 Login Succeeded 06:13:40 ---> docker-login.sh ends [Pipeline] } 06:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:40 ========================================================= 06:13:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:13:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:40 + 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:13:41 Sending build context to Docker daemon 14.18MB 06:13:41 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:13:41 Step 2/13 : FROM ${BASE} AS builder 06:13:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:41 c41833b44d91: Pulling fs layer 06:13:41 ed15518f5707: Pulling fs layer 06:13:41 feae8fd75edb: Pulling fs layer 06:13:41 242c74f7c9fa: Pulling fs layer 06:13:41 3cdef696dda3: Pulling fs layer 06:13:41 242c74f7c9fa: Waiting 06:13:41 3cdef696dda3: Waiting 06:13:41 2ced38df9373: Pulling fs layer 06:13:41 58f1dce35555: Pulling fs layer 06:13:41 58f1dce35555: Waiting 06:13:41 2ced38df9373: Waiting 06:13:41 ed15518f5707: Download complete 06:13:41 242c74f7c9fa: Verifying Checksum 06:13:41 242c74f7c9fa: Download complete 06:13:41 3cdef696dda3: Verifying Checksum 06:13:41 3cdef696dda3: Download complete 06:13:41 c41833b44d91: Verifying Checksum 06:13:41 c41833b44d91: Download complete 06:13:43 c41833b44d91: Pull complete 06:13:43 58f1dce35555: Verifying Checksum 06:13:43 58f1dce35555: Download complete 06:13:43 ed15518f5707: Pull complete 06:13:45 feae8fd75edb: Verifying Checksum 06:13:45 feae8fd75edb: Download complete 06:13:45 2ced38df9373: Verifying Checksum 06:13:45 2ced38df9373: Download complete 06:13:57 feae8fd75edb: Pull complete 06:13:57 242c74f7c9fa: Pull complete 06:13:58 3cdef696dda3: Pull complete 06:14:04 2ced38df9373: Pull complete 06:14:07 58f1dce35555: Pull complete 06:14:07 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:14:07 ---> fadd8f120f05 06:14:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:14:10 ---> Running in 6ad1a8d1781a 06:14:10 Removing intermediate container 6ad1a8d1781a 06:14:10 ---> b57726f3bf06 06:14:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:10 ---> Running in 112ed023421e 06:14:10 Removing intermediate container 112ed023421e 06:14:10 ---> 0213ecc50eab 06:14:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:14:10 ---> Running in b2975f0e8887 06:14:11 Removing intermediate container b2975f0e8887 06:14:11 ---> 6f1beb6d7a56 06:14:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:14:11 ---> Running in a69a8269d997 06:14:11 Removing intermediate container a69a8269d997 06:14:11 ---> 958d1b737453 06:14:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:14:11 ---> Running in 77aa0c8a4706 06:14:12 Removing intermediate container 77aa0c8a4706 06:14:12 ---> 2b290822366c 06:14:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:12 ---> Running in 8928a7c53d5a 06:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:15 OK: 263 MiB in 53 packages 06:14:16 Removing intermediate container 8928a7c53d5a 06:14:16 ---> e323ecfd8f6b 06:14:16 Step 9/13 : WORKDIR /device-onvif-camera 06:14:17 ---> Running in f0ca440bc7f9 06:14:17 Removing intermediate container f0ca440bc7f9 06:14:17 ---> 73d7b03eee7d 06:14:17 Step 10/13 : COPY go.mod vendor* ./ 06:14:18 ---> 2d9f79061c47 06:14:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:18 ---> Running in 290f1c49deaf 06:15:40 Removing intermediate container 290f1c49deaf 06:15:40 ---> 0d84b5b77c4c 06:15:40 Step 12/13 : COPY . . 06:15:40 ---> f92f355edbdf 06:15:40 Step 13/13 : RUN ${MAKE} 06:15:40 ---> Running in 28bd95c8da8b 06:15:40 noop 06:15:40 Removing intermediate container 28bd95c8da8b 06:15:40 ---> 6a0bf5cd3044 06:15:40 Successfully built 6a0bf5cd3044 06:15:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:40 + docker inspect -f . ci-base-image-arm64 06:15:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:40 prd-ubuntu20.04-docker-arm64-4c-16g-13851 does not seem to be running inside a container 06:15:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/135 -v /w/workspace/device-onvif-camera/135:/w/workspace/device-onvif-camera/135:rw,z -v /w/workspace/device-onvif-camera/135@tmp:/w/workspace/device-onvif-camera/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:42 $ docker top 8ea568cb3744e79fc579085806c61d952f01aa647f8668879743bfc7044ad1fa -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:43 + go version 06:15:43 go version go1.20.2 linux/arm64 [Pipeline] } 06:15:43 $ docker stop --time=1 8ea568cb3744e79fc579085806c61d952f01aa647f8668879743bfc7044ad1fa 06:15:45 $ docker rm -f --volumes 8ea568cb3744e79fc579085806c61d952f01aa647f8668879743bfc7044ad1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:45 + docker inspect -f . ci-base-image-arm64 06:15:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:46 prd-ubuntu20.04-docker-arm64-4c-16g-13851 does not seem to be running inside a container 06:15:46 $ 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/135 -v /w/workspace/device-onvif-camera/135:/w/workspace/device-onvif-camera/135:rw,z -v /w/workspace/device-onvif-camera/135@tmp:/w/workspace/device-onvif-camera/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:47 $ docker top 06a47d07d768ad5625a512f98e669050eec33e0ad22708fcfe99db984b7364db -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:48 + git config --global --add safe.directory /w/workspace/device-onvif-camera/135 [Pipeline] fileExists [Pipeline] sh 06:15:49 + make test 06:15:49 go test ./... -coverprofile=coverage.out ./... 06:16:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:19:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:19:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:19:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.228s coverage: 31.1% of statements 06:19:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.983s coverage: 86.5% of statements 06:19:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:19:35 go vet ./... 06:20:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:20:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:20:14 ./bin/test-attribution-txt.sh [Pipeline] echo 06:20:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:20:14 $ docker stop --time=1 06a47d07d768ad5625a512f98e669050eec33e0ad22708fcfe99db984b7364db 06:20:16 $ docker rm -f --volumes 06a47d07d768ad5625a512f98e669050eec33e0ad22708fcfe99db984b7364db [Pipeline] // withDockerContainer [Pipeline] sh 06:20:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:17 Warning: overwriting stash ‘coverage-report’ 06:20:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:18 + ls -al . 06:20:18 total 228 06:20:18 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:15 . 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:13 .. 06:20:18 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:13 .git 06:20:18 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:13 .github 06:20:18 -rw-rw-r-- 1 jenkins jenkins 496 May 5 06:13 .gitignore 06:20:18 -rw-rw-r-- 1 jenkins jenkins 42 May 5 06:13 .golangci.yml 06:20:18 -rw-rw-r-- 1 jenkins jenkins 10087 May 5 06:13 Attribution.txt 06:20:18 -rw-rw-r-- 1 jenkins jenkins 6312 May 5 06:13 CHANGELOG.md 06:20:18 -rw-rw-r-- 1 jenkins jenkins 1574 May 5 06:13 Dockerfile 06:20:18 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:13 GOVERNANCE.md 06:20:18 -rw-rw-r-- 1 jenkins jenkins 734 May 5 06:13 Jenkinsfile 06:20:18 -rw-rw-r-- 1 jenkins jenkins 11348 May 5 06:13 LICENSE 06:20:18 -rw-rw-r-- 1 jenkins jenkins 2751 May 5 06:13 Makefile 06:20:18 -rw-rw-r-- 1 jenkins jenkins 625 May 5 06:13 OWNERS.md 06:20:18 -rw-rw-r-- 1 jenkins jenkins 2591 May 5 06:13 README.md 06:20:18 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:10 VERSION 06:20:18 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:13 bin 06:20:18 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:13 cmd 06:20:18 -rw-r--r-- 1 jenkins jenkins 79191 May 5 06:19 coverage.out 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:13 doc 06:20:18 -rw-rw-r-- 1 jenkins jenkins 3642 May 5 06:13 go.mod 06:20:18 -rw-rw-r-- 1 jenkins jenkins 33491 May 5 06:13 go.sum 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:13 internal 06:20:18 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:13 snap 06:20:18 -rw-rw-r-- 1 jenkins jenkins 236 May 5 06:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:19 + 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=da27ea250af397a4800d1d84d7fb872b978ba4f9 --label arch=arm64 --label version=3.0.0-dev.39 . 06:20:19 Sending build context to Docker daemon 14.26MB 06:20:19 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:20:19 Step 2/26 : FROM ${BASE} AS builder 06:20:19 ---> 6a0bf5cd3044 06:20:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:20:20 ---> Running in 6469805ae11d 06:20:20 Removing intermediate container 6469805ae11d 06:20:20 ---> 0b3a28367154 06:20:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:20:20 ---> Running in 925c96257cc1 06:20:20 Removing intermediate container 925c96257cc1 06:20:20 ---> 8b011d64fd94 06:20:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:20:20 ---> Running in 3831ae6836ff 06:20:21 Removing intermediate container 3831ae6836ff 06:20:21 ---> 31c2b46447af 06:20:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:20:21 ---> Running in 14615e2c1ac3 06:20:21 Removing intermediate container 14615e2c1ac3 06:20:21 ---> 8d9d19fe5f34 06:20:21 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:20:21 ---> Running in 2de4297dd551 06:20:21 Removing intermediate container 2de4297dd551 06:20:21 ---> d73bcd7067d2 06:20:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:21 ---> Running in 9accf7afc8ca 06:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:20:25 OK: 263 MiB in 53 packages 06:20:27 Removing intermediate container 9accf7afc8ca 06:20:27 ---> d9c778408d7c 06:20:27 Step 9/26 : WORKDIR /device-onvif-camera 06:20:27 ---> Running in 9ebdcafbbda9 06:20:28 Removing intermediate container 9ebdcafbbda9 06:20:28 ---> 694797971f16 06:20:28 Step 10/26 : COPY go.mod vendor* ./ 06:20:28 ---> 53bf6de09a5e 06:20:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:29 ---> Running in c1ab547e0875 06:20:31 Removing intermediate container c1ab547e0875 06:20:31 ---> 1d0848b0c7b2 06:20:31 Step 12/26 : COPY . . 06:20:33 ---> 5256868f6799 06:20:33 Step 13/26 : RUN ${MAKE} 06:20:33 ---> Running in f7907e465db6 06:20:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:23:25 Removing intermediate container f7907e465db6 06:23:25 ---> eab84958c57f 06:23:25 Step 14/26 : FROM alpine:3.17 06:23:25 3.17: Pulling from library/alpine 06:23:25 c41833b44d91: Already exists 06:23:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:23:25 Status: Downloaded newer image for alpine:3.17 06:23:25 ---> 51e60588ff2c 06:23:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:23:25 ---> Running in 77ca99290d04 06:23:25 Removing intermediate container 77ca99290d04 06:23:25 ---> 37736bf20c4e 06:23:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:23:25 ---> Running in d39f6222171e 06:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:23:25 (1/1) Installing dumb-init (1.2.5-r2) 06:23:25 Executing busybox-1.35.0-r29.trigger 06:23:25 OK: 8 MiB in 16 packages 06:23:25 Removing intermediate container d39f6222171e 06:23:25 ---> 4e1794463f23 06:23:25 Step 17/26 : WORKDIR / 06:23:25 ---> Running in 023f55d09232 06:23:25 Removing intermediate container 023f55d09232 06:23:25 ---> 8e3b2b63a727 06:23:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:23:25 ---> eaf2fcec2c62 06:23:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:23:25 ---> ca41f248de2b 06:23:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:23:25 ---> c0f9eb6fdf35 06:23:25 Step 21/26 : EXPOSE 59984 06:23:25 ---> Running in 4494df6bfb85 06:23:25 Removing intermediate container 4494df6bfb85 06:23:25 ---> 351b80cb71e6 06:23:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:23:25 ---> Running in c4293fc7ae0c 06:23:25 Removing intermediate container c4293fc7ae0c 06:23:25 ---> 86a16171b829 06:23:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:23:25 ---> Running in 6f15259ae1ec 06:23:25 Removing intermediate container 6f15259ae1ec 06:23:25 ---> a63f9ccba6f7 06:23:25 Step 24/26 : LABEL arch=arm64 06:23:25 ---> Running in ba3b0b849d22 06:23:25 Removing intermediate container ba3b0b849d22 06:23:25 ---> bc5c40832de9 06:23:25 Step 25/26 : LABEL git_sha=da27ea250af397a4800d1d84d7fb872b978ba4f9 06:23:25 ---> Running in b08659eceaf3 06:23:25 Removing intermediate container b08659eceaf3 06:23:25 ---> c0378017aa0b 06:23:25 Step 26/26 : LABEL version=3.0.0-dev.39 06:23:25 ---> Running in 6c2ef40252fe 06:23:26 Removing intermediate container 6c2ef40252fe 06:23:26 ---> fe87ef8b594d 06:23:26 [Warning] One or more build-args [ARCH] were not consumed 06:23:26 Successfully built fe87ef8b594d 06:23:26 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 06:23:26 provisioning config files... 06:23:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/135@tmp/config4233034517653581751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:26 ---> docker-login.sh 06:23:26 nexus3.edgexfoundry.org:10001 06:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:26 Configure a credential helper to remove this warning. See 06:23:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:26 06:23:26 Login Succeeded 06:23:26 nexus3.edgexfoundry.org:10002 06:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:27 Configure a credential helper to remove this warning. See 06:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:27 06:23:27 Login Succeeded 06:23:27 nexus3.edgexfoundry.org:10003 06:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:27 Configure a credential helper to remove this warning. See 06:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:27 06:23:27 Login Succeeded 06:23:27 nexus3.edgexfoundry.org:10004 06:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:28 Configure a credential helper to remove this warning. See 06:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:28 06:23:28 Login Succeeded 06:23:28 docker.io 06:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:28 Configure a credential helper to remove this warning. See 06:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:28 06:23:28 Login Succeeded 06:23:28 ---> docker-login.sh ends [Pipeline] } 06:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:23:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:23:28 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 06:23:28 da27ea250af397a4800d1d84d7fb872b978ba4f9 06:23:28 latest 06:23:28 3.0.0-dev.39 06:23:28 da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:23:28 main 06:23:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:29 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9 06:23:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:23:29 2130186647cb: Preparing 06:23:29 2f2cd7d1e248: Preparing 06:23:29 f4f67770d71d: Preparing 06:23:29 ef548ba961af: Preparing 06:23:29 26cbea5cba74: Preparing 06:23:29 26cbea5cba74: Layer already exists 06:23:29 2130186647cb: Pushed 06:23:29 ef548ba961af: Pushed 06:23:29 2f2cd7d1e248: Pushed 06:23:36 f4f67770d71d: Pushed 06:23:36 da27ea250af397a4800d1d84d7fb872b978ba4f9: digest: sha256:5ea0f549436ff4e01b574977e6d4b3d847d3198e7a89ed9c1bbe3f80dffbc62a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:36 + 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 06:23:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:23:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:23:37 2130186647cb: Preparing 06:23:37 2f2cd7d1e248: Preparing 06:23:37 f4f67770d71d: Preparing 06:23:37 ef548ba961af: Preparing 06:23:37 26cbea5cba74: Preparing 06:23:37 26cbea5cba74: Layer already exists 06:23:37 2f2cd7d1e248: Layer already exists 06:23:37 2130186647cb: Layer already exists 06:23:37 ef548ba961af: Layer already exists 06:23:37 f4f67770d71d: Layer already exists 06:23:37 latest: digest: sha256:5ea0f549436ff4e01b574977e6d4b3d847d3198e7a89ed9c1bbe3f80dffbc62a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.39 06:23:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:23:37 2130186647cb: Preparing 06:23:37 2f2cd7d1e248: Preparing 06:23:37 f4f67770d71d: Preparing 06:23:37 ef548ba961af: Preparing 06:23:37 26cbea5cba74: Preparing 06:23:37 26cbea5cba74: Layer already exists 06:23:37 2f2cd7d1e248: Layer already exists 06:23:37 2130186647cb: Layer already exists 06:23:37 f4f67770d71d: Layer already exists 06:23:37 ef548ba961af: Layer already exists 06:23:38 3.0.0-dev.39: digest: sha256:5ea0f549436ff4e01b574977e6d4b3d847d3198e7a89ed9c1bbe3f80dffbc62a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:38 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:23:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:23:38 2130186647cb: Preparing 06:23:38 2f2cd7d1e248: Preparing 06:23:38 f4f67770d71d: Preparing 06:23:38 ef548ba961af: Preparing 06:23:38 26cbea5cba74: Preparing 06:23:39 26cbea5cba74: Layer already exists 06:23:39 ef548ba961af: Layer already exists 06:23:39 f4f67770d71d: Layer already exists 06:23:39 2f2cd7d1e248: Layer already exists 06:23:39 2130186647cb: Layer already exists 06:23:39 da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39: digest: sha256:5ea0f549436ff4e01b574977e6d4b3d847d3198e7a89ed9c1bbe3f80dffbc62a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:39 + 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 06:23:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 06:23:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 06:23:39 2130186647cb: Preparing 06:23:39 2f2cd7d1e248: Preparing 06:23:39 f4f67770d71d: Preparing 06:23:39 ef548ba961af: Preparing 06:23:39 26cbea5cba74: Preparing 06:23:39 ef548ba961af: Layer already exists 06:23:39 f4f67770d71d: Layer already exists 06:23:39 2130186647cb: Layer already exists 06:23:39 26cbea5cba74: Layer already exists 06:23:39 2f2cd7d1e248: Layer already exists 06:23:39 main: digest: sha256:5ea0f549436ff4e01b574977e6d4b3d847d3198e7a89ed9c1bbe3f80dffbc62a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:23:40 ===================================================== [Pipeline] echo 06:23:40 taggedImages: 06:23:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9 06:23:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 06:23:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.39 06:23:40 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:da27ea250af397a4800d1d84d7fb872b978ba4f9-3.0.0-dev.39 06:23:40 - 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 06:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:40 06:23:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:23:40 arm64: Pulling from edgex-lftools-log-publisher 06:23:40 8998bd30e6a1: Pulling fs layer 06:23:40 04944245beec: Pulling fs layer 06:23:40 699f458cf7ca: Pulling fs layer 06:23:40 765212b225bb: Pulling fs layer 06:23:40 f23df028b6ca: Pulling fs layer 06:23:40 d65c8cfc05b1: Pulling fs layer 06:23:40 2437ff75d9bd: Pulling fs layer 06:23:40 765212b225bb: Waiting 06:23:40 f23df028b6ca: Waiting 06:23:40 d65c8cfc05b1: Waiting 06:23:41 04944245beec: Verifying Checksum 06:23:41 04944245beec: Download complete 06:23:41 765212b225bb: Verifying Checksum 06:23:41 765212b225bb: Download complete 06:23:41 f23df028b6ca: Verifying Checksum 06:23:41 f23df028b6ca: Download complete 06:23:41 d65c8cfc05b1: Verifying Checksum 06:23:41 d65c8cfc05b1: Download complete 06:23:41 699f458cf7ca: Verifying Checksum 06:23:41 699f458cf7ca: Download complete 06:23:41 8998bd30e6a1: Download complete 06:23:44 2437ff75d9bd: Verifying Checksum 06:23:44 2437ff75d9bd: Download complete 06:23:46 8998bd30e6a1: Pull complete 06:23:46 04944245beec: Pull complete 06:23:48 699f458cf7ca: Pull complete 06:23:48 765212b225bb: Pull complete 06:23:48 f23df028b6ca: Pull complete 06:23:49 d65c8cfc05b1: Pull complete 06:24:04 2437ff75d9bd: Pull complete 06:24:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:04 prd-ubuntu20.04-docker-arm64-4c-16g-13851 does not seem to be running inside a container 06:24:04 $ 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/135 -v /w/workspace/device-onvif-camera/135:/w/workspace/device-onvif-camera/135:rw,z -v /w/workspace/device-onvif-camera/135@tmp:/w/workspace/device-onvif-camera/135@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:24:07 $ docker top 2c0f1a8ca8929a55955cec4bec7cd1aecb2712886805937ed69895bfa4b09623 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:08 ---> job-cost.sh 06:24:08 lf-activate-venv: SKIPPING 06:24:08 INFO: No Stack... 06:24:08 INFO: Retrieving Pricing Info for: v3-standard-4 06:24:09 INFO: Archiving Costs [Pipeline] sh 06:24:10 + cat /w/workspace/device-onvif-camera/135/archives/cost.csv 06:24:10 + cut -d, -f6 [Pipeline] lock 06:24:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] 06:24:10 Resource [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] did not exist. Created. 06:24:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:10 /w/workspace/device-onvif-camera/135@tmp/durable-55cd5b8a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:24:11 + echo total: 0.10999999940395355 [Pipeline] stash 06:24:11 Warning: overwriting stash ‘stack-cost’ 06:24:11 Stashed 1 file(s) [Pipeline] } 06:24:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 06:24:11 $ docker stop --time=1 2c0f1a8ca8929a55955cec4bec7cd1aecb2712886805937ed69895bfa4b09623 06:24:13 $ docker rm -f --volumes 2c0f1a8ca8929a55955cec4bec7cd1aecb2712886805937ed69895bfa4b09623 [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 06:24:14 provisioning config files... 06:24:14 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10093502679777302807tmp [Pipeline] { [Pipeline] sh 06:24:14 + set +x 06:24:14 + curl -s https://codecov.io/bash 06:24:14 + bash -s -- 06:24:14 06:24:14 _____ _ 06:24:14 / ____| | | 06:24:14 | | ___ __| | ___ ___ _____ __ 06:24:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:24:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:24:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:24:14 Bash-1.0.6 06:24:14 06:24:14 06:24:14 ==> git version 2.25.1 found 06:24:14 ==> 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 06:24:14 Release-Date: 2020-01-08 06:24:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:24:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:24:14 ==> Jenkins CI detected. 06:24:14 current dir:  /w/workspace/foundry_device-onvif-camera_main 06:24:14 project root: . 06:24:14 --> token set from env 06:24:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:24:14 ==> Running gcov in . (disable via -X gcov) 06:24:14 ==> Python coveragepy not found 06:24:14 ==> Searching for coverage reports in: 06:24:14 + . 06:24:14 -> Found 1 reports 06:24:14 ==> Detecting git/mercurial file structure 06:24:14 ==> Reading reports 06:24:14 + ./coverage.out bytes=79191 06:24:14 ==> Appending adjustments 06:24:14 https://docs.codecov.io/docs/fixing-reports 06:24:14 + Found adjustments 06:24:14 ==> Gzipping contents 06:24:14 12K /tmp/codecov.Gg4RIv.gz 06:24:14 ==> Uploading reports 06:24:14 url: https://codecov.io 06:24:14 query: branch=main&commit=da27ea250af397a4800d1d84d7fb872b978ba4f9&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:24:14 -> Pinging Codecov 06:24:14 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=da27ea250af397a4800d1d84d7fb872b978ba4f9&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 06:24:14 -> Uploading to 06:24:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/F29A59C45E3A92E06B3E522C9905F8EF/da27ea250af397a4800d1d84d7fb872b978ba4f9/1898a0d7-3aea-49a0-ad61-dc3ef6a70e76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T062414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d088add9f054a7a5a0fe126419d9e096617c7e7318e7f8b9e9cbc5e3b88f6f83 06:24:14 % Total % Received % Xferd Average Speed Time Time Time Current 06:24:14 Dload Upload Total Spent Left Speed 06:24:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 49613 --:--:-- --:--:-- --:--:-- 49613 06:24:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] } 06:24:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:24:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:24:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:24:15 06:24:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:24:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:24:15 df9b9388f04a: Pulling fs layer 06:24:15 52dc419b0ee2: Pulling fs layer 06:24:15 25bc292e5bac: Pulling fs layer 06:24:15 114826534d7a: Pulling fs layer 06:24:15 4657fd5d0bcf: Pulling fs layer 06:24:15 6ad1cebc031e: Pulling fs layer 06:24:15 8a3aa393b2d8: Pulling fs layer 06:24:15 6ad1cebc031e: Waiting 06:24:15 114826534d7a: Waiting 06:24:15 4657fd5d0bcf: Waiting 06:24:15 8a3aa393b2d8: Waiting 06:24:15 25bc292e5bac: Verifying Checksum 06:24:15 25bc292e5bac: Download complete 06:24:15 52dc419b0ee2: Verifying Checksum 06:24:15 52dc419b0ee2: Download complete 06:24:15 4657fd5d0bcf: Verifying Checksum 06:24:15 4657fd5d0bcf: Download complete 06:24:15 df9b9388f04a: Download complete 06:24:16 6ad1cebc031e: Verifying Checksum 06:24:16 6ad1cebc031e: Download complete 06:24:16 df9b9388f04a: Pull complete 06:24:16 52dc419b0ee2: Pull complete 06:24:16 25bc292e5bac: Pull complete 06:24:16 114826534d7a: Download complete 06:24:16 8a3aa393b2d8: Verifying Checksum 06:24:16 8a3aa393b2d8: Download complete 06:24:19 114826534d7a: Pull complete 06:24:19 4657fd5d0bcf: Pull complete 06:24:20 6ad1cebc031e: Pull complete 06:24:22 8a3aa393b2d8: Pull complete 06:24:22 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:24:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:24:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:22 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:24:25 $ docker top 3dadc65a1a9873c319e9cbeb8723fdd58ad63fdf247c6d54d50b14a5395b0f9f -eo pid,comm [Pipeline] { [Pipeline] echo 06:24:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 06:24:25 + set -o pipefail 06:24:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 06:24:29 06:24:29 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 06:24:29 06:24:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/42e39e69-ee19-4402-b52a-c1b105dd175e 06:24:29 06:24:29 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 06:24:29 06:24:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:24:29 06:24:29 06:24:29 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:24:29 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:24:29 More details here: https://snyk.co/ue1NS 06:24:29 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:24:29 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:24:29 $ docker stop --time=1 3dadc65a1a9873c319e9cbeb8723fdd58ad63fdf247c6d54d50b14a5395b0f9f 06:24:32 $ docker rm -f --volumes 3dadc65a1a9873c319e9cbeb8723fdd58ad63fdf247c6d54d50b14a5395b0f9f [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 06:24:32 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:32 provisioning config files... 06:24:32 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1600638955104314581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:33 --> edgex-publish-swagger.sh 06:24:33 === Publish doc/openapi/v2 API === 06:24:33 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 06:24:33 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 06:24:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:24:33 Dload Upload Total Spent Left Speed 06:24:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 624k --:--:-- --:--:-- --:--:-- 625k 06:24:33 06:24:33 [Pipeline] } 06:24:33 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 06:24:34 + git log --format=format:%s -1 da27ea250af397a4800d1d84d7fb872b978ba4f9 [Pipeline] sh 06:24:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:24:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:24:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:34 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:24:35 $ docker top f2e3106ad8de4d7feaf9c47f4860a7bb35d1805ddab7c2ebb5736a638f65f786 -eo pid,comm 06:24:35 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:24:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:24:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:24:35 [ssh-agent] Looking for ssh-agent implementation... 06:24:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:35 $ docker exec f2e3106ad8de4d7feaf9c47f4860a7bb35d1805ddab7c2ebb5736a638f65f786 ssh-agent 06:24:35 SSH_AUTH_SOCK=/tmp/ssh-vSIKqlYY6g5u/agent.32 06:24:35 SSH_AGENT_PID=38 06:24:35 Running ssh-add (command line suppressed) 06:24:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17022405584051291963.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17022405584051291963.key) 06:24:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:24:35 + git semver tag 06:24:36 2023-05-05 06:24:35,981 [run_tag] DEBUG tag force:False 06:24:36 2023-05-05 06:24:35,981 [check_head_tag] DEBUG check head tag 06:24:36 2023-05-05 06:24:35,983 [execute] INFO git cat-file --batch-check 06:24:36 2023-05-05 06:24:35,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:24:36 2023-05-05 06:24:35,987 [execute] INFO git cat-file --batch 06:24:36 2023-05-05 06:24:35,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 06:24:36 2023-05-05 06:24:36,022 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:24:36 2023-05-05 06:24:36,022 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 06:24:36 2023-05-05 06:24:36,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:24:36 2023-05-05 06:24:36,028 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:24:36 3.0.0-dev.39 [Pipeline] } 06:24:36 $ docker exec --env ******** --env ******** f2e3106ad8de4d7feaf9c47f4860a7bb35d1805ddab7c2ebb5736a638f65f786 ssh-agent -k 06:24:36 unset SSH_AUTH_SOCK; 06:24:36 unset SSH_AGENT_PID; 06:24:36 echo Agent pid 38 killed; 06:24:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:24:36 + git semver [Pipeline] } 06:24:36 $ docker stop --time=1 f2e3106ad8de4d7feaf9c47f4860a7bb35d1805ddab7c2ebb5736a638f65f786 06:24:38 $ docker rm -f --volumes f2e3106ad8de4d7feaf9c47f4860a7bb35d1805ddab7c2ebb5736a638f65f786 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:38 06:24:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:38 0.23.1-centos7: Pulling from edgex-lftools 06:24:38 ab5ef0e58194: Pulling fs layer 06:24:38 9712f1f96733: Pulling fs layer 06:24:38 63f879dbbcfc: Pulling fs layer 06:24:38 0d9ebad4ef96: Pulling fs layer 06:24:38 e9a5061849ea: Pulling fs layer 06:24:38 d747dcd14b5f: Pulling fs layer 06:24:38 2de7ff778b66: Pulling fs layer 06:24:38 0d9ebad4ef96: Waiting 06:24:38 e9a5061849ea: Waiting 06:24:38 d747dcd14b5f: Waiting 06:24:38 2de7ff778b66: Waiting 06:24:38 9712f1f96733: Verifying Checksum 06:24:38 9712f1f96733: Download complete 06:24:38 63f879dbbcfc: Verifying Checksum 06:24:38 63f879dbbcfc: Download complete 06:24:39 e9a5061849ea: Verifying Checksum 06:24:39 e9a5061849ea: Download complete 06:24:39 d747dcd14b5f: Verifying Checksum 06:24:39 d747dcd14b5f: Download complete 06:24:39 0d9ebad4ef96: Verifying Checksum 06:24:39 0d9ebad4ef96: Download complete 06:24:39 ab5ef0e58194: Verifying Checksum 06:24:39 ab5ef0e58194: Download complete 06:24:39 2de7ff778b66: Verifying Checksum 06:24:39 2de7ff778b66: Download complete 06:24:42 ab5ef0e58194: Pull complete 06:24:42 9712f1f96733: Pull complete 06:24:42 63f879dbbcfc: Pull complete 06:24:46 0d9ebad4ef96: Pull complete 06:24:46 e9a5061849ea: Pull complete 06:24:46 d747dcd14b5f: Pull complete 06:24:48 2de7ff778b66: Pull complete 06:24:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:24:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:48 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:24:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:24:51 $ docker top fe55cdb822e5bb1b8b7ec11eeb802ce85ba97c4e5be71aee29c56e3393a39bf3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:24:51 provisioning config files... 06:24:51 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7496590117057824876tmp 06:24:51 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17623628178374781346tmp 06:24:51 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11614872302497165992tmp [Pipeline] { [Pipeline] echo 06:24:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:24:51 ---> sigul-configuration.sh 06:24:51 gpg: directory `/root/.gnupg' created 06:24:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:24:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:24:51 gpg: keyring `/root/.gnupg/secring.gpg' created 06:24:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:24:51 gpg: CAST5 encrypted data 06:24:51 gpg: encrypted with 1 passphrase 06:24:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:24:52 + mkdir /home/jenkins 06:24:52 + mkdir /home/jenkins/sigul [Pipeline] sh 06:24:52 + 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 06:24:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:24:52 ---> sigul-install.sh 06:24:52 Sigul already installed; skipping installation. [Pipeline] sh 06:24:53 + git tag --list 06:24:53 v0.0.0 06:24:53 v0.0.1-dev.1 06:24:53 v0.0.1-dev.10 06:24:53 v0.0.1-dev.11 06:24:53 v0.0.1-dev.12 06:24:53 v0.0.1-dev.13 06:24:53 v0.0.1-dev.14 06:24:53 v0.0.1-dev.15 06:24:53 v0.0.1-dev.16 06:24:53 v0.0.1-dev.17 06:24:53 v0.0.1-dev.18 06:24:53 v0.0.1-dev.19 06:24:53 v0.0.1-dev.2 06:24:53 v0.0.1-dev.20 06:24:53 v0.0.1-dev.21 06:24:53 v0.0.1-dev.22 06:24:53 v0.0.1-dev.23 06:24:53 v0.0.1-dev.24 06:24:53 v0.0.1-dev.25 06:24:53 v0.0.1-dev.26 06:24:53 v0.0.1-dev.27 06:24:53 v0.0.1-dev.28 06:24:53 v0.0.1-dev.3 06:24:53 v0.0.1-dev.4 06:24:53 v0.0.1-dev.5 06:24:53 v0.0.1-dev.6 06:24:53 v0.0.1-dev.7 06:24:53 v0.0.1-dev.8 06:24:53 v0.0.1-dev.9 06:24:53 v2.2.0 06:24:53 v2.2.0-dev.29 06:24:53 v2.2.0-dev.30 06:24:53 v2.2.0-dev.31 06:24:53 v2.2.0-dev.32 06:24:53 v2.2.0-dev.33 06:24:53 v2.2.0-dev.34 06:24:53 v2.2.0-dev.35 06:24:53 v2.3.0 06:24:53 v2.3.0-dev.1 06:24:53 v2.3.0-dev.10 06:24:53 v2.3.0-dev.11 06:24:53 v2.3.0-dev.12 06:24:53 v2.3.0-dev.13 06:24:53 v2.3.0-dev.14 06:24:53 v2.3.0-dev.15 06:24:53 v2.3.0-dev.16 06:24:53 v2.3.0-dev.17 06:24:53 v2.3.0-dev.18 06:24:53 v2.3.0-dev.19 06:24:53 v2.3.0-dev.2 06:24:53 v2.3.0-dev.20 06:24:53 v2.3.0-dev.21 06:24:53 v2.3.0-dev.22 06:24:53 v2.3.0-dev.23 06:24:53 v2.3.0-dev.24 06:24:53 v2.3.0-dev.25 06:24:53 v2.3.0-dev.26 06:24:53 v2.3.0-dev.27 06:24:53 v2.3.0-dev.28 06:24:53 v2.3.0-dev.29 06:24:53 v2.3.0-dev.3 06:24:53 v2.3.0-dev.30 06:24:53 v2.3.0-dev.31 06:24:53 v2.3.0-dev.32 06:24:53 v2.3.0-dev.33 06:24:53 v2.3.0-dev.34 06:24:53 v2.3.0-dev.35 06:24:53 v2.3.0-dev.36 06:24:53 v2.3.0-dev.37 06:24:53 v2.3.0-dev.38 06:24:53 v2.3.0-dev.39 06:24:53 v2.3.0-dev.4 06:24:53 v2.3.0-dev.40 06:24:53 v2.3.0-dev.41 06:24:53 v2.3.0-dev.42 06:24:53 v2.3.0-dev.43 06:24:53 v2.3.0-dev.44 06:24:53 v2.3.0-dev.45 06:24:53 v2.3.0-dev.5 06:24:53 v2.3.0-dev.6 06:24:53 v2.3.0-dev.7 06:24:53 v2.3.0-dev.8 06:24:53 v2.3.0-dev.9 06:24:53 v2.3.1 06:24:53 v2.3.1-dev.1 06:24:53 v2.3.1-dev.4 06:24:53 v2.3.1-dev.5 06:24:53 v2.3.2-dev.1 06:24:53 v2.3.2-dev.2 06:24:53 v3.0.0-dev.1 06:24:53 v3.0.0-dev.10 06:24:53 v3.0.0-dev.11 06:24:53 v3.0.0-dev.12 06:24:53 v3.0.0-dev.13 06:24:53 v3.0.0-dev.14 06:24:53 v3.0.0-dev.15 06:24:53 v3.0.0-dev.16 06:24:53 v3.0.0-dev.17 06:24:53 v3.0.0-dev.18 06:24:53 v3.0.0-dev.19 06:24:53 v3.0.0-dev.2 06:24:53 v3.0.0-dev.20 06:24:53 v3.0.0-dev.21 06:24:53 v3.0.0-dev.22 06:24:53 v3.0.0-dev.23 06:24:53 v3.0.0-dev.24 06:24:53 v3.0.0-dev.25 06:24:53 v3.0.0-dev.26 06:24:53 v3.0.0-dev.27 06:24:53 v3.0.0-dev.28 06:24:53 v3.0.0-dev.29 06:24:53 v3.0.0-dev.3 06:24:53 v3.0.0-dev.30 06:24:53 v3.0.0-dev.31 06:24:53 v3.0.0-dev.32 06:24:53 v3.0.0-dev.33 06:24:53 v3.0.0-dev.34 06:24:53 v3.0.0-dev.35 06:24:53 v3.0.0-dev.36 06:24:53 v3.0.0-dev.37 06:24:53 v3.0.0-dev.38 06:24:53 v3.0.0-dev.39 06:24:53 v3.0.0-dev.4 06:24:53 v3.0.0-dev.5 06:24:53 v3.0.0-dev.6 06:24:53 v3.0.0-dev.7 06:24:53 v3.0.0-dev.8 06:24:53 v3.0.0-dev.9 [Pipeline] sh 06:24:53 + lftools sign git-tag v3.0.0-dev.39 06:24:53 Signing Git tag with Sigul... 06:24:53 Signing v3.0.0-dev.39 06:26:45 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:26:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:26:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:26:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:26:45 $ docker stop --time=1 fe55cdb822e5bb1b8b7ec11eeb802ce85ba97c4e5be71aee29c56e3393a39bf3 06:26:47 $ docker rm -f --volumes fe55cdb822e5bb1b8b7ec11eeb802ce85ba97c4e5be71aee29c56e3393a39bf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:26:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:26:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:26:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:48 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:26:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:26:48 $ docker top f103b20ddd01a3bd2059d08d52e673eb623f7549306f59f7e0d6ecfa82e75479 -eo pid,comm 06:26:48 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:26:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:26:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:48 [ssh-agent] Looking for ssh-agent implementation... 06:26:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:48 $ docker exec f103b20ddd01a3bd2059d08d52e673eb623f7549306f59f7e0d6ecfa82e75479 ssh-agent 06:26:49 SSH_AUTH_SOCK=/tmp/ssh-k0xRCBUZTKrp/agent.14 06:26:49 SSH_AGENT_PID=28 06:26:49 Running ssh-add (command line suppressed) 06:26:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14742199875117492711.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14742199875117492711.key) 06:26:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:49 + git semver bump pre 06:26:49 2023-05-05 06:26:49,726 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:26:49 2023-05-05 06:26:49,727 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev 06:26:49 2023-05-05 06:26:49,727 [bump_version] DEBUG bumped version:3.0.0-dev.40 06:26:49 2023-05-05 06:26:49,727 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 06:26:49 2023-05-05 06:26:49,727 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:26:49 2023-05-05 06:26:49,727 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 06:26:49 2023-05-05 06:26:49,731 [execute] INFO git cat-file --batch-check 06:26:49 2023-05-05 06:26:49,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:26:49 2023-05-05 06:26:49,738 [execute] INFO git cat-file --batch 06:26:49 2023-05-05 06:26:49,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:26:49 2023-05-05 06:26:49,744 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:26:49 3.0.0-dev.40 [Pipeline] } 06:26:50 $ docker exec --env ******** --env ******** f103b20ddd01a3bd2059d08d52e673eb623f7549306f59f7e0d6ecfa82e75479 ssh-agent -k 06:26:50 unset SSH_AUTH_SOCK; 06:26:50 unset SSH_AGENT_PID; 06:26:50 echo Agent pid 28 killed; 06:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:50 + git semver [Pipeline] } 06:26:50 $ docker stop --time=1 f103b20ddd01a3bd2059d08d52e673eb623f7549306f59f7e0d6ecfa82e75479 06:26:52 $ docker rm -f --volumes f103b20ddd01a3bd2059d08d52e673eb623f7549306f59f7e0d6ecfa82e75479 [Pipeline] // withDockerContainer [Pipeline] sh 06:26:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:26:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:26:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:53 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:26: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:26:53 $ docker top c91f45c568e972f484b5fe1c5f26838abad9c1dc73f2876f55c17780167ad0ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:26:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:26:53 [ssh-agent] Looking for ssh-agent implementation... 06:26:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:26:53 $ docker exec c91f45c568e972f484b5fe1c5f26838abad9c1dc73f2876f55c17780167ad0ae ssh-agent 06:26:53 SSH_AUTH_SOCK=/tmp/ssh-t6LouV8spVjG/agent.33 06:26:53 SSH_AGENT_PID=39 06:26:53 Running ssh-add (command line suppressed) 06:26:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11746342983410499433.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11746342983410499433.key) 06:26:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:26:54 + git semver push 06:26:54 2023-05-05 06:26:54,347 [run_push] DEBUG push 06:26:54 2023-05-05 06:26:54,348 [execute] INFO git cat-file --batch-check 06:26:54 2023-05-05 06:26:54,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 06:26:54 2023-05-05 06:26:54,352 [execute] INFO git rev-list a86c960877b3e7cb95273e89100152af7934c79c -- 06:26:54 2023-05-05 06:26:54,352 [execute] DEBUG Popen(['git', 'rev-list', 'a86c960877b3e7cb95273e89100152af7934c79c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:26:54 2023-05-05 06:26:54,361 [execute] INFO git fetch -v origin 06:26:54 2023-05-05 06:26:54,361 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 06:26:54 2023-05-05 06:26:54,811 [run_push] DEBUG no remote changes detected 06:26:54 2023-05-05 06:26:54,812 [execute] INFO git push origin semver 06:26:54 2023-05-05 06:26:54,812 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 06:26:55 2023-05-05 06:26:55,582 [run_push] DEBUG push all version tags 06:26:55 2023-05-05 06:26:55,583 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:26:55 2023-05-05 06:26:55,583 [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) 06:26:56 2023-05-05 06:26:56,302 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:26:56 3.0.0-dev.40 [Pipeline] } 06:26:56 $ docker exec --env ******** --env ******** c91f45c568e972f484b5fe1c5f26838abad9c1dc73f2876f55c17780167ad0ae ssh-agent -k 06:26:56 unset SSH_AUTH_SOCK; 06:26:56 unset SSH_AGENT_PID; 06:26:56 echo Agent pid 39 killed; 06:26:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:26:57 + git semver [Pipeline] } 06:26:57 $ docker stop --time=1 c91f45c568e972f484b5fe1c5f26838abad9c1dc73f2876f55c17780167ad0ae 06:26:58 $ docker rm -f --volumes c91f45c568e972f484b5fe1c5f26838abad9c1dc73f2876f55c17780167ad0ae [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 06:26:59 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:26:59 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:26:59 total 16 06:26:59 drwxr-xr-x 3 root root 4096 May 5 06:12 . 06:26:59 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:24 .. 06:26:59 drwxr-xr-x 2 root root 4096 May 5 06:12 cost 06:26:59 -rw-r--r-- 1 root root 91 May 5 06:12 cost.csv 06:26:59 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:26:59 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:26:59 total 16 06:26:59 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:12 . 06:26:59 drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:24 .. 06:26:59 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:12 cost 06:26:59 -rw-r--r-- 1 jenkins jenkins 91 May 5 06:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:26:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:27:00 ---> package-listing.sh 06:27:00 ++ facter osfamily 06:27:00 ++ tr '[:upper:]' '[:lower:]' 06:27:00 + OS_FAMILY=debian 06:27:00 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:27:00 + START_PACKAGES=/tmp/packages_start.txt 06:27:00 + END_PACKAGES=/tmp/packages_end.txt 06:27:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:27:00 + PACKAGES=/tmp/packages_start.txt 06:27:00 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:27:00 + PACKAGES=/tmp/packages_end.txt 06:27:00 + case "${OS_FAMILY}" in 06:27:00 + dpkg -l 06:27:00 + grep '^ii' 06:27:00 + '[' -f /tmp/packages_start.txt ']' 06:27:00 + '[' -f /tmp/packages_end.txt ']' 06:27:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:27:00 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:27:00 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:27:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:27:00 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 06:27:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:01 prd-ubuntu20.04-docker-8c-8g-13847 does not seem to be running inside a container 06:27:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:27:02 $ docker top e119129ddd5094070b14e06839882ac7ac3443d81eef7de6b47132100eaeec7d -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:02 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:02 + mkdir -p /var/log/sysstat [Pipeline] sh 06:27:03 + ls /var/log/sa-host 06:27:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:03 provisioning config files... 06:27:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6178402739136290665tmp [Pipeline] { [Pipeline] echo 06:27:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:03 ---> create-netrc.sh [Pipeline] } 06:27:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:27:03 ---> python-tools-install.sh [Pipeline] echo 06:27:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:04 ---> sudo-logs.sh 06:27:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:27:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:04 ---> job-cost.sh 06:27:04 lf-activate-venv: SKIPPING 06:27:04 DEBUG: total: 0.2199999988079071 06:27:04 INFO: Retrieving Stack Cost... 06:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 06:27:05 INFO: Archiving Costs [Pipeline] echo 06:27:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:27:05 ---> logs-deploy.sh 06:27:05 lf-activate-venv: SKIPPING 06:27:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/135 06:27:05 INFO: archiving workspace using pattern(s): 06:27:06 Archives upload complete. 06:27:06 INFO: archiving logs to Nexus