Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ea3952a55c07e239dd75554aa3eccbc97544666 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-ssh11820122503970605072.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh337986467471728516.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16679397824497620777.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh15348066914081401131.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh10048985423071230071.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64198 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8ea3952a55c07e239dd75554aa3eccbc97544666 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 Commit message: "Merge pull request #68 from edgexfoundry/issue-66" > git rev-list --no-walk 84b3359fcb453f79206b07ec4bf8f15846aef2e0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:40:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:40:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:40:48 ========================================================= 14:40:48 EdgeX Global Pipelines Version Info 14:40:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:40:49 ------------------- 14:40:49 stable info: 14:40:49 ------------------- 14:40:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:40:49 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:40:49 Message: update stable to v1.0.230 14:40:49 ------------------- 14:40:49 experimental info: 14:40:49 ------------------- 14:40:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:40:49 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 14:40:49 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:40:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 14:40:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 14:40:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:40:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ea3952 [Pipeline] echo 14:40:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:40:50 provisioning config files... 14:40:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5734724282382223566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:40:50 ---> docker-login.sh 14:40:50 nexus3.edgexfoundry.org:10001 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:51 Configure a credential helper to remove this warning. See 14:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:51 14:40:51 Login Succeeded 14:40:51 nexus3.edgexfoundry.org:10002 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:51 Configure a credential helper to remove this warning. See 14:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:51 14:40:51 Login Succeeded 14:40:51 nexus3.edgexfoundry.org:10003 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:51 Configure a credential helper to remove this warning. See 14:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:51 14:40:51 Login Succeeded 14:40:51 nexus3.edgexfoundry.org:10004 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:51 Configure a credential helper to remove this warning. See 14:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:51 14:40:51 Login Succeeded 14:40:51 docker.io 14:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:40:52 Configure a credential helper to remove this warning. See 14:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:40:52 14:40:52 Login Succeeded 14:40:52 ---> docker-login.sh ends [Pipeline] } 14:40:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:40:52 + git rev-list -1 --merges 8ea3952a55c07e239dd75554aa3eccbc97544666~1..8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] echo 14:40:52 -----------> git rev-list -1 --merges 8ea3952a55c07e239dd75554aa3eccbc97544666~1..8ea3952a55c07e239dd75554aa3eccbc97544666 8ea3952a55c07e239dd75554aa3eccbc97544666 14:40:52 8ea3952a55c07e239dd75554aa3eccbc97544666 [false] [Pipeline] sh 14:40:52 + git log --format=format:%s -1 8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] echo 14:40:52 ========================================================= 14:40:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:40:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:53 + git log --format=format:%s -1 8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] echo 14:40:53 [semverPrep] GIT_COMMIT: 8ea3952a55c07e239dd75554aa3eccbc97544666, Commit Message: Merge pull request #68 from edgexfoundry/issue-66 [Pipeline] echo 14:40:53 [semverPrep] This is not a build commit. [Pipeline] sh 14:40:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:40:53 + grep -v github /etc/ssh/ssh_known_hosts 14:40:53 + [ -e /tmp/ssh_known_hosts ] 14:40:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:40:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:40:53 + sudo tee -a /etc/ssh/ssh_known_hosts 14:40:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:40:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:54 14:40:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:40:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:54 latest: Pulling from edgex-devops/py-git-semver 14:40:54 1fe172e4850f: Pulling fs layer 14:40:54 caf521ccaac6: Pulling fs layer 14:40:54 3ead6fa29328: Pulling fs layer 14:40:54 5c2a1cbceb83: Pulling fs layer 14:40:54 a8d5f1318db7: Pulling fs layer 14:40:54 c427282e49a2: Pulling fs layer 14:40:54 1827001aaf11: Pulling fs layer 14:40:54 0714d37db230: Pulling fs layer 14:40:54 ac28cf19c067: Pulling fs layer 14:40:54 ca983d60f3e2: Pulling fs layer 14:40:54 9f894cec8388: Pulling fs layer 14:40:54 a8d5f1318db7: Waiting 14:40:54 c427282e49a2: Waiting 14:40:54 ac28cf19c067: Waiting 14:40:54 1827001aaf11: Waiting 14:40:54 ca983d60f3e2: Waiting 14:40:54 0714d37db230: Waiting 14:40:54 9f894cec8388: Waiting 14:40:54 5c2a1cbceb83: Waiting 14:40:54 caf521ccaac6: Download complete 14:40:54 5c2a1cbceb83: Verifying Checksum 14:40:54 5c2a1cbceb83: Download complete 14:40:54 a8d5f1318db7: Verifying Checksum 14:40:54 a8d5f1318db7: Download complete 14:40:54 c427282e49a2: Download complete 14:40:54 3ead6fa29328: Verifying Checksum 14:40:54 3ead6fa29328: Download complete 14:40:54 0714d37db230: Verifying Checksum 14:40:54 0714d37db230: Download complete 14:40:54 ac28cf19c067: Download complete 14:40:54 ca983d60f3e2: Verifying Checksum 14:40:54 ca983d60f3e2: Download complete 14:40:54 9f894cec8388: Verifying Checksum 14:40:54 9f894cec8388: Download complete 14:40:54 1fe172e4850f: Download complete 14:40:54 1827001aaf11: Verifying Checksum 14:40:54 1827001aaf11: Download complete 14:40:56 1fe172e4850f: Pull complete 14:40:56 caf521ccaac6: Pull complete 14:40:56 3ead6fa29328: Pull complete 14:40:56 5c2a1cbceb83: Pull complete 14:40:57 a8d5f1318db7: Pull complete 14:40:57 c427282e49a2: Pull complete 14:40:59 1827001aaf11: Pull complete 14:40:59 0714d37db230: Pull complete 14:40:59 ac28cf19c067: Pull complete 14:40:59 ca983d60f3e2: Pull complete 14:40:59 9f894cec8388: Pull complete 14:40:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:40:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:40:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:40:59 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:40:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:41:00 $ docker top 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 -eo pid,comm 14:41:01 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). 14:41:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:41:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:41:01 [ssh-agent] Looking for ssh-agent implementation... 14:41:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:41:01 $ docker exec 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 ssh-agent 14:41:01 SSH_AUTH_SOCK=/tmp/ssh-iTC13KeRnY6F/agent.32 14:41:01 SSH_AGENT_PID=38 14:41:01 Running ssh-add (command line suppressed) 14:41:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3338945879014322401.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3338945879014322401.key) 14:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:41:01 + git tag --points-at HEAD [Pipeline] } 14:41:01 $ docker exec --env ******** --env ******** 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 ssh-agent -k 14:41:01 unset SSH_AUTH_SOCK; 14:41:01 unset SSH_AGENT_PID; 14:41:01 echo Agent pid 38 killed; 14:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:41:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:41:02 [ssh-agent] Looking for ssh-agent implementation... 14:41:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:41:02 $ docker exec 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 ssh-agent 14:41:02 SSH_AUTH_SOCK=/tmp/ssh-t4DviHFBLqg2/agent.72 14:41:02 SSH_AGENT_PID=79 14:41:02 Running ssh-add (command line suppressed) 14:41:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2049054923976861990.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2049054923976861990.key) 14:41:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:41:02 + git semver init 14:41:03 2022-05-20 14:41:02,950 [run_init] DEBUG init version:0.0.0 force:False 14:41:03 2022-05-20 14:41:02,951 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 14:41:03 2022-05-20 14:41:02,952 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 14:41:03 2022-05-20 14:41:02,952 [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) 14:41:03 2022-05-20 14:41:03,594 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 14:41:03 2022-05-20 14:41:03,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 14:41:03 2022-05-20 14:41:03,595 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:41:03 2022-05-20 14:41:03,595 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:41:03 0.0.1-dev.1 [Pipeline] } 14:41:03 $ docker exec --env ******** --env ******** 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 ssh-agent -k 14:41:04 unset SSH_AUTH_SOCK; 14:41:04 unset SSH_AGENT_PID; 14:41:04 echo Agent pid 79 killed; 14:41:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:41:04 + git semver [Pipeline] } 14:41:04 $ docker stop --time=1 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 14:41:06 $ docker rm -f 3c2a2aee3b2b73ebf7d45c5e6c1cf504bf26c8153f3da98a370956ca289c55d1 [Pipeline] // withDockerContainer [Pipeline] sh 14:41:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:41:06 Stashed 1 file(s) [Pipeline] echo 14:41:06 [edgeXSemver]: initialized semver on version 0.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:41:06 provisioning config files... 14:41:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3055478052898848335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:41:07 ---> docker-login.sh 14:41:07 nexus3.edgexfoundry.org:10001 14:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:07 Configure a credential helper to remove this warning. See 14:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:07 14:41:07 Login Succeeded 14:41:07 nexus3.edgexfoundry.org:10002 14:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:07 Configure a credential helper to remove this warning. See 14:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:07 14:41:07 Login Succeeded 14:41:07 nexus3.edgexfoundry.org:10003 14:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:07 Configure a credential helper to remove this warning. See 14:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:07 14:41:07 Login Succeeded 14:41:07 nexus3.edgexfoundry.org:10004 14:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:07 Configure a credential helper to remove this warning. See 14:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:07 14:41:07 Login Succeeded 14:41:07 docker.io 14:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:07 Configure a credential helper to remove this warning. See 14:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:07 14:41:07 Login Succeeded 14:41:07 ---> docker-login.sh ends [Pipeline] } 14:41:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:41:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:41:07 ========================================================= 14:41:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:41:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:41:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:41:08 Sending build context to Docker daemon 8.539MB 14:41:08 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:41:08 Step 2/13 : FROM ${BASE} AS builder 14:41:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:41:08 59bf1c3509f3: Pulling fs layer 14:41:08 666ba61612fd: Pulling fs layer 14:41:08 8ed8ca486205: Pulling fs layer 14:41:08 4fe6c5a15a65: Pulling fs layer 14:41:08 22a0e8bec74d: Pulling fs layer 14:41:08 ca2b28591e48: Pulling fs layer 14:41:08 a51346096db8: Pulling fs layer 14:41:08 22a0e8bec74d: Waiting 14:41:08 ca2b28591e48: Waiting 14:41:08 4fe6c5a15a65: Waiting 14:41:08 a51346096db8: Waiting 14:41:08 daebc70d1ce1: Pulling fs layer 14:41:08 0e18a0eac166: Pulling fs layer 14:41:08 0e18a0eac166: Waiting 14:41:08 daebc70d1ce1: Waiting 14:41:08 8ed8ca486205: Verifying Checksum 14:41:08 8ed8ca486205: Download complete 14:41:08 666ba61612fd: Download complete 14:41:08 22a0e8bec74d: Verifying Checksum 14:41:08 22a0e8bec74d: Download complete 14:41:08 ca2b28591e48: Verifying Checksum 14:41:08 ca2b28591e48: Download complete 14:41:08 a51346096db8: Verifying Checksum 14:41:08 a51346096db8: Download complete 14:41:08 59bf1c3509f3: Download complete 14:41:08 daebc70d1ce1: Download complete 14:41:08 59bf1c3509f3: Pull complete 14:41:08 666ba61612fd: Pull complete 14:41:08 8ed8ca486205: Pull complete 14:41:09 0e18a0eac166: Verifying Checksum 14:41:09 0e18a0eac166: Download complete 14:41:09 4fe6c5a15a65: Verifying Checksum 14:41:09 4fe6c5a15a65: Download complete 14:41:13 4fe6c5a15a65: Pull complete 14:41:13 22a0e8bec74d: Pull complete 14:41:13 ca2b28591e48: Pull complete 14:41:13 a51346096db8: Pull complete 14:41:13 daebc70d1ce1: Pull complete 14:41:16 0e18a0eac166: Pull complete 14:41:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:41:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:41:16 ---> f018257e8ee9 14:41:16 Step 3/13 : ARG MAKE="make build" 14:41:17 ---> Running in 4a82ac509324 14:41:17 Removing intermediate container 4a82ac509324 14:41:17 ---> ba0c498090e2 14:41:17 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:41:17 ---> Running in bcf6a21e4dc4 14:41:17 Removing intermediate container bcf6a21e4dc4 14:41:17 ---> 86749dc2eeec 14:41:17 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:41:17 ---> Running in bf5cf65a27f3 14:41:17 Removing intermediate container bf5cf65a27f3 14:41:17 ---> 8d22662e1a87 14:41:17 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:41:17 ---> Running in 7094a2e0ca82 14:41:17 Removing intermediate container 7094a2e0ca82 14:41:17 ---> 8fb2c795be6b 14:41:17 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:41:17 ---> Running in 800934cf2939 14:41:18 Removing intermediate container 800934cf2939 14:41:18 ---> 50d260e93faa 14:41:18 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:41:18 ---> Running in c6d14b583ac2 14:41:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:41:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:41:19 OK: 221 MiB in 52 packages 14:41:20 Removing intermediate container c6d14b583ac2 14:41:20 ---> 76b74e585b3f 14:41:20 Step 9/13 : WORKDIR /device-onvif-camera 14:41:20 ---> Running in bf106d142103 14:41:20 Removing intermediate container bf106d142103 14:41:20 ---> a08c91b9f057 14:41:20 Step 10/13 : COPY go.mod vendor* ./ 14:41:20 ---> 91f937e5128e 14:41:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:41:20 ---> Running in 132bcefa9ef6 14:41:21 Still waiting to schedule task 14:41:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:41:38 Removing intermediate container 132bcefa9ef6 14:41:38 ---> d18ad9b9744e 14:41:38 Step 12/13 : COPY . . 14:41:38 ---> d6ff6f8e58b8 14:41:38 Step 13/13 : RUN ${MAKE} 14:41:38 ---> Running in 25dd62275eff 14:41:38 noop 14:41:38 Removing intermediate container 25dd62275eff 14:41:38 ---> d1cc06093a85 14:41:38 Successfully built d1cc06093a85 14:41:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:41:38 + docker inspect -f . ci-base-image-x86_64 14:41:38 . [Pipeline] withDockerContainer 14:41:38 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:41:38 $ 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 ******** ci-base-image-x86_64 cat 14:41:39 $ docker top e1835d71c9f48d44e0c32a3cc6debadb0fc0219041ed16c4041d02e0a10967e2 -eo pid,comm [Pipeline] { [Pipeline] sh 14:41:39 + go version 14:41:39 go version go1.17.6 linux/amd64 [Pipeline] } 14:41:39 $ docker stop --time=1 e1835d71c9f48d44e0c32a3cc6debadb0fc0219041ed16c4041d02e0a10967e2 14:41:41 $ docker rm -f e1835d71c9f48d44e0c32a3cc6debadb0fc0219041ed16c4041d02e0a10967e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:41:41 + docker inspect -f . ci-base-image-x86_64 14:41:41 . [Pipeline] withDockerContainer 14:41:41 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:41:41 $ 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 ******** ci-base-image-x86_64 cat 14:41:41 $ docker top f99bf3efb88390043f9d664988e8125406f53f420970e6b59553afac1dace145 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:41:42 + make test 14:41:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:41:42 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:41:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:41:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.019s coverage: 1.0% of statements 14:42:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:42:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:42:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:42:04 ./bin/test-attribution-txt.sh [Pipeline] echo 14:42:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:42:04 $ docker stop --time=1 f99bf3efb88390043f9d664988e8125406f53f420970e6b59553afac1dace145 14:42:06 $ docker rm -f f99bf3efb88390043f9d664988e8125406f53f420970e6b59553afac1dace145 [Pipeline] // withDockerContainer [Pipeline] sh 14:42:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:42:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:42:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:42:07 + ls -al . 14:42:07 total 216 14:42:07 drwxrwxr-x 9 jenkins jenkins 4096 May 20 14:42 . 14:42:07 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:40 .. 14:42:07 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:41 .git 14:42:07 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:40 .github 14:42:07 -rw-rw-r-- 1 jenkins jenkins 352 May 20 14:40 .gitignore 14:42:07 -rw-rw-r-- 1 jenkins jenkins 42 May 20 14:40 .golangci.yml 14:42:07 drwxr-xr-x 3 jenkins jenkins 4096 May 20 14:41 .semver 14:42:07 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 14:40 Attribution.txt 14:42:07 -rw-rw-r-- 1 jenkins jenkins 189 May 20 14:40 CHANGELOG.md 14:42:07 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 14:40 Dockerfile 14:42:07 -rw-rw-r-- 1 jenkins jenkins 677 May 20 14:40 GOVERNANCE.md 14:42:07 -rw-rw-r-- 1 jenkins jenkins 660 May 20 14:40 Jenkinsfile 14:42:07 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 14:40 LICENSE 14:42:07 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 14:40 Makefile 14:42:07 -rw-rw-r-- 1 jenkins jenkins 625 May 20 14:40 OWNERS.md 14:42:07 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 14:40 README.md 14:42:07 -rw-rw-r-- 1 jenkins jenkins 11 May 20 14:41 VERSION 14:42:07 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:40 bin 14:42:07 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:40 cmd 14:42:07 -rw-r--r-- 1 jenkins jenkins 37307 May 20 14:41 coverage.out 14:42:07 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:40 doc 14:42:07 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 14:40 go.mod 14:42:07 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 14:40 go.sum 14:42:07 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:40 internal 14:42:07 -rw-rw-r-- 1 jenkins jenkins 236 May 20 14:40 version.go [Pipeline] isUnix [Pipeline] sh 14:42:08 + 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=8ea3952a55c07e239dd75554aa3eccbc97544666 --label arch=amd64 --label version=0.0.1-dev.1 . 14:42:08 Sending build context to Docker daemon 8.577MB 14:42:08 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 14:42:08 Step 2/26 : FROM ${BASE} AS builder 14:42:08 ---> d1cc06093a85 14:42:08 Step 3/26 : ARG MAKE="make build" 14:42:08 ---> Running in 6c49b6f724df 14:42:08 Removing intermediate container 6c49b6f724df 14:42:08 ---> 1c50d418a1d2 14:42:08 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:42:08 ---> Running in 819dc3abbf6b 14:42:08 Removing intermediate container 819dc3abbf6b 14:42:08 ---> 8924f6ae4134 14:42:08 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 14:42:08 ---> Running in 3a6b90e0deee 14:42:08 Removing intermediate container 3a6b90e0deee 14:42:08 ---> 7adce506f0f5 14:42:08 Step 6/26 : LABEL Name=edgex-device-onvif-camera 14:42:08 ---> Running in 954b0d5fc4b6 14:42:08 Removing intermediate container 954b0d5fc4b6 14:42:08 ---> a8cedefd9b93 14:42:08 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:42:08 ---> Running in 11b5b7c3eabe 14:42:09 Removing intermediate container 11b5b7c3eabe 14:42:09 ---> 879e1dac0fe4 14:42:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:42:09 ---> Running in d14a4f77b7f2 14:42:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:42:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:42:11 OK: 221 MiB in 52 packages 14:42:11 Removing intermediate container d14a4f77b7f2 14:42:11 ---> 0647757cfb08 14:42:11 Step 9/26 : WORKDIR /device-onvif-camera 14:42:11 ---> Running in 5994fe8589f1 14:42:11 Removing intermediate container 5994fe8589f1 14:42:11 ---> 3152e6f14c9a 14:42:11 Step 10/26 : COPY go.mod vendor* ./ 14:42:11 ---> 32d3f7df79dd 14:42:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:42:11 ---> Running in 4715b701252a 14:42:12 Removing intermediate container 4715b701252a 14:42:12 ---> b0fc29adc20c 14:42:12 Step 12/26 : COPY . . 14:42:12 ---> c595f72e5fdf 14:42:12 Step 13/26 : RUN ${MAKE} 14:42:12 ---> Running in 918adc2e26e1 14:42:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:42:34 Removing intermediate container 918adc2e26e1 14:42:34 ---> f994e3a6bca0 14:42:34 Step 14/26 : FROM alpine:3.15 14:42:34 3.15: Pulling from library/alpine 14:42:34 df9b9388f04a: Pulling fs layer 14:42:34 df9b9388f04a: Verifying Checksum 14:42:34 df9b9388f04a: Pull complete 14:42:34 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:42:34 Status: Downloaded newer image for alpine:3.15 14:42:34 ---> 0ac33e5f5afa 14:42:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:42:34 ---> Running in caff04f11fbc 14:42:34 Removing intermediate container caff04f11fbc 14:42:34 ---> e928db375fe0 14:42:34 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:42:34 ---> Running in c041cbdc41e0 14:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:42:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:42:34 (1/6) Installing dumb-init (1.2.5-r1) 14:42:34 (2/6) Installing libgcc (10.3.1_git20211027-r0) 14:42:34 (3/6) Installing libsodium (1.0.18-r0) 14:42:34 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 14:42:34 (5/6) Installing libzmq (4.3.4-r0) 14:42:34 (6/6) Installing zeromq (4.3.4-r0) 14:42:34 Executing busybox-1.34.1-r5.trigger 14:42:34 OK: 8 MiB in 20 packages 14:42:34 Removing intermediate container c041cbdc41e0 14:42:34 ---> 52ac7f4bc4e9 14:42:34 Step 17/26 : WORKDIR / 14:42:34 ---> Running in 140a66d7299e 14:42:34 Removing intermediate container 140a66d7299e 14:42:34 ---> 3678bd971aa7 14:42:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:42:34 ---> 3fb6f9c6dbef 14:42:34 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:42:34 ---> 0fe6ffc30b49 14:42:34 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:42:35 ---> 9b8f7afc35de 14:42:35 Step 21/26 : EXPOSE 59984 14:42:35 ---> Running in d0f7aa8b8a8e 14:42:35 Removing intermediate container d0f7aa8b8a8e 14:42:35 ---> e839b792e2eb 14:42:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:42:35 ---> Running in 515694e50b8c 14:42:35 Removing intermediate container 515694e50b8c 14:42:35 ---> 2771a26f4e4d 14:42:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:42:35 ---> Running in 05b83f738f30 14:42:35 Removing intermediate container 05b83f738f30 14:42:35 ---> 1c29f2891c9e 14:42:35 Step 24/26 : LABEL arch=amd64 14:42:35 ---> Running in 30b7727b65ab 14:42:35 Removing intermediate container 30b7727b65ab 14:42:35 ---> 1fe2769e3431 14:42:35 Step 25/26 : LABEL git_sha=8ea3952a55c07e239dd75554aa3eccbc97544666 14:42:35 ---> Running in f78f1a209549 14:42:35 Removing intermediate container f78f1a209549 14:42:35 ---> 41312dfac406 14:42:35 Step 26/26 : LABEL version=0.0.1-dev.1 14:42:35 ---> Running in ab873e286a43 14:42:35 Removing intermediate container ab873e286a43 14:42:35 ---> a88316f5e9bf 14:42:35 [Warning] One or more build-args [ARCH] were not consumed 14:42:35 Successfully built a88316f5e9bf 14:42:35 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:36 provisioning config files... 14:42:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4828885693287437671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:36 ---> docker-login.sh 14:42:36 nexus3.edgexfoundry.org:10001 14:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:36 Configure a credential helper to remove this warning. See 14:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:36 14:42:36 Login Succeeded 14:42:36 nexus3.edgexfoundry.org:10002 14:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:36 Configure a credential helper to remove this warning. See 14:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:36 14:42:36 Login Succeeded 14:42:36 nexus3.edgexfoundry.org:10003 14:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:36 Configure a credential helper to remove this warning. See 14:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:36 14:42:36 Login Succeeded 14:42:36 nexus3.edgexfoundry.org:10004 14:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:36 Configure a credential helper to remove this warning. See 14:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:36 14:42:36 Login Succeeded 14:42:36 docker.io 14:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:37 Configure a credential helper to remove this warning. See 14:42:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:37 14:42:37 Login Succeeded 14:42:37 ---> docker-login.sh ends [Pipeline] } 14:42:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:42:37 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 14:42:37 8ea3952a55c07e239dd75554aa3eccbc97544666 14:42:37 latest 14:42:37 0.0.1-dev.1 14:42:37 8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:42:37 main 14:42:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:42:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] isUnix [Pipeline] sh 14:42:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666 14:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:42:37 5da7e7864574: Preparing 14:42:37 9945abadddcf: Preparing 14:42:37 f1ed976ea01f: Preparing 14:42:37 c5c569e99b0b: Preparing 14:42:37 4fc242d58285: Preparing 14:42:37 4fc242d58285: Layer already exists 14:42:37 5da7e7864574: Pushed 14:42:37 9945abadddcf: Pushed 14:42:38 c5c569e99b0b: Pushed 14:42:41 f1ed976ea01f: Pushed 14:42:41 8ea3952a55c07e239dd75554aa3eccbc97544666: digest: sha256:212c0e3671d794c20e48dbc11180c4fc8512a75526fc393d60b23ecc52c84ee1 size: 1367 [Pipeline] isUnix [Pipeline] sh 14:42:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] isUnix [Pipeline] sh 14:42:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 14:42:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:42:41 5da7e7864574: Preparing 14:42:41 9945abadddcf: Preparing 14:42:41 f1ed976ea01f: Preparing 14:42:41 c5c569e99b0b: Preparing 14:42:41 4fc242d58285: Preparing 14:42:41 c5c569e99b0b: Layer already exists 14:42:41 4fc242d58285: Layer already exists 14:42:41 f1ed976ea01f: Layer already exists 14:42:41 9945abadddcf: Layer already exists 14:42:41 5da7e7864574: Layer already exists 14:42:41 latest: digest: sha256:212c0e3671d794c20e48dbc11180c4fc8512a75526fc393d60b23ecc52c84ee1 size: 1367 [Pipeline] isUnix [Pipeline] sh 14:42:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:42:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.1 14:42:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:42:42 5da7e7864574: Preparing 14:42:42 9945abadddcf: Preparing 14:42:42 f1ed976ea01f: Preparing 14:42:42 c5c569e99b0b: Preparing 14:42:42 4fc242d58285: Preparing 14:42:42 5da7e7864574: Layer already exists 14:42:42 4fc242d58285: Layer already exists 14:42:42 f1ed976ea01f: Layer already exists 14:42:42 9945abadddcf: Layer already exists 14:42:42 c5c569e99b0b: Layer already exists 14:42:42 0.0.1-dev.1: digest: sha256:212c0e3671d794c20e48dbc11180c4fc8512a75526fc393d60b23ecc52c84ee1 size: 1367 [Pipeline] isUnix [Pipeline] sh 14:42:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:42:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:42:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:42:43 5da7e7864574: Preparing 14:42:43 9945abadddcf: Preparing 14:42:43 f1ed976ea01f: Preparing 14:42:43 c5c569e99b0b: Preparing 14:42:43 4fc242d58285: Preparing 14:42:43 9945abadddcf: Layer already exists 14:42:43 c5c569e99b0b: Layer already exists 14:42:43 f1ed976ea01f: Layer already exists 14:42:43 4fc242d58285: Layer already exists 14:42:43 5da7e7864574: Layer already exists 14:42:43 8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1: digest: sha256:212c0e3671d794c20e48dbc11180c4fc8512a75526fc393d60b23ecc52c84ee1 size: 1367 [Pipeline] isUnix [Pipeline] sh 14:42:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] isUnix [Pipeline] sh 14:42:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 14:42:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 14:42:43 5da7e7864574: Preparing 14:42:43 9945abadddcf: Preparing 14:42:43 f1ed976ea01f: Preparing 14:42:43 c5c569e99b0b: Preparing 14:42:43 4fc242d58285: Preparing 14:42:43 4fc242d58285: Layer already exists 14:42:43 f1ed976ea01f: Layer already exists 14:42:43 5da7e7864574: Layer already exists 14:42:43 c5c569e99b0b: Layer already exists 14:42:43 9945abadddcf: Layer already exists 14:42:43 main: digest: sha256:212c0e3671d794c20e48dbc11180c4fc8512a75526fc393d60b23ecc52c84ee1 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:42:43 ===================================================== [Pipeline] echo 14:42:43 taggedImages: 14:42:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666 14:42:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 14:42:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.1 14:42:43 - nexus3.edgexfoundry.org:10004/device-onvif-camera:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:42:43 - 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] sh 14:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:42:44 14:42:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:42:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:42:44 latest: Pulling from edgex-lftools-log-publisher 14:42:44 5eb5b503b376: Pulling fs layer 14:42:44 5c69ac0246d0: Pulling fs layer 14:42:44 ec43610c2a17: Pulling fs layer 14:42:44 3a2ae6a8a46f: Pulling fs layer 14:42:44 33b1e0a273af: Pulling fs layer 14:42:44 5d3b04190fa2: Pulling fs layer 14:42:44 2f39f015ded8: Pulling fs layer 14:42:44 33b1e0a273af: Waiting 14:42:44 3a2ae6a8a46f: Waiting 14:42:44 5d3b04190fa2: Waiting 14:42:44 2f39f015ded8: Waiting 14:42:44 5c69ac0246d0: Verifying Checksum 14:42:44 5c69ac0246d0: Download complete 14:42:44 3a2ae6a8a46f: Verifying Checksum 14:42:44 3a2ae6a8a46f: Download complete 14:42:44 33b1e0a273af: Verifying Checksum 14:42:44 33b1e0a273af: Download complete 14:42:44 5d3b04190fa2: Download complete 14:42:44 ec43610c2a17: Download complete 14:42:44 5eb5b503b376: Verifying Checksum 14:42:44 5eb5b503b376: Download complete 14:42:45 2f39f015ded8: Download complete 14:42:45 5eb5b503b376: Pull complete 14:42:46 5c69ac0246d0: Pull complete 14:42:46 ec43610c2a17: Pull complete 14:42:46 3a2ae6a8a46f: Pull complete 14:42:46 33b1e0a273af: Pull complete 14:42:46 5d3b04190fa2: Pull complete 14:42:51 2f39f015ded8: Pull complete 14:42:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:42:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:42:51 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:42:52 $ docker top 91178b311f0c7cdefddb4060c8fd33c7a97ab55ae2e4454868f7aaaf40702aea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:53 ---> job-cost.sh 14:42:53 lf-activate-venv: SKIPPING 14:42:53 INFO: No Stack... 14:42:53 INFO: Retrieving Pricing Info for: v3-standard-8 14:42:54 INFO: Archiving Costs [Pipeline] sh 14:42:54 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 14:42:54 + cut -d, -f6 [Pipeline] lock 14:42:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] 14:42:54 Resource [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] did not exist. Created. 14:42:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:42:54 + echo total: 0.2199999988079071 [Pipeline] stash 14:42:54 Stashed 1 file(s) [Pipeline] } 14:42:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:42:54 $ docker stop --time=1 91178b311f0c7cdefddb4060c8fd33c7a97ab55ae2e4454868f7aaaf40702aea 14:42:55 $ docker rm -f 91178b311f0c7cdefddb4060c8fd33c7a97ab55ae2e4454868f7aaaf40702aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:42:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64199 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 14:42:58 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 14:42:58 Selected Git installation does not exist. Using Default 14:42:58 The recommended git tool is: NONE 14:43:04 using credential edgex-jenkins-ssh 14:43:04 Cloning the remote Git repository 14:43:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 14:43:05 Avoid second fetch 14:43:05 Checking out Revision 8ea3952a55c07e239dd75554aa3eccbc97544666 (main) 14:43:04 > git init /w/workspace/device-onvif-camera/3 # timeout=10 14:43:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:43:04 > git --version # timeout=10 14:43:04 > git --version # 'git version 2.25.1' 14:43:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:43:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:05 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:43:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:43:05 > git config core.sparsecheckout # timeout=10 14:43:05 > git checkout -f 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 14:43:09 Commit message: "Merge pull request #68 from edgexfoundry/issue-66" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:43:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:43:10 % Total % Received % Xferd Average Speed Time Time Time Current 14:43:10 Dload Upload Total Spent Left Speed 14:43:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48816 0 --:--:-- --:--:-- --:--:-- 48816 [Pipeline] sh 14:43:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:43:11 + sudo tee /etc/docker/daemon.new 14:43:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:43:11 { 14:43:11 "registry-mirrors": [ 14:43:11 "https://nexus3.edgexfoundry.org:10001" 14:43:11 ], 14:43:11 "bip": "10.250.0.254/24", 14:43:11 "hosts": [ 14:43:11 "tcp://0.0.0.0:5555", 14:43:11 "unix:///var/run/docker.sock" 14:43:11 ], 14:43:11 "mtu": 1458, 14:43:11 "selinux-enabled": true, 14:43:11 "seccomp-profile": "/etc/docker/seccomp.json" 14:43:11 } [Pipeline] sh 14:43:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:43:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:43:30 provisioning config files... 14:43:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config5272096563592084370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:43:30 ---> docker-login.sh 14:43:30 nexus3.edgexfoundry.org:10001 14:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:31 Configure a credential helper to remove this warning. See 14:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:31 14:43:31 Login Succeeded 14:43:31 nexus3.edgexfoundry.org:10002 14:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:32 Configure a credential helper to remove this warning. See 14:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:32 14:43:32 Login Succeeded 14:43:32 nexus3.edgexfoundry.org:10003 14:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:32 Configure a credential helper to remove this warning. See 14:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:32 14:43:32 Login Succeeded 14:43:32 nexus3.edgexfoundry.org:10004 14:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:33 Configure a credential helper to remove this warning. See 14:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:33 14:43:33 Login Succeeded 14:43:33 docker.io 14:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:43:33 Configure a credential helper to remove this warning. See 14:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:43:33 14:43:33 Login Succeeded 14:43:33 ---> docker-login.sh ends [Pipeline] } 14:43:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:43:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:43:34 ========================================================= 14:43:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:43:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:43:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 14:43:35 Sending build context to Docker daemon 5.814MB 14:43:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 14:43:35 Step 2/13 : FROM ${BASE} AS builder 14:43:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:43:35 9b3977197b4f: Pulling fs layer 14:43:35 1a89e8eeedd5: Pulling fs layer 14:43:35 94645a83ff95: Pulling fs layer 14:43:35 3f3a8bcf1eab: Pulling fs layer 14:43:35 0c92f367c5e7: Pulling fs layer 14:43:35 3096ccb668a1: Pulling fs layer 14:43:35 e8cf19c19ddd: Pulling fs layer 14:43:35 a4caa8a26152: Pulling fs layer 14:43:35 3096ccb668a1: Waiting 14:43:35 e8cf19c19ddd: Waiting 14:43:35 a4caa8a26152: Waiting 14:43:35 3f3a8bcf1eab: Waiting 14:43:35 0c92f367c5e7: Waiting 14:43:35 94645a83ff95: Verifying Checksum 14:43:35 94645a83ff95: Download complete 14:43:35 1a89e8eeedd5: Verifying Checksum 14:43:35 1a89e8eeedd5: Download complete 14:43:35 0c92f367c5e7: Verifying Checksum 14:43:35 0c92f367c5e7: Download complete 14:43:35 3096ccb668a1: Verifying Checksum 14:43:35 3096ccb668a1: Download complete 14:43:35 e8cf19c19ddd: Verifying Checksum 14:43:35 e8cf19c19ddd: Download complete 14:43:35 9b3977197b4f: Download complete 14:43:36 9b3977197b4f: Pull complete 14:43:36 1a89e8eeedd5: Pull complete 14:43:36 94645a83ff95: Pull complete 14:43:37 a4caa8a26152: Download complete 14:43:37 3f3a8bcf1eab: Download complete 14:43:50 3f3a8bcf1eab: Pull complete 14:43:50 0c92f367c5e7: Pull complete 14:43:50 3096ccb668a1: Pull complete 14:43:50 e8cf19c19ddd: Pull complete 14:43:56 a4caa8a26152: Pull complete 14:43:56 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:43:56 ---> 725f1c02e7f9 14:43:56 Step 3/13 : ARG MAKE="make build" 14:43:57 ---> Running in 2e4d3007a696 14:43:57 Removing intermediate container 2e4d3007a696 14:43:57 ---> bf96144b43c7 14:43:57 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:43:58 ---> Running in 536d61587cea 14:43:58 Removing intermediate container 536d61587cea 14:43:58 ---> 1e0116e4921b 14:43:58 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:43:58 ---> Running in 8e553c86505e 14:43:58 Removing intermediate container 8e553c86505e 14:43:58 ---> 9c106a8bf8d2 14:43:58 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:43:58 ---> Running in bfdd5e366188 14:43:58 Removing intermediate container bfdd5e366188 14:43:58 ---> 76f59111a7c4 14:43:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:59 ---> Running in e1f81d60baa2 14:44:01 Removing intermediate container e1f81d60baa2 14:44:01 ---> 74f10cfdf1c5 14:44:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:44:01 ---> Running in 2bb3da0f406b 14:44:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:44:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:44:03 OK: 220 MiB in 52 packages 14:44:04 Removing intermediate container 2bb3da0f406b 14:44:04 ---> 5a31292afb4b 14:44:04 Step 9/13 : WORKDIR /device-onvif-camera 14:44:04 ---> Running in d664ca0ebe2a 14:44:04 Removing intermediate container d664ca0ebe2a 14:44:04 ---> 6bcd5043177d 14:44:04 Step 10/13 : COPY go.mod vendor* ./ 14:44:05 ---> 81e40d7a534d 14:44:05 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:44:05 ---> Running in bc7fd8f44128 14:44:52 Removing intermediate container bc7fd8f44128 14:44:52 ---> e5b1eb0336fc 14:44:52 Step 12/13 : COPY . . 14:44:52 ---> de92f7c2ec30 14:44:52 Step 13/13 : RUN ${MAKE} 14:44:52 ---> Running in 0e93f5f3fd03 14:44:52 noop 14:44:52 Removing intermediate container 0e93f5f3fd03 14:44:52 ---> b361d4933d81 14:44:52 Successfully built b361d4933d81 14:44:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:44:53 + docker inspect -f . ci-base-image-arm64 14:44:53 . [Pipeline] withDockerContainer 14:44:53 prd-ubuntu20.04-docker-arm64-4c-16g-64199 does not seem to be running inside a container 14:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:44:54 $ docker top 7b10e73e398588e46a805ff343584bd0f7094a685d3374fb8a7d9aa886f2f9bf -eo pid,comm [Pipeline] { [Pipeline] sh 14:44:55 + go version 14:44:55 go version go1.17.6 linux/arm64 [Pipeline] } 14:44:55 $ docker stop --time=1 7b10e73e398588e46a805ff343584bd0f7094a685d3374fb8a7d9aa886f2f9bf 14:44:57 $ docker rm -f 7b10e73e398588e46a805ff343584bd0f7094a685d3374fb8a7d9aa886f2f9bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:44:57 + docker inspect -f . ci-base-image-arm64 14:44:57 . [Pipeline] withDockerContainer 14:44:58 prd-ubuntu20.04-docker-arm64-4c-16g-64199 does not seem to be running inside a container 14:44:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:44:59 $ docker top 0125ae334312f6bd9d9f64fdcc48d85e9ec249cd158387f8325621d04b950d61 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:45:00 + make test 14:45:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:45:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:46:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:46:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.076s coverage: 1.0% of statements 14:46:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:46:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:46:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:46:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:46:57 ./bin/test-attribution-txt.sh [Pipeline] echo 14:46:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:46:57 $ docker stop --time=1 0125ae334312f6bd9d9f64fdcc48d85e9ec249cd158387f8325621d04b950d61 14:46:59 $ docker rm -f 0125ae334312f6bd9d9f64fdcc48d85e9ec249cd158387f8325621d04b950d61 [Pipeline] // withDockerContainer [Pipeline] sh 14:47:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:47:00 Warning: overwriting stash ‘coverage-report’ 14:47:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:47:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:47:01 + ls -al . 14:47:01 total 212 14:47:01 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:46 . 14:47:01 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:43 .. 14:47:01 drwxrwxr-x 8 jenkins jenkins 4096 May 20 14:43 .git 14:47:01 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:43 .github 14:47:01 -rw-rw-r-- 1 jenkins jenkins 352 May 20 14:43 .gitignore 14:47:01 -rw-rw-r-- 1 jenkins jenkins 42 May 20 14:43 .golangci.yml 14:47:01 -rw-rw-r-- 1 jenkins jenkins 9099 May 20 14:43 Attribution.txt 14:47:01 -rw-rw-r-- 1 jenkins jenkins 189 May 20 14:43 CHANGELOG.md 14:47:01 -rw-rw-r-- 1 jenkins jenkins 1667 May 20 14:43 Dockerfile 14:47:01 -rw-rw-r-- 1 jenkins jenkins 677 May 20 14:43 GOVERNANCE.md 14:47:01 -rw-rw-r-- 1 jenkins jenkins 660 May 20 14:43 Jenkinsfile 14:47:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 14:43 LICENSE 14:47:01 -rw-rw-r-- 1 jenkins jenkins 2161 May 20 14:43 Makefile 14:47:01 -rw-rw-r-- 1 jenkins jenkins 625 May 20 14:43 OWNERS.md 14:47:01 -rw-rw-r-- 1 jenkins jenkins 28742 May 20 14:43 README.md 14:47:01 -rw-rw-r-- 1 jenkins jenkins 11 May 20 14:41 VERSION 14:47:01 drwxrwxr-x 2 jenkins jenkins 4096 May 20 14:43 bin 14:47:01 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:43 cmd 14:47:01 -rw-r--r-- 1 jenkins jenkins 37307 May 20 14:46 coverage.out 14:47:01 drwxrwxr-x 4 jenkins jenkins 4096 May 20 14:43 doc 14:47:01 -rw-rw-r-- 1 jenkins jenkins 3546 May 20 14:43 go.mod 14:47:01 -rw-rw-r-- 1 jenkins jenkins 37264 May 20 14:43 go.sum 14:47:01 drwxrwxr-x 3 jenkins jenkins 4096 May 20 14:43 internal 14:47:01 -rw-rw-r-- 1 jenkins jenkins 236 May 20 14:43 version.go [Pipeline] isUnix [Pipeline] sh 14:47:02 + 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=8ea3952a55c07e239dd75554aa3eccbc97544666 --label arch=arm64 --label version=0.0.1-dev.1 . 14:47:02 Sending build context to Docker daemon 5.852MB 14:47:02 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 14:47:02 Step 2/26 : FROM ${BASE} AS builder 14:47:02 ---> b361d4933d81 14:47:02 Step 3/26 : ARG MAKE="make build" 14:47:02 ---> Running in 1f2e8dd0c03c 14:47:02 Removing intermediate container 1f2e8dd0c03c 14:47:02 ---> fe02c9da4dc8 14:47:02 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:47:02 ---> Running in fd6e4821e221 14:47:03 Removing intermediate container fd6e4821e221 14:47:03 ---> 84ce78640586 14:47:03 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 14:47:03 ---> Running in 0d2e0dc9cab6 14:47:03 Removing intermediate container 0d2e0dc9cab6 14:47:03 ---> c0b4cbed9b72 14:47:03 Step 6/26 : LABEL Name=edgex-device-onvif-camera 14:47:03 ---> Running in 4b64d3d97ff1 14:47:04 Removing intermediate container 4b64d3d97ff1 14:47:04 ---> 35947be0c236 14:47:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:47:04 ---> Running in 81d37804c1e5 14:47:05 Removing intermediate container 81d37804c1e5 14:47:05 ---> 76f32d926ca1 14:47:05 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:47:05 ---> Running in d29167e9249b 14:47:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:47:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:47:08 OK: 220 MiB in 52 packages 14:47:09 Removing intermediate container d29167e9249b 14:47:09 ---> d8856023362c 14:47:09 Step 9/26 : WORKDIR /device-onvif-camera 14:47:09 ---> Running in f05eb8efd8d0 14:47:10 Removing intermediate container f05eb8efd8d0 14:47:10 ---> 664ceb45a9ab 14:47:10 Step 10/26 : COPY go.mod vendor* ./ 14:47:10 ---> 01a1091cb0fe 14:47:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:47:10 ---> Running in 171940c07b00 14:47:13 Removing intermediate container 171940c07b00 14:47:13 ---> 1e7f71bca6d0 14:47:13 Step 12/26 : COPY . . 14:47:14 ---> a10aeb529ccd 14:47:14 Step 13/26 : RUN ${MAKE} 14:47:14 ---> Running in 6f9407bdb086 14:47:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:49:37 Removing intermediate container 6f9407bdb086 14:49:37 ---> 149c9a8a18d8 14:49:37 Step 14/26 : FROM alpine:3.15 14:49:37 3.15: Pulling from library/alpine 14:49:37 9981e73032c8: Pulling fs layer 14:49:37 9981e73032c8: Verifying Checksum 14:49:37 9981e73032c8: Download complete 14:49:37 9981e73032c8: Pull complete 14:49:37 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 14:49:37 Status: Downloaded newer image for alpine:3.15 14:49:37 ---> 3fb3c9af89a9 14:49:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:49:37 ---> Running in 615d3de08a74 14:49:37 Removing intermediate container 615d3de08a74 14:49:37 ---> 9952959329e2 14:49:37 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:49:37 ---> Running in 159dcd21cd13 14:49:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:49:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:49:37 (1/6) Installing dumb-init (1.2.5-r1) 14:49:37 (2/6) Installing libgcc (10.3.1_git20211027-r0) 14:49:37 (3/6) Installing libsodium (1.0.18-r0) 14:49:37 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 14:49:37 (5/6) Installing libzmq (4.3.4-r0) 14:49:37 (6/6) Installing zeromq (4.3.4-r0) 14:49:37 Executing busybox-1.34.1-r5.trigger 14:49:37 OK: 8 MiB in 20 packages 14:49:37 Removing intermediate container 159dcd21cd13 14:49:37 ---> e01fb32f39f9 14:49:37 Step 17/26 : WORKDIR / 14:49:37 ---> Running in 05440a60eef8 14:49:37 Removing intermediate container 05440a60eef8 14:49:37 ---> b9e48ce9d331 14:49:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:49:37 ---> c738f3ce5259 14:49:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:49:37 ---> 1f330403a280 14:49:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:49:38 ---> 33c5770d385a 14:49:38 Step 21/26 : EXPOSE 59984 14:49:38 ---> Running in b2213cf49310 14:49:38 Removing intermediate container b2213cf49310 14:49:38 ---> 5f9bade01be8 14:49:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:49:38 ---> Running in 3afd882b3d2b 14:49:39 Removing intermediate container 3afd882b3d2b 14:49:39 ---> 0db447c73b55 14:49:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:49:39 ---> Running in ff32e2eb662a 14:49:39 Removing intermediate container ff32e2eb662a 14:49:39 ---> 0f09baf0226d 14:49:39 Step 24/26 : LABEL arch=arm64 14:49:39 ---> Running in 5a3a727d65d4 14:49:39 Removing intermediate container 5a3a727d65d4 14:49:39 ---> 9890bc05ea58 14:49:39 Step 25/26 : LABEL git_sha=8ea3952a55c07e239dd75554aa3eccbc97544666 14:49:39 ---> Running in 7ce5ef55a9d6 14:49:40 Removing intermediate container 7ce5ef55a9d6 14:49:40 ---> 75ce103f3704 14:49:40 Step 26/26 : LABEL version=0.0.1-dev.1 14:49:40 ---> Running in 0a4561a5e689 14:49:40 Removing intermediate container 0a4561a5e689 14:49:40 ---> d6b99b9be25b 14:49:40 [Warning] One or more build-args [ARCH] were not consumed 14:49:40 Successfully built d6b99b9be25b 14:49:40 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:49:40 provisioning config files... 14:49:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config9092474915605501531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:49:41 ---> docker-login.sh 14:49:41 nexus3.edgexfoundry.org:10001 14:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:41 Configure a credential helper to remove this warning. See 14:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:41 14:49:41 Login Succeeded 14:49:41 nexus3.edgexfoundry.org:10002 14:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:42 Configure a credential helper to remove this warning. See 14:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:42 14:49:42 Login Succeeded 14:49:42 nexus3.edgexfoundry.org:10003 14:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:42 Configure a credential helper to remove this warning. See 14:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:42 14:49:42 Login Succeeded 14:49:42 nexus3.edgexfoundry.org:10004 14:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:42 Configure a credential helper to remove this warning. See 14:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:42 14:49:42 Login Succeeded 14:49:42 docker.io 14:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:49:43 Configure a credential helper to remove this warning. See 14:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:49:43 14:49:43 Login Succeeded 14:49:43 ---> docker-login.sh ends [Pipeline] } 14:49:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:49:43 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 14:49:43 8ea3952a55c07e239dd75554aa3eccbc97544666 14:49:43 latest 14:49:43 0.0.1-dev.1 14:49:43 8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:49:43 main 14:49:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:49:44 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] isUnix [Pipeline] sh 14:49:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666 14:49:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:49:44 a111ba4df05a: Preparing 14:49:44 2eda92874574: Preparing 14:49:44 90f4c958e7f9: Preparing 14:49:44 fb25a120b2bb: Preparing 14:49:44 4f4ce317c6bb: Preparing 14:49:44 4f4ce317c6bb: Layer already exists 14:49:44 a111ba4df05a: Pushed 14:49:44 2eda92874574: Pushed 14:49:45 fb25a120b2bb: Pushed 14:49:50 90f4c958e7f9: Pushed 14:49:50 8ea3952a55c07e239dd75554aa3eccbc97544666: digest: sha256:562b741be5820cede423f269b5f8d12b7955c29fc92768ea151feebf3771755f size: 1366 [Pipeline] isUnix [Pipeline] sh 14:49:51 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:49:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 14:49:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:49:51 a111ba4df05a: Preparing 14:49:51 2eda92874574: Preparing 14:49:51 90f4c958e7f9: Preparing 14:49:51 fb25a120b2bb: Preparing 14:49:51 4f4ce317c6bb: Preparing 14:49:51 fb25a120b2bb: Layer already exists 14:49:51 90f4c958e7f9: Layer already exists 14:49:51 a111ba4df05a: Layer already exists 14:49:51 2eda92874574: Layer already exists 14:49:51 4f4ce317c6bb: Layer already exists 14:49:51 latest: digest: sha256:562b741be5820cede423f269b5f8d12b7955c29fc92768ea151feebf3771755f size: 1366 [Pipeline] isUnix [Pipeline] sh 14:49:52 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:49:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.1 14:49:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:49:52 a111ba4df05a: Preparing 14:49:52 2eda92874574: Preparing 14:49:52 90f4c958e7f9: Preparing 14:49:52 fb25a120b2bb: Preparing 14:49:52 4f4ce317c6bb: Preparing 14:49:52 a111ba4df05a: Layer already exists 14:49:52 fb25a120b2bb: Layer already exists 14:49:52 90f4c958e7f9: Layer already exists 14:49:52 4f4ce317c6bb: Layer already exists 14:49:52 2eda92874574: Layer already exists 14:49:52 0.0.1-dev.1: digest: sha256:562b741be5820cede423f269b5f8d12b7955c29fc92768ea151feebf3771755f size: 1366 [Pipeline] isUnix [Pipeline] sh 14:49:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 14:49:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:49:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:49:53 a111ba4df05a: Preparing 14:49:53 2eda92874574: Preparing 14:49:53 90f4c958e7f9: Preparing 14:49:53 fb25a120b2bb: Preparing 14:49:53 4f4ce317c6bb: Preparing 14:49:53 2eda92874574: Layer already exists 14:49:53 fb25a120b2bb: Layer already exists 14:49:53 90f4c958e7f9: Layer already exists 14:49:53 4f4ce317c6bb: Layer already exists 14:49:53 a111ba4df05a: Layer already exists 14:49:53 8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1: digest: sha256:562b741be5820cede423f269b5f8d12b7955c29fc92768ea151feebf3771755f size: 1366 [Pipeline] isUnix [Pipeline] sh 14:49:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 14:49:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 14:49:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 14:49:54 a111ba4df05a: Preparing 14:49:54 2eda92874574: Preparing 14:49:54 90f4c958e7f9: Preparing 14:49:54 fb25a120b2bb: Preparing 14:49:54 4f4ce317c6bb: Preparing 14:49:54 4f4ce317c6bb: Layer already exists 14:49:54 a111ba4df05a: Layer already exists 14:49:54 fb25a120b2bb: Layer already exists 14:49:54 90f4c958e7f9: Layer already exists 14:49:54 2eda92874574: Layer already exists 14:49:54 main: digest: sha256:562b741be5820cede423f269b5f8d12b7955c29fc92768ea151feebf3771755f size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:49:54 ===================================================== [Pipeline] echo 14:49:54 taggedImages: 14:49:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666 14:49:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 14:49:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.1 14:49:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:8ea3952a55c07e239dd75554aa3eccbc97544666-0.0.1-dev.1 14:49:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:49:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:49:55 14:49:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:49:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:49:55 arm64: Pulling from edgex-lftools-log-publisher 14:49:55 8998bd30e6a1: Pulling fs layer 14:49:55 04944245beec: Pulling fs layer 14:49:55 699f458cf7ca: Pulling fs layer 14:49:55 765212b225bb: Pulling fs layer 14:49:55 f23df028b6ca: Pulling fs layer 14:49:55 d65c8cfc05b1: Pulling fs layer 14:49:55 2437ff75d9bd: Pulling fs layer 14:49:55 765212b225bb: Waiting 14:49:55 d65c8cfc05b1: Waiting 14:49:55 f23df028b6ca: Waiting 14:49:55 2437ff75d9bd: Waiting 14:49:55 04944245beec: Verifying Checksum 14:49:55 04944245beec: Download complete 14:49:55 765212b225bb: Verifying Checksum 14:49:55 765212b225bb: Download complete 14:49:55 f23df028b6ca: Download complete 14:49:55 d65c8cfc05b1: Verifying Checksum 14:49:55 d65c8cfc05b1: Download complete 14:49:56 699f458cf7ca: Verifying Checksum 14:49:56 699f458cf7ca: Download complete 14:49:56 8998bd30e6a1: Verifying Checksum 14:49:56 8998bd30e6a1: Download complete 14:49:58 2437ff75d9bd: Verifying Checksum 14:49:58 2437ff75d9bd: Download complete 14:50:00 8998bd30e6a1: Pull complete 14:50:00 04944245beec: Pull complete 14:50:01 699f458cf7ca: Pull complete 14:50:02 765212b225bb: Pull complete 14:50:03 f23df028b6ca: Pull complete 14:50:03 d65c8cfc05b1: Pull complete 14:50:18 2437ff75d9bd: Pull complete 14:50:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:50:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:50:18 prd-ubuntu20.04-docker-arm64-4c-16g-64199 does not seem to be running inside a container 14:50:18 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:50:21 $ docker top 8bf7013396a43bab9f9978bd779b8fa20d785b1f9d72aaecbc45730eaca5be9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:50:22 ---> job-cost.sh 14:50:22 lf-activate-venv: SKIPPING 14:50:22 INFO: No Stack... 14:50:23 INFO: Retrieving Pricing Info for: v3-standard-4 14:50:24 INFO: Archiving Costs [Pipeline] sh 14:50:24 + cut -d, -f6 14:50:24 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock 14:50:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] 14:50:24 Resource [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] did not exist. Created. 14:50:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:50:25 /w/workspace/device-onvif-camera/3@tmp/durable-7f6f0bb7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:50:26 + echo total: 0.10999999940395355 [Pipeline] stash 14:50:26 Warning: overwriting stash ‘stack-cost’ 14:50:26 Stashed 1 file(s) [Pipeline] } 14:50:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:50:26 $ docker stop --time=1 8bf7013396a43bab9f9978bd779b8fa20d785b1f9d72aaecbc45730eaca5be9e 14:50:27 $ docker rm -f 8bf7013396a43bab9f9978bd779b8fa20d785b1f9d72aaecbc45730eaca5be9e [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 14:50:28 provisioning config files... 14:50:28 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3161646590970302659tmp [Pipeline] { [Pipeline] sh 14:50:28 + set +x 14:50:28 + bash -s -- 14:50:28 + curl -s https://codecov.io/bash 14:50:28 14:50:28 _____ _ 14:50:28 / ____| | | 14:50:28 | | ___ __| | ___ ___ _____ __ 14:50:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:50:28 | |___| (_) | (_| | __/ (_| (_) \ V / 14:50:28 \_____\___/ \__,_|\___|\___\___/ \_/ 14:50:28 Bash-1.0.6 14:50:28 14:50:28 14:50:28 ==> git version 2.25.1 found 14:50:28 ==> 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 14:50:28 Release-Date: 2020-01-08 14:50:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:50:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:50:28 ==> Jenkins CI detected. 14:50:28 current dir:  /w/workspace/foundry_device-onvif-camera_main 14:50:28 project root: . 14:50:28 --> token set from env 14:50:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:50:28 ==> Running gcov in . (disable via -X gcov) 14:50:28 ==> Python coveragepy not found 14:50:28 ==> Searching for coverage reports in: 14:50:28 + . 14:50:28 -> Found 1 reports 14:50:28 ==> Detecting git/mercurial file structure 14:50:28 ==> Reading reports 14:50:28 + ./coverage.out bytes=37307 14:50:28 ==> Appending adjustments 14:50:28 https://docs.codecov.io/docs/fixing-reports 14:50:28 + Found adjustments 14:50:28 ==> Gzipping contents 14:50:28 8.0K /tmp/codecov.3vwlPr.gz 14:50:28 ==> Uploading reports 14:50:28 url: https://codecov.io 14:50:28 query: branch=main&commit=8ea3952a55c07e239dd75554aa3eccbc97544666&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:50:28 -> Pinging Codecov 14:50:28 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=8ea3952a55c07e239dd75554aa3eccbc97544666&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 14:50:29 -> Uploading to 14:50:29 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/F29A59C45E3A92E06B3E522C9905F8EF/8ea3952a55c07e239dd75554aa3eccbc97544666/f936a3f5-181b-4cdc-b28a-0843674c76d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T145029Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9478c033fdd138005a3f1681a4fe05894bd7b9111dc7aff51989aec5ec5a1572 14:50:29 % Total % Received % Xferd Average Speed Time Time Time Current 14:50:29 Dload Upload Total Spent Left Speed 14:50:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4596 0 0 100 4596 0 17278 --:--:-- --:--:-- --:--:-- 17278 14:50:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] } 14:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:50:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:50:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:50:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:50:30 14:50:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:50:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:50:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:50:31 188c0c94c7c5: Pulling fs layer 14:50:31 0ef7d3d256c8: Pulling fs layer 14:50:31 de9db76c5a1d: Pulling fs layer 14:50:31 0eba1c9be4d2: Pulling fs layer 14:50:31 0d57e429df01: Pulling fs layer 14:50:31 4e4be7b47b0d: Pulling fs layer 14:50:31 e1f770b5df2f: Pulling fs layer 14:50:31 85a0685a4137: Pulling fs layer 14:50:31 4e4be7b47b0d: Waiting 14:50:31 0eba1c9be4d2: Waiting 14:50:31 0d57e429df01: Waiting 14:50:31 85a0685a4137: Waiting 14:50:31 e1f770b5df2f: Waiting 14:50:31 de9db76c5a1d: Verifying Checksum 14:50:31 de9db76c5a1d: Download complete 14:50:31 0ef7d3d256c8: Download complete 14:50:31 0d57e429df01: Download complete 14:50:31 4e4be7b47b0d: Verifying Checksum 14:50:31 4e4be7b47b0d: Download complete 14:50:31 188c0c94c7c5: Verifying Checksum 14:50:31 188c0c94c7c5: Download complete 14:50:31 e1f770b5df2f: Verifying Checksum 14:50:31 e1f770b5df2f: Download complete 14:50:31 188c0c94c7c5: Pull complete 14:50:32 0eba1c9be4d2: Verifying Checksum 14:50:32 0eba1c9be4d2: Download complete 14:50:32 85a0685a4137: Verifying Checksum 14:50:32 85a0685a4137: Download complete 14:50:42 0ef7d3d256c8: Pull complete 14:50:42 de9db76c5a1d: Pull complete 14:50:45 0eba1c9be4d2: Pull complete 14:50:45 0d57e429df01: Pull complete 14:50:45 4e4be7b47b0d: Pull complete 14:50:45 e1f770b5df2f: Pull complete 14:50:49 85a0685a4137: Pull complete 14:50:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:50:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:50:49 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:50:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:50:50 $ docker top 6644946f0ed86aa9cd5a1ffc35dff0ba93c28f14919fab039ad106fc10942cda -eo pid,comm [Pipeline] { [Pipeline] echo 14:50:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:50:51 + set -o pipefail 14:50:51 + snyk monitor '--org=edgex-jenkins' 14:50:58 14:50:58 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 14:50:58 14:50:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/cc672bb3-ce95-45c3-947b-54254bf70991/history/69a6e162-47e6-444e-aacb-00fe5645ed65 14:50:58 14:50:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:50:58 14:50:58 [Pipeline] } 14:50:58 $ docker stop --time=1 6644946f0ed86aa9cd5a1ffc35dff0ba93c28f14919fab039ad106fc10942cda 14:50:59 $ docker rm -f 6644946f0ed86aa9cd5a1ffc35dff0ba93c28f14919fab039ad106fc10942cda [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:00 + git log --format=format:%s -1 8ea3952a55c07e239dd75554aa3eccbc97544666 [Pipeline] sh 14:51:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:51:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:51:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:51:01 . [Pipeline] withDockerContainer 14:51:01 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:51:01 $ 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:latest cat 14:51:01 $ docker top 035c5ff3a6acde7c5c9374de1da4e05a7282d8916d07ed3e282ad8287fb50cb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:51:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:51:01 [ssh-agent] Looking for ssh-agent implementation... 14:51:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:51:02 $ docker exec 035c5ff3a6acde7c5c9374de1da4e05a7282d8916d07ed3e282ad8287fb50cb9 ssh-agent 14:51:02 SSH_AUTH_SOCK=/tmp/ssh-HqSLaTb1V4pW/agent.34 14:51:02 SSH_AGENT_PID=40 14:51:02 Running ssh-add (command line suppressed) 14:51:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_58085026137714888.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_58085026137714888.key) 14:51:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:51:02 + git semver tag 14:51:02 2022-05-20 14:51:02,718 [run_tag] DEBUG tag force:False 14:51:02 2022-05-20 14:51:02,719 [check_head_tag] DEBUG check head tag 14:51:02 2022-05-20 14:51:02,719 [execute] INFO git cat-file --batch-check 14:51:02 2022-05-20 14:51:02,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 14:51:02 2022-05-20 14:51:02,721 [execute] INFO git cat-file --batch 14:51:02 2022-05-20 14:51:02,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 14:51:02 2022-05-20 14:51:02,724 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:02 2022-05-20 14:51:02,724 [execute] INFO git tag -a v0.0.1-dev.1 -m v0.0.1-dev.1 14:51:02 2022-05-20 14:51:02,724 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.1', '-m', 'v0.0.1-dev.1'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 14:51:02 2022-05-20 14:51:02,729 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:02 0.0.1-dev.1 [Pipeline] } 14:51:02 $ docker exec --env ******** --env ******** 035c5ff3a6acde7c5c9374de1da4e05a7282d8916d07ed3e282ad8287fb50cb9 ssh-agent -k 14:51:02 unset SSH_AUTH_SOCK; 14:51:02 unset SSH_AGENT_PID; 14:51:02 echo Agent pid 40 killed; 14:51:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:51:03 + git semver [Pipeline] } 14:51:03 $ docker stop --time=1 035c5ff3a6acde7c5c9374de1da4e05a7282d8916d07ed3e282ad8287fb50cb9 14:51:04 $ docker rm -f 035c5ff3a6acde7c5c9374de1da4e05a7282d8916d07ed3e282ad8287fb50cb9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:51:05 14:51:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:51:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:51:05 0.23.1-centos7: Pulling from edgex-lftools 14:51:05 ab5ef0e58194: Pulling fs layer 14:51:05 9712f1f96733: Pulling fs layer 14:51:05 63f879dbbcfc: Pulling fs layer 14:51:05 0d9ebad4ef96: Pulling fs layer 14:51:05 e9a5061849ea: Pulling fs layer 14:51:05 d747dcd14b5f: Pulling fs layer 14:51:05 2de7ff778b66: Pulling fs layer 14:51:05 e9a5061849ea: Waiting 14:51:05 d747dcd14b5f: Waiting 14:51:05 0d9ebad4ef96: Waiting 14:51:05 2de7ff778b66: Waiting 14:51:05 9712f1f96733: Verifying Checksum 14:51:05 63f879dbbcfc: Verifying Checksum 14:51:05 63f879dbbcfc: Download complete 14:51:06 e9a5061849ea: Verifying Checksum 14:51:06 e9a5061849ea: Download complete 14:51:06 d747dcd14b5f: Download complete 14:51:06 ab5ef0e58194: Verifying Checksum 14:51:06 ab5ef0e58194: Download complete 14:51:06 0d9ebad4ef96: Verifying Checksum 14:51:06 0d9ebad4ef96: Download complete 14:51:06 2de7ff778b66: Verifying Checksum 14:51:06 2de7ff778b66: Download complete 14:51:09 ab5ef0e58194: Pull complete 14:51:09 9712f1f96733: Pull complete 14:51:09 63f879dbbcfc: Pull complete 14:51:12 0d9ebad4ef96: Pull complete 14:51:13 e9a5061849ea: Pull complete 14:51:13 d747dcd14b5f: Pull complete 14:51:14 2de7ff778b66: Pull complete 14:51:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:51:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:51:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:51:14 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:51:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:51:16 $ docker top cc24844fd03f91d4e19e07503e8c21451864a9f6c2837725963b148cedb79045 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:51:16 provisioning config files... 14:51:16 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4552236439562342404tmp 14:51:16 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5633891888492634973tmp 14:51:16 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3723006934531342377tmp [Pipeline] { [Pipeline] echo 14:51:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:51:16 ---> sigul-configuration.sh 14:51:16 gpg: directory `/root/.gnupg' created 14:51:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:51:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:51:16 gpg: keyring `/root/.gnupg/secring.gpg' created 14:51:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:51:16 gpg: CAST5 encrypted data 14:51:16 gpg: encrypted with 1 passphrase 14:51:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:51:17 + mkdir /home/jenkins 14:51:17 + mkdir /home/jenkins/sigul [Pipeline] sh 14:51:17 + 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 14:51:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:51:17 ---> sigul-install.sh 14:51:17 Sigul already installed; skipping installation. [Pipeline] sh 14:51:17 + git tag --list 14:51:17 v0.0.0 14:51:17 v0.0.1-dev.1 [Pipeline] sh 14:51:18 + lftools sign git-tag v0.0.1-dev.1 14:51:18 Signing Git tag with Sigul... 14:51:18 Signing v0.0.1-dev.1 [Pipeline] echo 14:51:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:51:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:51:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:51:19 $ docker stop --time=1 cc24844fd03f91d4e19e07503e8c21451864a9f6c2837725963b148cedb79045 14:51:20 $ docker rm -f cc24844fd03f91d4e19e07503e8c21451864a9f6c2837725963b148cedb79045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:51:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:51:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:51:21 . [Pipeline] withDockerContainer 14:51:21 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 14:51:22 $ docker top 89704e259c4a2203eff111504a3fc3b547c8e3205a3dd98edf335817a78ffc97 -eo pid,comm 14:51:22 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). 14:51:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:51:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:51:22 [ssh-agent] Looking for ssh-agent implementation... 14:51:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:51:22 $ docker exec 89704e259c4a2203eff111504a3fc3b547c8e3205a3dd98edf335817a78ffc97 ssh-agent 14:51:22 SSH_AUTH_SOCK=/tmp/ssh-w1uteIdV9aAp/agent.33 14:51:22 SSH_AGENT_PID=40 14:51:22 Running ssh-add (command line suppressed) 14:51:22 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1636517626709180299.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1636517626709180299.key) 14:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:51:22 + git semver bump pre 14:51:23 2022-05-20 14:51:23,046 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:23 2022-05-20 14:51:23,046 [bump_version] DEBUG bumping version:0.0.1-dev.1 on axis:pre with prefix:dev 14:51:23 2022-05-20 14:51:23,046 [bump_version] DEBUG bumped version:0.0.1-dev.2 14:51:23 2022-05-20 14:51:23,047 [write_version] DEBUG write version:0.0.1-dev.2 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 14:51:23 2022-05-20 14:51:23,047 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:23 2022-05-20 14:51:23,047 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:23 2022-05-20 14:51:23,051 [execute] INFO git cat-file --batch-check 14:51:23 2022-05-20 14:51:23,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 14:51:23 2022-05-20 14:51:23,056 [execute] INFO git cat-file --batch 14:51:23 2022-05-20 14:51:23,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 14:51:23 2022-05-20 14:51:23,061 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:23 0.0.1-dev.2 [Pipeline] } 14:51:23 $ docker exec --env ******** --env ******** 89704e259c4a2203eff111504a3fc3b547c8e3205a3dd98edf335817a78ffc97 ssh-agent -k 14:51:23 unset SSH_AUTH_SOCK; 14:51:23 unset SSH_AGENT_PID; 14:51:23 echo Agent pid 40 killed; 14:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:51:23 + git semver [Pipeline] } 14:51:23 $ docker stop --time=1 89704e259c4a2203eff111504a3fc3b547c8e3205a3dd98edf335817a78ffc97 14:51:25 $ docker rm -f 89704e259c4a2203eff111504a3fc3b547c8e3205a3dd98edf335817a78ffc97 [Pipeline] // withDockerContainer [Pipeline] sh 14:51:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:51:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:51:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:51:25 . [Pipeline] withDockerContainer 14:51:25 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:51:25 $ 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:latest cat 14:51:26 $ docker top 4efd5e4b16e2dd63f8a6a78fd211a8d3a8865e6e3d50697d197caf7f471ee907 -eo pid,comm 14:51:26 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). 14:51:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:51:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:51:26 [ssh-agent] Looking for ssh-agent implementation... 14:51:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:51:26 $ docker exec 4efd5e4b16e2dd63f8a6a78fd211a8d3a8865e6e3d50697d197caf7f471ee907 ssh-agent 14:51:26 SSH_AUTH_SOCK=/tmp/ssh-A2jp0LfwAx64/agent.33 14:51:26 SSH_AGENT_PID=39 14:51:26 Running ssh-add (command line suppressed) 14:51:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8349446543245458483.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8349446543245458483.key) 14:51:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:51:27 + git semver push 14:51:27 2022-05-20 14:51:27,285 [run_push] DEBUG push 14:51:27 2022-05-20 14:51:27,285 [execute] INFO git push origin semver 14:51:27 2022-05-20 14:51:27,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 14:51:28 2022-05-20 14:51:27,956 [run_push] DEBUG push all version tags 14:51:28 2022-05-20 14:51:27,956 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:51:28 2022-05-20 14:51:27,957 [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) 14:51:28 2022-05-20 14:51:28,645 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 14:51:28 0.0.1-dev.2 [Pipeline] } 14:51:28 $ docker exec --env ******** --env ******** 4efd5e4b16e2dd63f8a6a78fd211a8d3a8865e6e3d50697d197caf7f471ee907 ssh-agent -k 14:51:28 unset SSH_AUTH_SOCK; 14:51:28 unset SSH_AGENT_PID; 14:51:28 echo Agent pid 39 killed; 14:51:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:51:29 + git semver [Pipeline] } 14:51:29 $ docker stop --time=1 4efd5e4b16e2dd63f8a6a78fd211a8d3a8865e6e3d50697d197caf7f471ee907 14:51:30 $ docker rm -f 4efd5e4b16e2dd63f8a6a78fd211a8d3a8865e6e3d50697d197caf7f471ee907 [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 14:51:31 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 14:51:31 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 14:51:31 total 16 14:51:31 drwxr-xr-x 3 root root 4096 May 20 14:42 . 14:51:31 drwxrwxr-x 10 jenkins jenkins 4096 May 20 14:51 .. 14:51:31 drwxr-xr-x 2 root root 4096 May 20 14:42 cost 14:51:31 -rw-r--r-- 1 root root 88 May 20 14:42 cost.csv 14:51:31 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 14:51:31 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 14:51:31 total 16 14:51:31 drwxr-xr-x 3 jenkins jenkins 4096 May 20 14:42 . 14:51:31 drwxrwxr-x 10 jenkins jenkins 4096 May 20 14:51 .. 14:51:31 drwxr-xr-x 2 jenkins jenkins 4096 May 20 14:42 cost 14:51:31 -rw-r--r-- 1 jenkins jenkins 88 May 20 14:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:51:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:51:32 ---> package-listing.sh 14:51:32 ++ facter osfamily 14:51:32 ++ tr '[:upper:]' '[:lower:]' 14:51:32 + OS_FAMILY=debian 14:51:32 + workspace=/w/workspace/foundry_device-onvif-camera_main 14:51:32 + START_PACKAGES=/tmp/packages_start.txt 14:51:32 + END_PACKAGES=/tmp/packages_end.txt 14:51:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:51:32 + PACKAGES=/tmp/packages_start.txt 14:51:32 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 14:51:32 + PACKAGES=/tmp/packages_end.txt 14:51:32 + case "${OS_FAMILY}" in 14:51:32 + dpkg -l 14:51:32 + grep '^ii' 14:51:32 + '[' -f /tmp/packages_start.txt ']' 14:51:32 + '[' -f /tmp/packages_end.txt ']' 14:51:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:51:32 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 14:51:32 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 14:51:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 14:51:32 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 14:51:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:51:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:33 . [Pipeline] withDockerContainer 14:51:33 prd-ubuntu20.04-docker-8c-8g-64198 does not seem to be running inside a container 14:51:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:51:34 $ docker top 13ea6260188813afaab92d119086882fe7489482f7f60328e862cbcd7711dbd5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:51:34 + touch /tmp/pre-build-complete [Pipeline] sh 14:51:34 + mkdir -p /var/log/sysstat [Pipeline] sh 14:51:35 + ls /var/log/sa-host 14:51:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:51:35 provisioning config files... 14:51:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8788114012187127337tmp [Pipeline] { [Pipeline] echo 14:51:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:51:35 ---> create-netrc.sh [Pipeline] } 14:51:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:51:35 ---> python-tools-install.sh [Pipeline] echo 14:51:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:51:36 ---> sudo-logs.sh 14:51:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:51:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:51:36 ---> job-cost.sh 14:51:36 lf-activate-venv: SKIPPING 14:51:36 DEBUG: total: 0.2199999988079071 14:51:36 INFO: Retrieving Stack Cost... 14:51:36 INFO: Retrieving Pricing Info for: v3-standard-8 14:51:37 INFO: Archiving Costs [Pipeline] echo 14:51:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:51:37 ---> logs-deploy.sh 14:51:37 lf-activate-venv: SKIPPING 14:51:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/3 14:51:37 INFO: archiving workspace using pattern(s): 14:51:38 Archives upload complete. 14:51:38 INFO: archiving logs to Nexus