Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 276b854d0043017d2cd132a5df48fee36b7a1e4c 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-ssh10852872499318008751.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-ssh973650281676562566.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-ssh5983134852416511874.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-ssh8873038853919512308.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-ssh3680340101869654544.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-64490 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 276b854d0043017d2cd132a5df48fee36b7a1e4c (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 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 Commit message: "fix: Update Makefile to show the version number (#70)" > git rev-list --no-walk 8ea3952a55c07e239dd75554aa3eccbc97544666 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:43:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:43:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:43:27 ========================================================= 15:43:27 EdgeX Global Pipelines Version Info 15:43:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:43:28 ------------------- 15:43:28 stable info: 15:43:28 ------------------- 15:43:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:43:28 Message: update stable to v1.0.230 15:43:28 ------------------- 15:43:28 experimental info: 15:43:28 ------------------- 15:43:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:28 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:43:28 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:43:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 276b854 [Pipeline] echo 15:43:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:29 provisioning config files... 15:43:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7899079495344491592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:29 ---> docker-login.sh 15:43:29 nexus3.edgexfoundry.org:10001 15:43:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:29 Configure a credential helper to remove this warning. See 15:43:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:29 15:43:29 Login Succeeded 15:43:29 nexus3.edgexfoundry.org:10002 15:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:30 Configure a credential helper to remove this warning. See 15:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:30 15:43:30 Login Succeeded 15:43:30 nexus3.edgexfoundry.org:10003 15:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:30 Configure a credential helper to remove this warning. See 15:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:30 15:43:30 Login Succeeded 15:43:30 nexus3.edgexfoundry.org:10004 15:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:30 Configure a credential helper to remove this warning. See 15:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:30 15:43:30 Login Succeeded 15:43:30 docker.io 15:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:30 Configure a credential helper to remove this warning. See 15:43:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:30 15:43:30 Login Succeeded 15:43:30 ---> docker-login.sh ends [Pipeline] } 15:43:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:43:31 + git rev-list -1 --merges 276b854d0043017d2cd132a5df48fee36b7a1e4c~1..276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] echo 15:43:31 -----------> git rev-list -1 --merges 276b854d0043017d2cd132a5df48fee36b7a1e4c~1..276b854d0043017d2cd132a5df48fee36b7a1e4c 276b854d0043017d2cd132a5df48fee36b7a1e4c [false] [Pipeline] sh 15:43:31 + git log --format=format:%s -1 276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] echo 15:43:31 ========================================================= 15:43:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:43:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:31 + git log --format=format:%s -1 276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] echo 15:43:31 [semverPrep] GIT_COMMIT: 276b854d0043017d2cd132a5df48fee36b7a1e4c, Commit Message: fix: Update Makefile to show the version number (#70) [Pipeline] echo 15:43:31 [semverPrep] This is not a build commit. [Pipeline] sh 15:43:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:43:32 + grep -v github /etc/ssh/ssh_known_hosts 15:43:32 + [ -e /tmp/ssh_known_hosts ] 15:43:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:43:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:43:32 + sudo tee -a /etc/ssh/ssh_known_hosts 15:43:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:43:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:43:32 15:43:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:43:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:43:33 latest: Pulling from edgex-devops/py-git-semver 15:43:33 1fe172e4850f: Pulling fs layer 15:43:33 caf521ccaac6: Pulling fs layer 15:43:33 3ead6fa29328: Pulling fs layer 15:43:33 5c2a1cbceb83: Pulling fs layer 15:43:33 a8d5f1318db7: Pulling fs layer 15:43:33 c427282e49a2: Pulling fs layer 15:43:33 1827001aaf11: Pulling fs layer 15:43:33 0714d37db230: Pulling fs layer 15:43:33 ac28cf19c067: Pulling fs layer 15:43:33 ca983d60f3e2: Pulling fs layer 15:43:33 9f894cec8388: Pulling fs layer 15:43:33 5c2a1cbceb83: Waiting 15:43:33 a8d5f1318db7: Waiting 15:43:33 c427282e49a2: Waiting 15:43:33 1827001aaf11: Waiting 15:43:33 0714d37db230: Waiting 15:43:33 ac28cf19c067: Waiting 15:43:33 ca983d60f3e2: Waiting 15:43:33 9f894cec8388: Waiting 15:43:33 caf521ccaac6: Verifying Checksum 15:43:33 caf521ccaac6: Download complete 15:43:33 5c2a1cbceb83: Verifying Checksum 15:43:33 5c2a1cbceb83: Download complete 15:43:33 a8d5f1318db7: Verifying Checksum 15:43:33 a8d5f1318db7: Download complete 15:43:33 c427282e49a2: Verifying Checksum 15:43:33 c427282e49a2: Download complete 15:43:33 3ead6fa29328: Verifying Checksum 15:43:33 3ead6fa29328: Download complete 15:43:33 0714d37db230: Verifying Checksum 15:43:33 0714d37db230: Download complete 15:43:33 ac28cf19c067: Download complete 15:43:33 ca983d60f3e2: Verifying Checksum 15:43:33 ca983d60f3e2: Download complete 15:43:33 9f894cec8388: Download complete 15:43:33 1fe172e4850f: Verifying Checksum 15:43:33 1fe172e4850f: Download complete 15:43:33 1827001aaf11: Verifying Checksum 15:43:33 1827001aaf11: Download complete 15:43:34 1fe172e4850f: Pull complete 15:43:34 caf521ccaac6: Pull complete 15:43:35 3ead6fa29328: Pull complete 15:43:35 5c2a1cbceb83: Pull complete 15:43:35 a8d5f1318db7: Pull complete 15:43:35 c427282e49a2: Pull complete 15:43:37 1827001aaf11: Pull complete 15:43:37 0714d37db230: Pull complete 15:43:37 ac28cf19c067: Pull complete 15:43:37 ca983d60f3e2: Pull complete 15:43:37 9f894cec8388: Pull complete 15:43:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:43:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:43:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:43:37 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:43:38 $ 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 15:43:39 $ docker top 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 -eo pid,comm 15:43:39 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). 15:43:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:39 [ssh-agent] Looking for ssh-agent implementation... 15:43:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:39 $ docker exec 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 ssh-agent 15:43:39 SSH_AUTH_SOCK=/tmp/ssh-pWrIUu8SWzWn/agent.33 15:43:39 SSH_AGENT_PID=39 15:43:39 Running ssh-add (command line suppressed) 15:43:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7020160667351822737.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7020160667351822737.key) 15:43:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:40 + git tag --points-at HEAD [Pipeline] } 15:43:40 $ docker exec --env ******** --env ******** 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 ssh-agent -k 15:43:40 unset SSH_AUTH_SOCK; 15:43:40 unset SSH_AGENT_PID; 15:43:40 echo Agent pid 39 killed; 15:43:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:43:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:40 [ssh-agent] Looking for ssh-agent implementation... 15:43:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:40 $ docker exec 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 ssh-agent 15:43:40 SSH_AUTH_SOCK=/tmp/ssh-s2GLRaaT40Op/agent.73 15:43:40 SSH_AGENT_PID=80 15:43:40 Running ssh-add (command line suppressed) 15:43:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4335391588726919391.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4335391588726919391.key) 15:43:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:41 + git semver init 15:43:41 2022-05-24 15:43:41,313 [run_init] DEBUG init version:0.0.0 force:False 15:43:41 2022-05-24 15:43:41,314 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:43:41 2022-05-24 15:43:41,314 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:43:41 2022-05-24 15:43:41,315 [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) 15:43:41 2022-05-24 15:43:41,936 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:43:41 2022-05-24 15:43:41,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:43:41 2022-05-24 15:43:41,936 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:43:41 2022-05-24 15:43:41,937 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:43:41 0.0.1-dev.2 [Pipeline] } 15:43:41 $ docker exec --env ******** --env ******** 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 ssh-agent -k 15:43:42 unset SSH_AUTH_SOCK; 15:43:42 unset SSH_AGENT_PID; 15:43:42 echo Agent pid 80 killed; 15:43:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:42 + git semver [Pipeline] } 15:43:42 $ docker stop --time=1 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 15:43:44 $ docker rm -f 1f3e729ff4753bc7a28a790c8013964f0527c6178ab89c75948177f045106e58 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:43:44 Stashed 1 file(s) [Pipeline] echo 15:43:44 [edgeXSemver]: initialized semver on version 0.0.1-dev.2 [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 15:43:44 provisioning config files... 15:43:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1040733976265678418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:45 ---> docker-login.sh 15:43:45 nexus3.edgexfoundry.org:10001 15:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:45 Configure a credential helper to remove this warning. See 15:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:45 15:43:45 Login Succeeded 15:43:45 nexus3.edgexfoundry.org:10002 15:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:45 Configure a credential helper to remove this warning. See 15:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:45 15:43:45 Login Succeeded 15:43:45 nexus3.edgexfoundry.org:10003 15:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:45 Configure a credential helper to remove this warning. See 15:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:45 15:43:45 Login Succeeded 15:43:45 nexus3.edgexfoundry.org:10004 15:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:45 Configure a credential helper to remove this warning. See 15:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:45 15:43:45 Login Succeeded 15:43:45 docker.io 15:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:46 Configure a credential helper to remove this warning. See 15:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:46 15:43:46 Login Succeeded 15:43:46 ---> docker-login.sh ends [Pipeline] } 15:43:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:43:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:43:46 ========================================================= 15:43:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:43:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:43:46 + 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 . 15:43:46 Sending build context to Docker daemon 8.547MB 15:43:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:43:46 Step 2/13 : FROM ${BASE} AS builder 15:43:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:43:46 59bf1c3509f3: Pulling fs layer 15:43:46 666ba61612fd: Pulling fs layer 15:43:46 8ed8ca486205: Pulling fs layer 15:43:46 4fe6c5a15a65: Pulling fs layer 15:43:46 22a0e8bec74d: Pulling fs layer 15:43:46 ca2b28591e48: Pulling fs layer 15:43:46 4fe6c5a15a65: Waiting 15:43:46 22a0e8bec74d: Waiting 15:43:46 a51346096db8: Pulling fs layer 15:43:46 ca2b28591e48: Waiting 15:43:46 daebc70d1ce1: Pulling fs layer 15:43:46 0e18a0eac166: Pulling fs layer 15:43:46 a51346096db8: Waiting 15:43:46 daebc70d1ce1: Waiting 15:43:46 0e18a0eac166: Waiting 15:43:46 8ed8ca486205: Verifying Checksum 15:43:46 8ed8ca486205: Download complete 15:43:46 666ba61612fd: Verifying Checksum 15:43:46 666ba61612fd: Download complete 15:43:46 22a0e8bec74d: Verifying Checksum 15:43:46 22a0e8bec74d: Download complete 15:43:46 ca2b28591e48: Verifying Checksum 15:43:46 ca2b28591e48: Download complete 15:43:46 a51346096db8: Verifying Checksum 15:43:46 a51346096db8: Download complete 15:43:46 59bf1c3509f3: Verifying Checksum 15:43:46 59bf1c3509f3: Download complete 15:43:46 daebc70d1ce1: Verifying Checksum 15:43:46 daebc70d1ce1: Download complete 15:43:46 59bf1c3509f3: Pull complete 15:43:46 666ba61612fd: Pull complete 15:43:46 8ed8ca486205: Pull complete 15:43:47 0e18a0eac166: Verifying Checksum 15:43:47 0e18a0eac166: Download complete 15:43:47 4fe6c5a15a65: Verifying Checksum 15:43:47 4fe6c5a15a65: Download complete 15:43:51 4fe6c5a15a65: Pull complete 15:43:51 22a0e8bec74d: Pull complete 15:43:51 ca2b28591e48: Pull complete 15:43:51 a51346096db8: Pull complete 15:43:51 daebc70d1ce1: Pull complete 15:43:53 0e18a0eac166: Pull complete 15:43:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:43:53 ---> f018257e8ee9 15:43:53 Step 3/13 : ARG MAKE="make build" 15:43:54 ---> Running in 46e73d2536a2 15:43:54 Removing intermediate container 46e73d2536a2 15:43:54 ---> c9e3f201a3ff 15:43:54 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:43:54 ---> Running in 16502187c4a5 15:43:54 Removing intermediate container 16502187c4a5 15:43:54 ---> 483bb3b91ad2 15:43:54 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:43:55 ---> Running in f49ff758544b 15:43:55 Removing intermediate container f49ff758544b 15:43:55 ---> c4fedee49b3d 15:43:55 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:43:55 ---> Running in 5b82f62b40a6 15:43:55 Removing intermediate container 5b82f62b40a6 15:43:55 ---> d8b07c4ad203 15:43:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:55 ---> Running in a404b1452442 15:43:55 Removing intermediate container a404b1452442 15:43:55 ---> fab1bcb8a108 15:43:55 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:56 ---> Running in 430be63ef2aa 15:43:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:43:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:43:57 OK: 221 MiB in 52 packages 15:43:57 Removing intermediate container 430be63ef2aa 15:43:57 ---> fb05a6a49760 15:43:57 Step 9/13 : WORKDIR /device-onvif-camera 15:43:57 ---> Running in 38b4c10f3ca5 15:43:57 Removing intermediate container 38b4c10f3ca5 15:43:57 ---> 540eda2b08f2 15:43:57 Step 10/13 : COPY go.mod vendor* ./ 15:43:58 ---> a7cd93467ebb 15:43:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:58 ---> Running in c92f32ff6767 15:43:59 Still waiting to schedule task 15:43:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64489’ is offline 15:44:16 Removing intermediate container c92f32ff6767 15:44:16 ---> e6da9892ad8e 15:44:16 Step 12/13 : COPY . . 15:44:16 ---> 4d692692d5ab 15:44:16 Step 13/13 : RUN ${MAKE} 15:44:16 ---> Running in e1251b3fb754 15:44:16 noop 15:44:16 Removing intermediate container e1251b3fb754 15:44:16 ---> b517edeeff97 15:44:16 Successfully built b517edeeff97 15:44:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:44:16 + docker inspect -f . ci-base-image-x86_64 15:44:16 . [Pipeline] withDockerContainer 15:44:16 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:44:16 $ 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 15:44:17 $ docker top 351593561ad8e7d279bdc02c8a015d607a9d8ab01bb521745b1c27b2f92b518a -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:17 + go version 15:44:17 go version go1.17.6 linux/amd64 [Pipeline] } 15:44:17 $ docker stop --time=1 351593561ad8e7d279bdc02c8a015d607a9d8ab01bb521745b1c27b2f92b518a 15:44:18 $ docker rm -f 351593561ad8e7d279bdc02c8a015d607a9d8ab01bb521745b1c27b2f92b518a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:19 + docker inspect -f . ci-base-image-x86_64 15:44:19 . [Pipeline] withDockerContainer 15:44:19 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:44:19 $ 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 15:44:19 $ docker top 0644ea89e88174141dfdcbbff7571dad462978f2c91c6c3c228f04864754f5e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:44:19 + make test 15:44:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:44:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:44:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:44:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.0% of statements 15:44:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:44:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:44:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:44:40 ./bin/test-attribution-txt.sh [Pipeline] echo 15:44:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:44:40 $ docker stop --time=1 0644ea89e88174141dfdcbbff7571dad462978f2c91c6c3c228f04864754f5e3 15:44:42 $ docker rm -f 0644ea89e88174141dfdcbbff7571dad462978f2c91c6c3c228f04864754f5e3 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:44:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:44:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:43 + ls -al . 15:44:43 total 216 15:44:43 drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:44 . 15:44:43 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 .. 15:44:43 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:43 .git 15:44:43 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 .github 15:44:43 -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:43 .gitignore 15:44:43 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:43 .golangci.yml 15:44:43 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:43 .semver 15:44:43 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:43 Attribution.txt 15:44:43 -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:43 CHANGELOG.md 15:44:43 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:43 Dockerfile 15:44:43 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:43 GOVERNANCE.md 15:44:43 -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:43 Jenkinsfile 15:44:43 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:43 LICENSE 15:44:43 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:43 Makefile 15:44:43 -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:43 OWNERS.md 15:44:43 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:43 README.md 15:44:43 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:43 VERSION 15:44:43 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 bin 15:44:43 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 cmd 15:44:43 -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:44 coverage.out 15:44:43 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 doc 15:44:43 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:43 go.mod 15:44:43 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:43 go.sum 15:44:43 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 internal 15:44:43 -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:43 version.go [Pipeline] isUnix [Pipeline] sh 15:44:44 + 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=276b854d0043017d2cd132a5df48fee36b7a1e4c --label arch=amd64 --label version=0.0.1-dev.2 . 15:44:44 Sending build context to Docker daemon 8.585MB 15:44:44 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:44:44 Step 2/26 : FROM ${BASE} AS builder 15:44:44 ---> b517edeeff97 15:44:44 Step 3/26 : ARG MAKE="make build" 15:44:44 ---> Running in 49fe4b4eb6d3 15:44:44 Removing intermediate container 49fe4b4eb6d3 15:44:44 ---> 887ce07c6163 15:44:44 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:44:44 ---> Running in c1e93b0f34b8 15:44:44 Removing intermediate container c1e93b0f34b8 15:44:44 ---> 5bd5e4804c24 15:44:44 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:44:44 ---> Running in d20105a70a05 15:44:44 Removing intermediate container d20105a70a05 15:44:44 ---> fa8cce9b2541 15:44:44 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:44:44 ---> Running in 6ba1ba4faa59 15:44:44 Removing intermediate container 6ba1ba4faa59 15:44:44 ---> 2e66d0f00738 15:44:44 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:44 ---> Running in dbeddc991093 15:44:45 Removing intermediate container dbeddc991093 15:44:45 ---> 5090a93d94e0 15:44:45 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:45 ---> Running in aced90180d83 15:44:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:44:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:44:46 OK: 221 MiB in 52 packages 15:44:47 Removing intermediate container aced90180d83 15:44:47 ---> ef8de296b128 15:44:47 Step 9/26 : WORKDIR /device-onvif-camera 15:44:47 ---> Running in 8c38557cf23c 15:44:47 Removing intermediate container 8c38557cf23c 15:44:47 ---> 78523272aeba 15:44:47 Step 10/26 : COPY go.mod vendor* ./ 15:44:47 ---> 5b7baa213c8c 15:44:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:47 ---> Running in 969c7651b1ce 15:44:48 Removing intermediate container 969c7651b1ce 15:44:48 ---> 30462da44d7c 15:44:48 Step 12/26 : COPY . . 15:44:48 ---> 13916d38b576 15:44:48 Step 13/26 : RUN ${MAKE} 15:44:48 ---> Running in b5e42b470ac8 15:44:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:45:10 Removing intermediate container b5e42b470ac8 15:45:10 ---> 1cc1fbfd3234 15:45:10 Step 14/26 : FROM alpine:3.15 15:45:10 3.15: Pulling from library/alpine 15:45:10 df9b9388f04a: Pulling fs layer 15:45:10 df9b9388f04a: Verifying Checksum 15:45:10 df9b9388f04a: Pull complete 15:45:10 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:45:10 Status: Downloaded newer image for alpine:3.15 15:45:10 ---> 0ac33e5f5afa 15:45:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:45:10 ---> Running in 9f6c655bae0a 15:45:10 Removing intermediate container 9f6c655bae0a 15:45:10 ---> 49acc31a42fd 15:45:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:45:10 ---> Running in 8b2a44390c92 15:45:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:45:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:45:10 (1/6) Installing dumb-init (1.2.5-r1) 15:45:10 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:45:10 (3/6) Installing libsodium (1.0.18-r0) 15:45:10 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:45:10 (5/6) Installing libzmq (4.3.4-r0) 15:45:10 (6/6) Installing zeromq (4.3.4-r0) 15:45:10 Executing busybox-1.34.1-r5.trigger 15:45:10 OK: 8 MiB in 20 packages 15:45:10 Removing intermediate container 8b2a44390c92 15:45:10 ---> 5dcbb73b6d98 15:45:10 Step 17/26 : WORKDIR / 15:45:10 ---> Running in f91952f6e544 15:45:10 Removing intermediate container f91952f6e544 15:45:10 ---> 0ac35a110a70 15:45:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:45:11 ---> 2d6d989d17b5 15:45:11 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:45:11 ---> f811f5ccb56e 15:45:11 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:45:11 ---> 457a70cf666f 15:45:11 Step 21/26 : EXPOSE 59984 15:45:11 ---> Running in 96ac6acdd8ec 15:45:11 Removing intermediate container 96ac6acdd8ec 15:45:11 ---> 0150fc086329 15:45:11 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:45:11 ---> Running in 22a9d5e3609f 15:45:12 Removing intermediate container 22a9d5e3609f 15:45:12 ---> 8f7ab2649dc4 15:45:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:45:12 ---> Running in 0f19afbadf02 15:45:12 Removing intermediate container 0f19afbadf02 15:45:12 ---> 0c0fe97337d1 15:45:12 Step 24/26 : LABEL arch=amd64 15:45:12 ---> Running in f187a3352b72 15:45:12 Removing intermediate container f187a3352b72 15:45:12 ---> 308d2e71e9f8 15:45:12 Step 25/26 : LABEL git_sha=276b854d0043017d2cd132a5df48fee36b7a1e4c 15:45:12 ---> Running in 4ce72fefc68c 15:45:12 Removing intermediate container 4ce72fefc68c 15:45:12 ---> f5c431cd578d 15:45:12 Step 26/26 : LABEL version=0.0.1-dev.2 15:45:12 ---> Running in 67977a83eff7 15:45:12 Removing intermediate container 67977a83eff7 15:45:12 ---> a3468c479f17 15:45:12 [Warning] One or more build-args [ARCH] were not consumed 15:45:12 Successfully built a3468c479f17 15:45:12 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:12 provisioning config files... 15:45:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7654996541090163114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:13 ---> docker-login.sh 15:45:13 nexus3.edgexfoundry.org:10001 15:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:13 Configure a credential helper to remove this warning. See 15:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:13 15:45:13 Login Succeeded 15:45:13 nexus3.edgexfoundry.org:10002 15:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:13 Configure a credential helper to remove this warning. See 15:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:13 15:45:13 Login Succeeded 15:45:13 nexus3.edgexfoundry.org:10003 15:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:13 Configure a credential helper to remove this warning. See 15:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:13 15:45:13 Login Succeeded 15:45:13 nexus3.edgexfoundry.org:10004 15:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:13 Configure a credential helper to remove this warning. See 15:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:13 15:45:13 Login Succeeded 15:45:13 docker.io 15:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:13 Configure a credential helper to remove this warning. See 15:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:13 15:45:13 Login Succeeded 15:45:13 ---> docker-login.sh ends [Pipeline] } 15:45:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:13 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:45:13 276b854d0043017d2cd132a5df48fee36b7a1e4c 15:45:13 latest 15:45:13 0.0.1-dev.2 15:45:13 276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:45:13 main 15:45:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] isUnix [Pipeline] sh 15:45:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c 15:45:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:45:14 806f444a3d05: Preparing 15:45:14 bd60ca3d34e3: Preparing 15:45:14 d1a29554dbc7: Preparing 15:45:14 824382ff632d: Preparing 15:45:14 4fc242d58285: Preparing 15:45:14 4fc242d58285: Layer already exists 15:45:14 bd60ca3d34e3: Pushed 15:45:14 806f444a3d05: Pushed 15:45:14 824382ff632d: Pushed 15:45:17 d1a29554dbc7: Pushed 15:45:17 276b854d0043017d2cd132a5df48fee36b7a1e4c: digest: sha256:9e26d0c1353160beddec0eef1b35532ced7baf136937f7dbca34f9c4ebd674fd size: 1367 [Pipeline] isUnix [Pipeline] sh 15:45:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] isUnix [Pipeline] sh 15:45:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:45:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:45:17 806f444a3d05: Preparing 15:45:17 bd60ca3d34e3: Preparing 15:45:17 d1a29554dbc7: Preparing 15:45:17 824382ff632d: Preparing 15:45:17 4fc242d58285: Preparing 15:45:17 824382ff632d: Layer already exists 15:45:17 bd60ca3d34e3: Layer already exists 15:45:17 d1a29554dbc7: Layer already exists 15:45:17 806f444a3d05: Layer already exists 15:45:17 4fc242d58285: Layer already exists 15:45:17 latest: digest: sha256:9e26d0c1353160beddec0eef1b35532ced7baf136937f7dbca34f9c4ebd674fd size: 1367 [Pipeline] isUnix [Pipeline] sh 15:45:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh 15:45:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.2 15:45:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:45:18 806f444a3d05: Preparing 15:45:18 bd60ca3d34e3: Preparing 15:45:18 d1a29554dbc7: Preparing 15:45:18 824382ff632d: Preparing 15:45:18 4fc242d58285: Preparing 15:45:18 4fc242d58285: Layer already exists 15:45:18 824382ff632d: Layer already exists 15:45:18 806f444a3d05: Layer already exists 15:45:18 d1a29554dbc7: Layer already exists 15:45:18 bd60ca3d34e3: Layer already exists 15:45:18 0.0.1-dev.2: digest: sha256:9e26d0c1353160beddec0eef1b35532ced7baf136937f7dbca34f9c4ebd674fd size: 1367 [Pipeline] isUnix [Pipeline] sh 15:45:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh 15:45:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:45:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:45:19 806f444a3d05: Preparing 15:45:19 bd60ca3d34e3: Preparing 15:45:19 d1a29554dbc7: Preparing 15:45:19 824382ff632d: Preparing 15:45:19 4fc242d58285: Preparing 15:45:19 824382ff632d: Layer already exists 15:45:19 4fc242d58285: Layer already exists 15:45:19 d1a29554dbc7: Layer already exists 15:45:19 bd60ca3d34e3: Layer already exists 15:45:19 806f444a3d05: Layer already exists 15:45:19 276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2: digest: sha256:9e26d0c1353160beddec0eef1b35532ced7baf136937f7dbca34f9c4ebd674fd size: 1367 [Pipeline] isUnix [Pipeline] sh 15:45:19 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] isUnix [Pipeline] sh 15:45:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:45:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:45:19 806f444a3d05: Preparing 15:45:19 bd60ca3d34e3: Preparing 15:45:19 d1a29554dbc7: Preparing 15:45:19 824382ff632d: Preparing 15:45:19 4fc242d58285: Preparing 15:45:19 4fc242d58285: Layer already exists 15:45:19 824382ff632d: Layer already exists 15:45:19 d1a29554dbc7: Layer already exists 15:45:19 806f444a3d05: Layer already exists 15:45:19 bd60ca3d34e3: Layer already exists 15:45:19 main: digest: sha256:9e26d0c1353160beddec0eef1b35532ced7baf136937f7dbca34f9c4ebd674fd size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:19 ===================================================== [Pipeline] echo 15:45:19 taggedImages: 15:45:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c 15:45:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:45:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.1-dev.2 15:45:19 - nexus3.edgexfoundry.org:10004/device-onvif-camera:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:45:19 - 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 15:45:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:20 15:45:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:45:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:20 latest: Pulling from edgex-lftools-log-publisher 15:45:20 5eb5b503b376: Pulling fs layer 15:45:20 5c69ac0246d0: Pulling fs layer 15:45:20 ec43610c2a17: Pulling fs layer 15:45:20 3a2ae6a8a46f: Pulling fs layer 15:45:20 33b1e0a273af: Pulling fs layer 15:45:20 5d3b04190fa2: Pulling fs layer 15:45:20 2f39f015ded8: Pulling fs layer 15:45:20 3a2ae6a8a46f: Waiting 15:45:20 33b1e0a273af: Waiting 15:45:20 2f39f015ded8: Waiting 15:45:20 5d3b04190fa2: Waiting 15:45:20 5c69ac0246d0: Download complete 15:45:20 3a2ae6a8a46f: Download complete 15:45:20 33b1e0a273af: Verifying Checksum 15:45:20 33b1e0a273af: Download complete 15:45:20 5d3b04190fa2: Verifying Checksum 15:45:20 5d3b04190fa2: Download complete 15:45:20 ec43610c2a17: Verifying Checksum 15:45:20 ec43610c2a17: Download complete 15:45:20 5eb5b503b376: Verifying Checksum 15:45:20 5eb5b503b376: Download complete 15:45:21 2f39f015ded8: Verifying Checksum 15:45:21 2f39f015ded8: Download complete 15:45:21 5eb5b503b376: Pull complete 15:45:22 5c69ac0246d0: Pull complete 15:45:22 ec43610c2a17: Pull complete 15:45:22 3a2ae6a8a46f: Pull complete 15:45:22 33b1e0a273af: Pull complete 15:45:22 5d3b04190fa2: Pull complete 15:45:28 2f39f015ded8: Pull complete 15:45:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:45:28 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:45:28 $ 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 15:45:30 $ docker top 66a7b287d8325c9e4a5049c0d3aac8f359db7dafc3ef9e375a04e1fc5eb5f5f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:30 ---> job-cost.sh 15:45:30 lf-activate-venv: SKIPPING 15:45:30 INFO: No Stack... 15:45:31 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:31 INFO: Archiving Costs [Pipeline] sh 15:45:32 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:45:32 + cut -d, -f6 [Pipeline] lock 15:45:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] 15:45:32 Resource [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] did not exist. Created. 15:45:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:32 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:32 Stashed 1 file(s) [Pipeline] } 15:45:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:32 $ docker stop --time=1 66a7b287d8325c9e4a5049c0d3aac8f359db7dafc3ef9e375a04e1fc5eb5f5f9 15:45:33 $ docker rm -f 66a7b287d8325c9e4a5049c0d3aac8f359db7dafc3ef9e375a04e1fc5eb5f5f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64493 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:45:36 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 15:45:37 Selected Git installation does not exist. Using Default 15:45:37 The recommended git tool is: NONE 15:45:41 using credential edgex-jenkins-ssh 15:45:41 Cloning the remote Git repository 15:45:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:45:41 > git init /w/workspace/device-onvif-camera/4 # timeout=10 15:45:42 Avoid second fetch 15:45:42 Checking out Revision 276b854d0043017d2cd132a5df48fee36b7a1e4c (main) 15:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:45:42 > git --version # timeout=10 15:45:42 > git --version # 'git version 2.25.1' 15:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:45:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:45:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:45:42 > git config core.sparsecheckout # timeout=10 15:45:42 > git checkout -f 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 15:45:47 Commit message: "fix: Update Makefile to show the version number (#70)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:45:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:45:48 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:48 Dload Upload Total Spent Left Speed 15:45:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51483 0 --:--:-- --:--:-- --:--:-- 51483 [Pipeline] sh 15:45:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:45:48 + + sudo tee /etc/docker/daemon.new 15:45:48 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:45:48 { 15:45:48 "registry-mirrors": [ 15:45:48 "https://nexus3.edgexfoundry.org:10001" 15:45:48 ], 15:45:48 "bip": "10.250.0.254/24", 15:45:48 "hosts": [ 15:45:48 "tcp://0.0.0.0:5555", 15:45:48 "unix:///var/run/docker.sock" 15:45:48 ], 15:45:48 "mtu": 1458, 15:45:48 "selinux-enabled": true, 15:45:48 "seccomp-profile": "/etc/docker/seccomp.json" 15:45:48 } [Pipeline] sh 15:45:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:45:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:08 provisioning config files... 15:46:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config8978613795075694093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:08 ---> docker-login.sh 15:46:08 nexus3.edgexfoundry.org:10001 15:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:09 Configure a credential helper to remove this warning. See 15:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:09 15:46:09 Login Succeeded 15:46:09 nexus3.edgexfoundry.org:10002 15:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:10 Configure a credential helper to remove this warning. See 15:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:10 15:46:10 Login Succeeded 15:46:10 nexus3.edgexfoundry.org:10003 15:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:10 Configure a credential helper to remove this warning. See 15:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:10 15:46:10 Login Succeeded 15:46:10 nexus3.edgexfoundry.org:10004 15:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:11 Configure a credential helper to remove this warning. See 15:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:11 15:46:11 Login Succeeded 15:46:11 docker.io 15:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:12 Configure a credential helper to remove this warning. See 15:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:12 15:46:12 Login Succeeded 15:46:12 ---> docker-login.sh ends [Pipeline] } 15:46:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:46:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:12 ========================================================= 15:46:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:46:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:46:12 + 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 . 15:46:13 Sending build context to Docker daemon 5.82MB 15:46:13 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:46:13 Step 2/13 : FROM ${BASE} AS builder 15:46:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:46:13 9b3977197b4f: Pulling fs layer 15:46:13 1a89e8eeedd5: Pulling fs layer 15:46:13 94645a83ff95: Pulling fs layer 15:46:13 3f3a8bcf1eab: Pulling fs layer 15:46:13 0c92f367c5e7: Pulling fs layer 15:46:13 3096ccb668a1: Pulling fs layer 15:46:13 e8cf19c19ddd: Pulling fs layer 15:46:13 a4caa8a26152: Pulling fs layer 15:46:13 3f3a8bcf1eab: Waiting 15:46:13 0c92f367c5e7: Waiting 15:46:13 3096ccb668a1: Waiting 15:46:13 e8cf19c19ddd: Waiting 15:46:13 a4caa8a26152: Waiting 15:46:13 94645a83ff95: Download complete 15:46:13 1a89e8eeedd5: Verifying Checksum 15:46:13 1a89e8eeedd5: Download complete 15:46:13 0c92f367c5e7: Verifying Checksum 15:46:13 0c92f367c5e7: Download complete 15:46:13 3096ccb668a1: Verifying Checksum 15:46:13 3096ccb668a1: Download complete 15:46:13 9b3977197b4f: Verifying Checksum 15:46:13 9b3977197b4f: Download complete 15:46:13 e8cf19c19ddd: Verifying Checksum 15:46:13 e8cf19c19ddd: Download complete 15:46:14 9b3977197b4f: Pull complete 15:46:15 1a89e8eeedd5: Pull complete 15:46:15 94645a83ff95: Pull complete 15:46:15 a4caa8a26152: Verifying Checksum 15:46:15 a4caa8a26152: Download complete 15:46:16 3f3a8bcf1eab: Verifying Checksum 15:46:16 3f3a8bcf1eab: Download complete 15:46:28 3f3a8bcf1eab: Pull complete 15:46:28 0c92f367c5e7: Pull complete 15:46:28 3096ccb668a1: Pull complete 15:46:29 e8cf19c19ddd: Pull complete 15:46:35 a4caa8a26152: Pull complete 15:46:35 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:46:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:46:35 ---> 725f1c02e7f9 15:46:35 Step 3/13 : ARG MAKE="make build" 15:46:37 ---> Running in 78f7ea29a6bb 15:46:37 Removing intermediate container 78f7ea29a6bb 15:46:37 ---> 37d64cadb06e 15:46:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:46:37 ---> Running in 41db4fc431b3 15:46:37 Removing intermediate container 41db4fc431b3 15:46:37 ---> e51eb538fe51 15:46:37 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:46:38 ---> Running in cbe745c10c88 15:46:38 Removing intermediate container cbe745c10c88 15:46:38 ---> 3de4bed6392c 15:46:38 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:46:38 ---> Running in dfc5e0278142 15:46:39 Removing intermediate container dfc5e0278142 15:46:39 ---> f805a929be45 15:46:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:46:39 ---> Running in b91ae15abe7a 15:46:41 Removing intermediate container b91ae15abe7a 15:46:41 ---> 2f0eac28eda5 15:46:41 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:46:41 ---> Running in 0f500ff2c364 15:46:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:46:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:46:44 OK: 220 MiB in 52 packages 15:46:45 Removing intermediate container 0f500ff2c364 15:46:45 ---> 2acc31890c4e 15:46:45 Step 9/13 : WORKDIR /device-onvif-camera 15:46:45 ---> Running in ca295ee93171 15:46:45 Removing intermediate container ca295ee93171 15:46:45 ---> 93fb0842733e 15:46:45 Step 10/13 : COPY go.mod vendor* ./ 15:46:45 ---> 14c8f47f4e13 15:46:45 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:45 ---> Running in 20fbab503e13 15:47:42 Removing intermediate container 20fbab503e13 15:47:42 ---> e0a3d86230ac 15:47:42 Step 12/13 : COPY . . 15:47:42 ---> 70dee35c6ea9 15:47:42 Step 13/13 : RUN ${MAKE} 15:47:42 ---> Running in 0cf2590b0c3b 15:47:42 noop 15:47:42 Removing intermediate container 0cf2590b0c3b 15:47:42 ---> 6cda93b00a96 15:47:42 Successfully built 6cda93b00a96 15:47:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:47:42 + docker inspect -f . ci-base-image-arm64 15:47:42 . [Pipeline] withDockerContainer 15:47:43 prd-ubuntu20.04-docker-arm64-4c-16g-64493 does not seem to be running inside a container 15:47:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 15:47:44 $ docker top f6fb69e25eb90aa454889cfe50babc0b0e75768e0abda742bb443b9efe91147c -eo pid,comm [Pipeline] { [Pipeline] sh 15:47:45 + go version 15:47:45 go version go1.17.6 linux/arm64 [Pipeline] } 15:47:45 $ docker stop --time=1 f6fb69e25eb90aa454889cfe50babc0b0e75768e0abda742bb443b9efe91147c 15:47:47 $ docker rm -f f6fb69e25eb90aa454889cfe50babc0b0e75768e0abda742bb443b9efe91147c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:47:48 + docker inspect -f . ci-base-image-arm64 15:47:48 . [Pipeline] withDockerContainer 15:47:48 prd-ubuntu20.04-docker-arm64-4c-16g-64493 does not seem to be running inside a container 15:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 15:47:49 $ docker top 730cfd6880a1088a2d55a08eb308eb6afb4b55ba408c7022e6f3e976d8f7b05d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:47:50 + make test 15:47:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:47:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:49:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:49:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.079s coverage: 1.0% of statements 15:49:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:49:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:49:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:49:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:49:56 ./bin/test-attribution-txt.sh [Pipeline] echo 15:49:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:49:57 $ docker stop --time=1 730cfd6880a1088a2d55a08eb308eb6afb4b55ba408c7022e6f3e976d8f7b05d 15:49:59 $ docker rm -f 730cfd6880a1088a2d55a08eb308eb6afb4b55ba408c7022e6f3e976d8f7b05d [Pipeline] // withDockerContainer [Pipeline] sh 15:50:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:00 Warning: overwriting stash ‘coverage-report’ 15:50:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:01 + ls -al . 15:50:01 total 212 15:50:01 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:49 . 15:50:01 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:45 .. 15:50:01 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:45 .git 15:50:01 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:45 .github 15:50:01 -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:45 .gitignore 15:50:01 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:45 .golangci.yml 15:50:01 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:45 Attribution.txt 15:50:01 -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:45 CHANGELOG.md 15:50:01 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:45 Dockerfile 15:50:01 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:45 GOVERNANCE.md 15:50:01 -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:45 Jenkinsfile 15:50:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:45 LICENSE 15:50:01 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:45 Makefile 15:50:01 -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:45 OWNERS.md 15:50:01 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:45 README.md 15:50:01 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:43 VERSION 15:50:01 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:45 bin 15:50:01 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:45 cmd 15:50:01 -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:49 coverage.out 15:50:01 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:45 doc 15:50:01 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:45 go.mod 15:50:01 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:45 go.sum 15:50:01 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:45 internal 15:50:01 -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:45 version.go [Pipeline] isUnix [Pipeline] sh 15:50: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=276b854d0043017d2cd132a5df48fee36b7a1e4c --label arch=arm64 --label version=0.0.1-dev.2 . 15:50:02 Sending build context to Docker daemon 5.858MB 15:50:02 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:50:02 Step 2/26 : FROM ${BASE} AS builder 15:50:02 ---> 6cda93b00a96 15:50:02 Step 3/26 : ARG MAKE="make build" 15:50:02 ---> Running in 04ec948f9d4b 15:50:02 Removing intermediate container 04ec948f9d4b 15:50:02 ---> 8ddd90e3a068 15:50:02 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:50:02 ---> Running in c1e658984230 15:50:03 Removing intermediate container c1e658984230 15:50:03 ---> 8c7083fa229c 15:50:03 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:50:03 ---> Running in c95face119e0 15:50:03 Removing intermediate container c95face119e0 15:50:03 ---> 14eed93c5282 15:50:03 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:50:03 ---> Running in 8ea2f73afc73 15:50:04 Removing intermediate container 8ea2f73afc73 15:50:04 ---> e951d17bc1e0 15:50:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:50:04 ---> Running in 5f7b7ffa7717 15:50:06 Removing intermediate container 5f7b7ffa7717 15:50:06 ---> b122f2604885 15:50:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:06 ---> Running in f0f4f242bf88 15:50:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:50:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:50:08 OK: 220 MiB in 52 packages 15:50:09 Removing intermediate container f0f4f242bf88 15:50:09 ---> 6dd2173e3f51 15:50:09 Step 9/26 : WORKDIR /device-onvif-camera 15:50:09 ---> Running in e8a61416eeb8 15:50:09 Removing intermediate container e8a61416eeb8 15:50:09 ---> fe943ccf69c6 15:50:09 Step 10/26 : COPY go.mod vendor* ./ 15:50:10 ---> 6836f8187a23 15:50:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:10 ---> Running in 704443781d12 15:50:12 Removing intermediate container 704443781d12 15:50:12 ---> 8ce02364d933 15:50:12 Step 12/26 : COPY . . 15:50:13 ---> dea50f334085 15:50:13 Step 13/26 : RUN ${MAKE} 15:50:13 ---> Running in 26304a152f22 15:50:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:52:36 Removing intermediate container 26304a152f22 15:52:36 ---> 6bc2354c734e 15:52:36 Step 14/26 : FROM alpine:3.15 15:52:36 3.15: Pulling from library/alpine 15:52:36 9981e73032c8: Pulling fs layer 15:52:36 9981e73032c8: Download complete 15:52:36 9981e73032c8: Pull complete 15:52:36 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:52:36 Status: Downloaded newer image for alpine:3.15 15:52:36 ---> 3fb3c9af89a9 15:52:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:52:36 ---> Running in ab6880ce3cc7 15:52:36 Removing intermediate container ab6880ce3cc7 15:52:36 ---> 0e8c5f63dc19 15:52:36 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:52:36 ---> Running in 347e735b848d 15:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:52:36 (1/6) Installing dumb-init (1.2.5-r1) 15:52:36 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:52:36 (3/6) Installing libsodium (1.0.18-r0) 15:52:36 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:52:36 (5/6) Installing libzmq (4.3.4-r0) 15:52:36 (6/6) Installing zeromq (4.3.4-r0) 15:52:36 Executing busybox-1.34.1-r5.trigger 15:52:36 OK: 8 MiB in 20 packages 15:52:36 Removing intermediate container 347e735b848d 15:52:36 ---> 0e32392a489e 15:52:36 Step 17/26 : WORKDIR / 15:52:36 ---> Running in 9a19b8c13e32 15:52:36 Removing intermediate container 9a19b8c13e32 15:52:36 ---> 7ed12543e2e1 15:52:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:52:37 ---> 8810a63b55e7 15:52:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:52:38 ---> ce46ba16ebba 15:52:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:52:38 ---> 09d419d8fda9 15:52:38 Step 21/26 : EXPOSE 59984 15:52:39 ---> Running in c21a33cfc45f 15:52:39 Removing intermediate container c21a33cfc45f 15:52:39 ---> 4f79159acf2a 15:52:39 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:52:39 ---> Running in ac40b472329c 15:52:39 Removing intermediate container ac40b472329c 15:52:39 ---> 2abb322496b7 15:52:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:52:39 ---> Running in 67fd106f29cd 15:52:40 Removing intermediate container 67fd106f29cd 15:52:40 ---> 6213bad21c0e 15:52:40 Step 24/26 : LABEL arch=arm64 15:52:40 ---> Running in 22886049dcec 15:52:40 Removing intermediate container 22886049dcec 15:52:40 ---> 7831426cb1e6 15:52:40 Step 25/26 : LABEL git_sha=276b854d0043017d2cd132a5df48fee36b7a1e4c 15:52:40 ---> Running in 7b35ed6fd7a7 15:52:41 Removing intermediate container 7b35ed6fd7a7 15:52:41 ---> f499a230845d 15:52:41 Step 26/26 : LABEL version=0.0.1-dev.2 15:52:41 ---> Running in afda6652fea6 15:52:41 Removing intermediate container afda6652fea6 15:52:41 ---> d6565ebad470 15:52:41 [Warning] One or more build-args [ARCH] were not consumed 15:52:41 Successfully built d6565ebad470 15:52:41 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 15:52:41 provisioning config files... 15:52:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config8745719781925678235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:41 ---> docker-login.sh 15:52:41 nexus3.edgexfoundry.org:10001 15:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:42 Configure a credential helper to remove this warning. See 15:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:42 15:52:42 Login Succeeded 15:52:42 nexus3.edgexfoundry.org:10002 15:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:42 Configure a credential helper to remove this warning. See 15:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:42 15:52:42 Login Succeeded 15:52:42 nexus3.edgexfoundry.org:10003 15:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:43 Configure a credential helper to remove this warning. See 15:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:43 15:52:43 Login Succeeded 15:52:43 nexus3.edgexfoundry.org:10004 15:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:44 Configure a credential helper to remove this warning. See 15:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:44 15:52:44 Login Succeeded 15:52:44 docker.io 15:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:44 Configure a credential helper to remove this warning. See 15:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:44 15:52:44 Login Succeeded 15:52:44 ---> docker-login.sh ends [Pipeline] } 15:52:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:44 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 15:52:44 276b854d0043017d2cd132a5df48fee36b7a1e4c 15:52:44 latest 15:52:44 0.0.1-dev.2 15:52:44 276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:52:44 main 15:52:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:45 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] isUnix [Pipeline] sh 15:52:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c 15:52:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:45 509f60df89e5: Preparing 15:52:45 725e31677a62: Preparing 15:52:45 8cac7c6e5028: Preparing 15:52:45 831518b5bf05: Preparing 15:52:45 4f4ce317c6bb: Preparing 15:52:45 4f4ce317c6bb: Layer already exists 15:52:45 509f60df89e5: Pushed 15:52:45 725e31677a62: Pushed 15:52:46 831518b5bf05: Pushed 15:52:53 8cac7c6e5028: Pushed 15:52:53 276b854d0043017d2cd132a5df48fee36b7a1e4c: digest: sha256:1f3f0bf326fdad49f12f6ddded8fc23a60fe8285a48ae20d9cca3c14d9606a05 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:52:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:52:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:54 509f60df89e5: Preparing 15:52:54 725e31677a62: Preparing 15:52:54 8cac7c6e5028: Preparing 15:52:54 831518b5bf05: Preparing 15:52:54 4f4ce317c6bb: Preparing 15:52:54 831518b5bf05: Layer already exists 15:52:54 4f4ce317c6bb: Layer already exists 15:52:54 725e31677a62: Layer already exists 15:52:54 8cac7c6e5028: Layer already exists 15:52:54 509f60df89e5: Layer already exists 15:52:54 latest: digest: sha256:1f3f0bf326fdad49f12f6ddded8fc23a60fe8285a48ae20d9cca3c14d9606a05 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh 15:52:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.2 15:52:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:55 509f60df89e5: Preparing 15:52:55 725e31677a62: Preparing 15:52:55 8cac7c6e5028: Preparing 15:52:55 831518b5bf05: Preparing 15:52:55 4f4ce317c6bb: Preparing 15:52:55 8cac7c6e5028: Layer already exists 15:52:55 4f4ce317c6bb: Layer already exists 15:52:55 725e31677a62: Layer already exists 15:52:55 831518b5bf05: Layer already exists 15:52:55 509f60df89e5: Layer already exists 15:52:55 0.0.1-dev.2: digest: sha256:1f3f0bf326fdad49f12f6ddded8fc23a60fe8285a48ae20d9cca3c14d9606a05 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:55 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 [Pipeline] isUnix [Pipeline] sh 15:52:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:52:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:56 509f60df89e5: Preparing 15:52:56 725e31677a62: Preparing 15:52:56 8cac7c6e5028: Preparing 15:52:56 831518b5bf05: Preparing 15:52:56 4f4ce317c6bb: Preparing 15:52:56 4f4ce317c6bb: Layer already exists 15:52:56 725e31677a62: Layer already exists 15:52:56 8cac7c6e5028: Layer already exists 15:52:56 509f60df89e5: Layer already exists 15:52:56 831518b5bf05: Layer already exists 15:52:56 276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2: digest: sha256:1f3f0bf326fdad49f12f6ddded8fc23a60fe8285a48ae20d9cca3c14d9606a05 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:52:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] isUnix [Pipeline] sh 15:52:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 15:52:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:52:57 509f60df89e5: Preparing 15:52:57 725e31677a62: Preparing 15:52:57 8cac7c6e5028: Preparing 15:52:57 831518b5bf05: Preparing 15:52:57 4f4ce317c6bb: Preparing 15:52:57 509f60df89e5: Layer already exists 15:52:57 4f4ce317c6bb: Layer already exists 15:52:57 8cac7c6e5028: Layer already exists 15:52:57 725e31677a62: Layer already exists 15:52:57 831518b5bf05: Layer already exists 15:52:57 main: digest: sha256:1f3f0bf326fdad49f12f6ddded8fc23a60fe8285a48ae20d9cca3c14d9606a05 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:52:57 ===================================================== [Pipeline] echo 15:52:57 taggedImages: 15:52:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c 15:52:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:52:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.1-dev.2 15:52:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:276b854d0043017d2cd132a5df48fee36b7a1e4c-0.0.1-dev.2 15:52:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:57 15:52:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:52:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:52:58 arm64: Pulling from edgex-lftools-log-publisher 15:52:58 8998bd30e6a1: Pulling fs layer 15:52:58 04944245beec: Pulling fs layer 15:52:58 699f458cf7ca: Pulling fs layer 15:52:58 765212b225bb: Pulling fs layer 15:52:58 f23df028b6ca: Pulling fs layer 15:52:58 d65c8cfc05b1: Pulling fs layer 15:52:58 2437ff75d9bd: Pulling fs layer 15:52:58 f23df028b6ca: Waiting 15:52:58 d65c8cfc05b1: Waiting 15:52:58 2437ff75d9bd: Waiting 15:52:58 765212b225bb: Waiting 15:52:58 04944245beec: Verifying Checksum 15:52:58 04944245beec: Download complete 15:52:58 765212b225bb: Verifying Checksum 15:52:58 765212b225bb: Download complete 15:52:58 f23df028b6ca: Verifying Checksum 15:52:58 f23df028b6ca: Download complete 15:52:58 d65c8cfc05b1: Verifying Checksum 15:52:58 d65c8cfc05b1: Download complete 15:52:58 699f458cf7ca: Verifying Checksum 15:52:58 699f458cf7ca: Download complete 15:52:58 8998bd30e6a1: Verifying Checksum 15:52:58 8998bd30e6a1: Download complete 15:53:02 8998bd30e6a1: Pull complete 15:53:03 04944245beec: Pull complete 15:53:05 699f458cf7ca: Pull complete 15:53:05 765212b225bb: Pull complete 15:53:06 f23df028b6ca: Pull complete 15:53:06 d65c8cfc05b1: Pull complete 15:53:14 2437ff75d9bd: Verifying Checksum 15:53:14 2437ff75d9bd: Download complete 15:53:30 2437ff75d9bd: Pull complete 15:53:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:53:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-64493 does not seem to be running inside a container 15:53:30 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 15:53:33 $ docker top d9b125a3107629ee04c7da01a38e35dfc374e7dea753d48d3943e8d16831d184 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:34 ---> job-cost.sh 15:53:34 lf-activate-venv: SKIPPING 15:53:34 INFO: No Stack... 15:53:34 INFO: Retrieving Pricing Info for: v3-standard-4 15:53:35 INFO: Archiving Costs [Pipeline] sh 15:53:36 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 15:53:36 + cut -d, -f6 [Pipeline] lock 15:53:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] 15:53:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] did not exist. Created. 15:53:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:53:36 /w/workspace/device-onvif-camera/4@tmp/durable-7633decf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:53:37 + echo total: 0.10999999940395355 [Pipeline] stash 15:53:37 Warning: overwriting stash ‘stack-cost’ 15:53:37 Stashed 1 file(s) [Pipeline] } 15:53:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:53:37 $ docker stop --time=1 d9b125a3107629ee04c7da01a38e35dfc374e7dea753d48d3943e8d16831d184 15:53:39 $ docker rm -f d9b125a3107629ee04c7da01a38e35dfc374e7dea753d48d3943e8d16831d184 [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 15:53:39 provisioning config files... 15:53:39 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1409778511556287357tmp [Pipeline] { [Pipeline] sh 15:53:39 + set +x 15:53:39 + curl -s https://codecov.io/bash 15:53:39 + bash -s -- 15:53:39 15:53:39 _____ _ 15:53:39 / ____| | | 15:53:39 | | ___ __| | ___ ___ _____ __ 15:53:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:39 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:39 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:39 Bash-1.0.6 15:53:39 15:53:39 15:53:39 ==> git version 2.25.1 found 15:53:39 ==> 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 15:53:39 Release-Date: 2020-01-08 15:53:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:53:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:53:39 ==> Jenkins CI detected. 15:53:39 current dir:  /w/workspace/foundry_device-onvif-camera_main 15:53:39 project root: . 15:53:39 --> token set from env 15:53:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:39 ==> Running gcov in . (disable via -X gcov) 15:53:39 ==> Python coveragepy not found 15:53:39 ==> Searching for coverage reports in: 15:53:39 + . 15:53:39 -> Found 1 reports 15:53:39 ==> Detecting git/mercurial file structure 15:53:39 ==> Reading reports 15:53:39 + ./coverage.out bytes=37307 15:53:39 ==> Appending adjustments 15:53:39 https://docs.codecov.io/docs/fixing-reports 15:53:40 + Found adjustments 15:53:40 ==> Gzipping contents 15:53:40 8.0K /tmp/codecov.PCeR53.gz 15:53:40 ==> Uploading reports 15:53:40 url: https://codecov.io 15:53:40 query: branch=main&commit=276b854d0043017d2cd132a5df48fee36b7a1e4c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:40 -> Pinging Codecov 15:53:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=276b854d0043017d2cd132a5df48fee36b7a1e4c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:53:40 -> Uploading to 15:53:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/F29A59C45E3A92E06B3E522C9905F8EF/276b854d0043017d2cd132a5df48fee36b7a1e4c/913df86e-0b69-4e8e-bd68-a70cf72e8476.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T155340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=420db46cc6cbbc41aef728f91a3e715b96f99fbea30f0a95088765fe22568e42 15:53:40 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:40 Dload Upload Total Spent Left Speed 15:53:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4608 0 0 100 4608 0 19443 --:--:-- --:--:-- --:--:-- 19443 15:53:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] } 15:53:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:53:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:53:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:53:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:41 15:53:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:53:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:53:41 188c0c94c7c5: Pulling fs layer 15:53:41 0ef7d3d256c8: Pulling fs layer 15:53:41 de9db76c5a1d: Pulling fs layer 15:53:41 0eba1c9be4d2: Pulling fs layer 15:53:41 0d57e429df01: Pulling fs layer 15:53:41 4e4be7b47b0d: Pulling fs layer 15:53:41 e1f770b5df2f: Pulling fs layer 15:53:41 85a0685a4137: Pulling fs layer 15:53:41 0eba1c9be4d2: Waiting 15:53:41 0d57e429df01: Waiting 15:53:41 e1f770b5df2f: Waiting 15:53:41 85a0685a4137: Waiting 15:53:41 de9db76c5a1d: Download complete 15:53:41 0ef7d3d256c8: Verifying Checksum 15:53:41 0d57e429df01: Verifying Checksum 15:53:41 0d57e429df01: Download complete 15:53:41 4e4be7b47b0d: Verifying Checksum 15:53:41 4e4be7b47b0d: Download complete 15:53:41 188c0c94c7c5: Verifying Checksum 15:53:41 188c0c94c7c5: Download complete 15:53:41 188c0c94c7c5: Pull complete 15:53:41 e1f770b5df2f: Verifying Checksum 15:53:41 e1f770b5df2f: Download complete 15:53:41 0ef7d3d256c8: Pull complete 15:53:42 de9db76c5a1d: Pull complete 15:53:42 0eba1c9be4d2: Verifying Checksum 15:53:42 0eba1c9be4d2: Download complete 15:53:42 85a0685a4137: Verifying Checksum 15:53:42 85a0685a4137: Download complete 15:53:45 0eba1c9be4d2: Pull complete 15:53:45 0d57e429df01: Pull complete 15:53:46 4e4be7b47b0d: Pull complete 15:53:46 e1f770b5df2f: Pull complete 15:53:50 85a0685a4137: Pull complete 15:53:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:53:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:53:50 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:53:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:53:53 $ docker top 6a282e3366122bd10abb129ef3ac84a3a313ead1eb7be70d2c89541209d62fc0 -eo pid,comm [Pipeline] { [Pipeline] echo 15:53:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:53:53 + set -o pipefail 15:53:53 + snyk monitor '--org=edgex-jenkins' 15:53:59 15:53:59 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 15:53:59 15:53:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/cc672bb3-ce95-45c3-947b-54254bf70991/history/5b011d0b-7e4a-4f20-9be1-7d7e8d8a658d 15:53:59 15:53:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:53:59 15:54:00 [Pipeline] } 15:54:00 $ docker stop --time=1 6a282e3366122bd10abb129ef3ac84a3a313ead1eb7be70d2c89541209d62fc0 15:54:02 $ docker rm -f 6a282e3366122bd10abb129ef3ac84a3a313ead1eb7be70d2c89541209d62fc0 [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 15:54:03 + git log --format=format:%s -1 276b854d0043017d2cd132a5df48fee36b7a1e4c [Pipeline] sh 15:54:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:54:03 . [Pipeline] withDockerContainer 15:54:03 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:54:04 $ docker top ddbe14d435dba58d8dc12ae9b53bb15b12e9dce30502d18255f11594b47318cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:04 [ssh-agent] Looking for ssh-agent implementation... 15:54:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:04 $ docker exec ddbe14d435dba58d8dc12ae9b53bb15b12e9dce30502d18255f11594b47318cc ssh-agent 15:54:04 SSH_AUTH_SOCK=/tmp/ssh-EaxucS7FRHwD/agent.34 15:54:04 SSH_AGENT_PID=41 15:54:04 Running ssh-add (command line suppressed) 15:54:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6556871117756376468.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6556871117756376468.key) 15:54:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:05 + git semver tag 15:54:05 2022-05-24 15:54:05,374 [run_tag] DEBUG tag force:False 15:54:05 2022-05-24 15:54:05,375 [check_head_tag] DEBUG check head tag 15:54:05 2022-05-24 15:54:05,375 [execute] INFO git cat-file --batch-check 15:54:05 2022-05-24 15:54:05,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:54:05 2022-05-24 15:54:05,379 [execute] INFO git cat-file --batch 15:54:05 2022-05-24 15:54:05,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:54:05 2022-05-24 15:54:05,383 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:05 2022-05-24 15:54:05,384 [execute] INFO git tag -a v0.0.1-dev.2 -m v0.0.1-dev.2 15:54:05 2022-05-24 15:54:05,384 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.2', '-m', 'v0.0.1-dev.2'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:54:05 2022-05-24 15:54:05,388 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:05 0.0.1-dev.2 [Pipeline] } 15:54:05 $ docker exec --env ******** --env ******** ddbe14d435dba58d8dc12ae9b53bb15b12e9dce30502d18255f11594b47318cc ssh-agent -k 15:54:05 unset SSH_AUTH_SOCK; 15:54:05 unset SSH_AGENT_PID; 15:54:05 echo Agent pid 41 killed; 15:54:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:05 + git semver [Pipeline] } 15:54:06 $ docker stop --time=1 ddbe14d435dba58d8dc12ae9b53bb15b12e9dce30502d18255f11594b47318cc 15:54:07 $ docker rm -f ddbe14d435dba58d8dc12ae9b53bb15b12e9dce30502d18255f11594b47318cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:54:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:07 15:54:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:54:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:08 0.23.1-centos7: Pulling from edgex-lftools 15:54:08 ab5ef0e58194: Pulling fs layer 15:54:08 9712f1f96733: Pulling fs layer 15:54:08 63f879dbbcfc: Pulling fs layer 15:54:08 0d9ebad4ef96: Pulling fs layer 15:54:08 e9a5061849ea: Pulling fs layer 15:54:08 d747dcd14b5f: Pulling fs layer 15:54:08 2de7ff778b66: Pulling fs layer 15:54:08 0d9ebad4ef96: Waiting 15:54:08 e9a5061849ea: Waiting 15:54:08 d747dcd14b5f: Waiting 15:54:08 2de7ff778b66: Waiting 15:54:08 9712f1f96733: Verifying Checksum 15:54:08 9712f1f96733: Download complete 15:54:08 63f879dbbcfc: Verifying Checksum 15:54:08 63f879dbbcfc: Download complete 15:54:08 0d9ebad4ef96: Verifying Checksum 15:54:08 0d9ebad4ef96: Download complete 15:54:08 e9a5061849ea: Verifying Checksum 15:54:08 e9a5061849ea: Download complete 15:54:08 d747dcd14b5f: Download complete 15:54:08 ab5ef0e58194: Verifying Checksum 15:54:08 ab5ef0e58194: Download complete 15:54:08 2de7ff778b66: Verifying Checksum 15:54:08 2de7ff778b66: Download complete 15:54:11 ab5ef0e58194: Pull complete 15:54:11 9712f1f96733: Pull complete 15:54:12 63f879dbbcfc: Pull complete 15:54:16 0d9ebad4ef96: Pull complete 15:54:16 e9a5061849ea: Pull complete 15:54:16 d747dcd14b5f: Pull complete 15:54:17 2de7ff778b66: Pull complete 15:54:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:54:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:54:17 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:54:19 $ docker top aa286d3a031a6cdb1ade619b7fe68bd27e6bdd02b66078621bf62df8b42fb7a6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:54:19 provisioning config files... 15:54:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2331723653337160438tmp 15:54:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4132698084031511665tmp 15:54:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7768373142625574512tmp [Pipeline] { [Pipeline] echo 15:54:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:54:20 ---> sigul-configuration.sh 15:54:20 gpg: directory `/root/.gnupg' created 15:54:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:54:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:54:20 gpg: keyring `/root/.gnupg/secring.gpg' created 15:54:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:54:20 gpg: CAST5 encrypted data 15:54:20 gpg: encrypted with 1 passphrase 15:54:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:54:20 + mkdir /home/jenkins 15:54:20 + mkdir /home/jenkins/sigul [Pipeline] sh 15:54:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:54:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:54:21 ---> sigul-install.sh 15:54:21 Sigul already installed; skipping installation. [Pipeline] sh 15:54:21 + git tag --list 15:54:21 v0.0.0 15:54:21 v0.0.1-dev.1 15:54:21 v0.0.1-dev.2 [Pipeline] sh 15:54:21 + lftools sign git-tag v0.0.1-dev.2 15:54:22 Signing Git tag with Sigul... 15:54:22 Signing v0.0.1-dev.2 [Pipeline] echo 15:54:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:54:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:54:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:54:22 $ docker stop --time=1 aa286d3a031a6cdb1ade619b7fe68bd27e6bdd02b66078621bf62df8b42fb7a6 15:54:24 $ docker rm -f aa286d3a031a6cdb1ade619b7fe68bd27e6bdd02b66078621bf62df8b42fb7a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:54:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:54:24 . [Pipeline] withDockerContainer 15:54:24 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:54:25 $ docker top d956276cd2cd3acb36c32549e582dfc6df6fe7a2d3a965656580f76e90ae7369 -eo pid,comm 15:54:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:54:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:25 [ssh-agent] Looking for ssh-agent implementation... 15:54:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:25 $ docker exec d956276cd2cd3acb36c32549e582dfc6df6fe7a2d3a965656580f76e90ae7369 ssh-agent 15:54:25 SSH_AUTH_SOCK=/tmp/ssh-KGI6qQehsZyu/agent.32 15:54:25 SSH_AGENT_PID=39 15:54:25 Running ssh-add (command line suppressed) 15:54:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2861627771434108307.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2861627771434108307.key) 15:54:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:26 + git semver bump pre 15:54:26 2022-05-24 15:54:26,277 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:26 2022-05-24 15:54:26,277 [bump_version] DEBUG bumping version:0.0.1-dev.2 on axis:pre with prefix:dev 15:54:26 2022-05-24 15:54:26,277 [bump_version] DEBUG bumped version:0.0.1-dev.3 15:54:26 2022-05-24 15:54:26,277 [write_version] DEBUG write version:0.0.1-dev.3 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 15:54:26 2022-05-24 15:54:26,277 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:26 2022-05-24 15:54:26,277 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:26 2022-05-24 15:54:26,279 [execute] INFO git cat-file --batch-check 15:54:26 2022-05-24 15:54:26,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:26 2022-05-24 15:54:26,284 [execute] INFO git cat-file --batch 15:54:26 2022-05-24 15:54:26,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:54:26 2022-05-24 15:54:26,288 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:26 0.0.1-dev.3 [Pipeline] } 15:54:26 $ docker exec --env ******** --env ******** d956276cd2cd3acb36c32549e582dfc6df6fe7a2d3a965656580f76e90ae7369 ssh-agent -k 15:54:26 unset SSH_AUTH_SOCK; 15:54:26 unset SSH_AGENT_PID; 15:54:26 echo Agent pid 39 killed; 15:54:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:26 + git semver [Pipeline] } 15:54:27 $ docker stop --time=1 d956276cd2cd3acb36c32549e582dfc6df6fe7a2d3a965656580f76e90ae7369 15:54:28 $ docker rm -f d956276cd2cd3acb36c32549e582dfc6df6fe7a2d3a965656580f76e90ae7369 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:54:29 . [Pipeline] withDockerContainer 15:54:29 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:54:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:54:30 $ docker top 32a78ce9bcb1dcab34519f624c74c2d86999821f855ef841b0b5ee0cd2fa523c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:30 [ssh-agent] Looking for ssh-agent implementation... 15:54:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:30 $ docker exec 32a78ce9bcb1dcab34519f624c74c2d86999821f855ef841b0b5ee0cd2fa523c ssh-agent 15:54:30 SSH_AUTH_SOCK=/tmp/ssh-GA1aDrC6mXIs/agent.32 15:54:30 SSH_AGENT_PID=39 15:54:30 Running ssh-add (command line suppressed) 15:54:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5349424341633332375.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5349424341633332375.key) 15:54:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:31 + git semver push 15:54:31 2022-05-24 15:54:31,355 [run_push] DEBUG push 15:54:31 2022-05-24 15:54:31,355 [execute] INFO git push origin semver 15:54:31 2022-05-24 15:54:31,356 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:54:32 2022-05-24 15:54:32,084 [run_push] DEBUG push all version tags 15:54:32 2022-05-24 15:54:32,084 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:54:32 2022-05-24 15:54:32,084 [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) 15:54:32 2022-05-24 15:54:32,781 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:54:32 0.0.1-dev.3 [Pipeline] } 15:54:32 $ docker exec --env ******** --env ******** 32a78ce9bcb1dcab34519f624c74c2d86999821f855ef841b0b5ee0cd2fa523c ssh-agent -k 15:54:33 unset SSH_AUTH_SOCK; 15:54:33 unset SSH_AGENT_PID; 15:54:33 echo Agent pid 39 killed; 15:54:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:33 + git semver [Pipeline] } 15:54:33 $ docker stop --time=1 32a78ce9bcb1dcab34519f624c74c2d86999821f855ef841b0b5ee0cd2fa523c 15:54:35 $ docker rm -f 32a78ce9bcb1dcab34519f624c74c2d86999821f855ef841b0b5ee0cd2fa523c [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 15:54:35 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:54:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:54:35 total 16 15:54:35 drwxr-xr-x 3 root root 4096 May 24 15:45 . 15:54:35 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:54 .. 15:54:35 drwxr-xr-x 2 root root 4096 May 24 15:45 cost 15:54:35 -rw-r--r-- 1 root root 88 May 24 15:45 cost.csv 15:54:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:54:35 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:54:35 total 16 15:54:35 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:45 . 15:54:35 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:54 .. 15:54:35 drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:45 cost 15:54:35 -rw-r--r-- 1 jenkins jenkins 88 May 24 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:54:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:54:36 ---> package-listing.sh 15:54:36 ++ facter osfamily 15:54:36 ++ tr '[:upper:]' '[:lower:]' 15:54:36 + OS_FAMILY=debian 15:54:36 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:54:36 + START_PACKAGES=/tmp/packages_start.txt 15:54:36 + END_PACKAGES=/tmp/packages_end.txt 15:54:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:36 + PACKAGES=/tmp/packages_start.txt 15:54:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:54:36 + PACKAGES=/tmp/packages_end.txt 15:54:36 + case "${OS_FAMILY}" in 15:54:36 + dpkg -l 15:54:36 + grep '^ii' 15:54:36 + '[' -f /tmp/packages_start.txt ']' 15:54:36 + '[' -f /tmp/packages_end.txt ']' 15:54:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:54:36 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:54:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:54:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:54:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:54:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:37 . [Pipeline] withDockerContainer 15:54:37 prd-ubuntu20.04-docker-8c-8g-64490 does not seem to be running inside a container 15:54:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:38 $ docker top ca0b728d070852790b35ec8f4388af5a08765c1c10dd1bde7673385df7d5fa65 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:38 + touch /tmp/pre-build-complete [Pipeline] sh 15:54:38 + mkdir -p /var/log/sysstat [Pipeline] sh 15:54:39 + ls /var/log/sa-host 15:54:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:39 provisioning config files... 15:54:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6956299755694567314tmp [Pipeline] { [Pipeline] echo 15:54:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:54:39 ---> create-netrc.sh [Pipeline] } 15:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:54:39 ---> python-tools-install.sh [Pipeline] echo 15:54:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:54:40 ---> sudo-logs.sh 15:54:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:54:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:54:40 ---> job-cost.sh 15:54:40 lf-activate-venv: SKIPPING 15:54:40 DEBUG: total: 0.2199999988079071 15:54:40 INFO: Retrieving Stack Cost... 15:54:40 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:41 INFO: Archiving Costs [Pipeline] echo 15:54:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:54:41 ---> logs-deploy.sh 15:54:41 lf-activate-venv: SKIPPING 15:54:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/4 15:54:41 INFO: archiving workspace using pattern(s): 15:54:42 Archives upload complete. 15:54:42 INFO: archiving logs to Nexus