Push event to branch issue-67 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5518966bb045a49db7429c9a60a74b84fd8139d7 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-ssh738510234747314715.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-ssh15970870748221469991.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/issue-67/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/issue-67/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2851367657581608307.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-ssh5501797171103380959.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/issue-67/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/issue-67/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2174387002998095139.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-64457 in /w/workspace/dry_device-onvif-camera_issue-67 [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/dry_device-onvif-camera_issue-67 # 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 5518966bb045a49db7429c9a60a74b84fd8139d7 (issue-67) > 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 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 Commit message: "fix: Update Makefile to show the version number" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:50:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:50:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:50:25 ========================================================= 02:50:25 EdgeX Global Pipelines Version Info 02:50:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c555fab50f1e33742973eabcd8f7d29c7648e8f2 # timeout=10 02:50:26 ------------------- 02:50:26 stable info: 02:50:26 ------------------- 02:50:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:50:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:50:26 Message: update stable to v1.0.230 02:50:27 ------------------- 02:50:27 experimental info: 02:50:27 ------------------- 02:50:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:50:27 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:50:27 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-67 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-67 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-67 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5518966 [Pipeline] echo 02:50:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:27 provisioning config files... 02:50:27 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config600334769732269306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:28 ---> docker-login.sh 02:50:28 nexus3.edgexfoundry.org:10001 02:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:28 Configure a credential helper to remove this warning. See 02:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:28 02:50:28 Login Succeeded 02:50:28 nexus3.edgexfoundry.org:10002 02:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:28 Configure a credential helper to remove this warning. See 02:50:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:28 02:50:28 Login Succeeded 02:50:28 nexus3.edgexfoundry.org:10003 02:50:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:29 Configure a credential helper to remove this warning. See 02:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:29 02:50:29 Login Succeeded 02:50:29 nexus3.edgexfoundry.org:10004 02:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:29 Configure a credential helper to remove this warning. See 02:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:29 02:50:29 Login Succeeded 02:50:29 docker.io 02:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:29 Configure a credential helper to remove this warning. See 02:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:29 02:50:29 Login Succeeded 02:50:29 ---> docker-login.sh ends [Pipeline] } 02:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:50:29 + git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:50:30 -----------> git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 5518966bb045a49db7429c9a60a74b84fd8139d7 [false] [Pipeline] sh 02:50:30 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:50:30 ========================================================= 02:50:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:50:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:30 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 02:50:30 [semverPrep] GIT_COMMIT: 5518966bb045a49db7429c9a60a74b84fd8139d7, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo 02:50:30 [semverPrep] This is not a build commit. [Pipeline] sh 02:50:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:50:31 + grep -v github /etc/ssh/ssh_known_hosts 02:50:31 + [ -e /tmp/ssh_known_hosts ] 02:50:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:50:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:50:31 + sudo tee -a /etc/ssh/ssh_known_hosts 02:50:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:50:31 02:50:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:50:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:50:32 latest: Pulling from edgex-devops/py-git-semver 02:50:32 1fe172e4850f: Pulling fs layer 02:50:32 caf521ccaac6: Pulling fs layer 02:50:32 3ead6fa29328: Pulling fs layer 02:50:32 5c2a1cbceb83: Pulling fs layer 02:50:32 a8d5f1318db7: Pulling fs layer 02:50:32 c427282e49a2: Pulling fs layer 02:50:32 1827001aaf11: Pulling fs layer 02:50:32 0714d37db230: Pulling fs layer 02:50:32 ac28cf19c067: Pulling fs layer 02:50:32 ca983d60f3e2: Pulling fs layer 02:50:32 9f894cec8388: Pulling fs layer 02:50:32 5c2a1cbceb83: Waiting 02:50:32 a8d5f1318db7: Waiting 02:50:32 ac28cf19c067: Waiting 02:50:32 c427282e49a2: Waiting 02:50:32 ca983d60f3e2: Waiting 02:50:32 9f894cec8388: Waiting 02:50:32 1827001aaf11: Waiting 02:50:32 0714d37db230: Waiting 02:50:32 caf521ccaac6: Verifying Checksum 02:50:32 caf521ccaac6: Download complete 02:50:32 5c2a1cbceb83: Verifying Checksum 02:50:32 5c2a1cbceb83: Download complete 02:50:32 a8d5f1318db7: Verifying Checksum 02:50:32 a8d5f1318db7: Download complete 02:50:32 c427282e49a2: Verifying Checksum 02:50:32 c427282e49a2: Download complete 02:50:32 3ead6fa29328: Verifying Checksum 02:50:32 3ead6fa29328: Download complete 02:50:32 0714d37db230: Download complete 02:50:32 ac28cf19c067: Verifying Checksum 02:50:32 ac28cf19c067: Download complete 02:50:32 ca983d60f3e2: Verifying Checksum 02:50:32 ca983d60f3e2: Download complete 02:50:32 9f894cec8388: Verifying Checksum 02:50:32 9f894cec8388: Download complete 02:50:32 1fe172e4850f: Verifying Checksum 02:50:32 1fe172e4850f: Download complete 02:50:33 1827001aaf11: Verifying Checksum 02:50:33 1827001aaf11: Download complete 02:50:34 1fe172e4850f: Pull complete 02:50:34 caf521ccaac6: Pull complete 02:50:35 3ead6fa29328: Pull complete 02:50:35 5c2a1cbceb83: Pull complete 02:50:35 a8d5f1318db7: Pull complete 02:50:35 c427282e49a2: Pull complete 02:50:37 1827001aaf11: Pull complete 02:50:37 0714d37db230: Pull complete 02:50:37 ac28cf19c067: Pull complete 02:50:37 ca983d60f3e2: Pull complete 02:50:37 9f894cec8388: Pull complete 02:50:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:50:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:50:37 prd-ubuntu20.04-docker-8c-8g-64457 does not seem to be running inside a container 02:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-onvif-camera_issue-67 -v /w/workspace/dry_device-onvif-camera_issue-67:/w/workspace/dry_device-onvif-camera_issue-67:rw,z -v /w/workspace/dry_device-onvif-camera_issue-67@tmp:/w/workspace/dry_device-onvif-camera_issue-67@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:50:39 $ docker top a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:39 [ssh-agent] Looking for ssh-agent implementation... 02:50:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:39 $ docker exec a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 ssh-agent 02:50:39 SSH_AUTH_SOCK=/tmp/ssh-k8iGxJ8eijLH/agent.32 02:50:39 SSH_AGENT_PID=38 02:50:39 Running ssh-add (command line suppressed) 02:50:39 Identity added: /w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_6932088939962421732.key (/w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_6932088939962421732.key) 02:50:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:39 + git tag --points-at HEAD [Pipeline] } 02:50:39 $ docker exec --env ******** --env ******** a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 ssh-agent -k 02:50:40 unset SSH_AUTH_SOCK; 02:50:40 unset SSH_AGENT_PID; 02:50:40 echo Agent pid 38 killed; 02:50:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:50:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:40 [ssh-agent] Looking for ssh-agent implementation... 02:50:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:40 $ docker exec a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 ssh-agent 02:50:40 SSH_AUTH_SOCK=/tmp/ssh-b22dAwL1fXh8/agent.71 02:50:40 SSH_AGENT_PID=77 02:50:40 Running ssh-add (command line suppressed) 02:50:40 Identity added: /w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_4835784477416093065.key (/w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_4835784477416093065.key) 02:50:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:40 + git semver init 02:50:41 2022-05-24 02:50:41,015 [run_init] DEBUG init version:0.0.0 force:False 02:50:41 2022-05-24 02:50:41,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-67/.semver 02:50:41 2022-05-24 02:50:41,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-67/.semver 02:50:41 2022-05-24 02:50:41,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/dry_device-onvif-camera_issue-67/.semver'], cwd=/w/workspace/dry_device-onvif-camera_issue-67, universal_newlines=False, shell=None, istream=None) 02:50:42 2022-05-24 02:50:41,666 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-67/.git/info/exclude 02:50:42 2022-05-24 02:50:41,666 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 with force:False 02:50:42 2022-05-24 02:50:41,666 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 02:50:42 2022-05-24 02:50:41,670 [execute] INFO git cat-file --batch-check 02:50:42 2022-05-24 02:50:41,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-67/.semver, universal_newlines=False, shell=None, istream=) 02:50:42 2022-05-24 02:50:41,676 [execute] INFO git cat-file --batch 02:50:42 2022-05-24 02:50:41,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-67/.semver, universal_newlines=False, shell=None, istream=) 02:50:42 2022-05-24 02:50:41,681 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 02:50:42 0.0.0 [Pipeline] } 02:50:42 $ docker exec --env ******** --env ******** a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 ssh-agent -k 02:50:42 unset SSH_AUTH_SOCK; 02:50:42 unset SSH_AGENT_PID; 02:50:42 echo Agent pid 77 killed; 02:50:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:42 + git semver [Pipeline] } 02:50:42 $ docker stop --time=1 a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 02:50:44 $ docker rm -f a4cd4d783b44046f4c20aa1d188e2b960d9b1f08eb98f93f0fdd062da618e5d0 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:50:44 Stashed 1 file(s) [Pipeline] echo 02:50:44 [edgeXSemver]: initialized semver on version 0.0.0 [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 02:50:44 provisioning config files... 02:50:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config602774013409734238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:45 ---> docker-login.sh 02:50:45 nexus3.edgexfoundry.org:10001 02:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:45 Configure a credential helper to remove this warning. See 02:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:45 02:50:45 Login Succeeded 02:50:45 nexus3.edgexfoundry.org:10002 02:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:45 Configure a credential helper to remove this warning. See 02:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:45 02:50:45 Login Succeeded 02:50:45 nexus3.edgexfoundry.org:10003 02:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:45 Configure a credential helper to remove this warning. See 02:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:45 02:50:45 Login Succeeded 02:50:45 nexus3.edgexfoundry.org:10004 02:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:45 Configure a credential helper to remove this warning. See 02:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:45 02:50:45 Login Succeeded 02:50:45 docker.io 02:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:46 Configure a credential helper to remove this warning. See 02:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:46 02:50:46 Login Succeeded 02:50:46 ---> docker-login.sh ends [Pipeline] } 02:50:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:46 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:46 ========================================================= 02:50:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:50:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:50: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 . 02:50:46 Sending build context to Docker daemon 8.552MB 02:50:46 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:50:46 Step 2/13 : FROM ${BASE} AS builder 02:50:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:46 59bf1c3509f3: Pulling fs layer 02:50:46 666ba61612fd: Pulling fs layer 02:50:46 8ed8ca486205: Pulling fs layer 02:50:46 4fe6c5a15a65: Pulling fs layer 02:50:46 22a0e8bec74d: Pulling fs layer 02:50:46 ca2b28591e48: Pulling fs layer 02:50:46 a51346096db8: Pulling fs layer 02:50:46 daebc70d1ce1: Pulling fs layer 02:50:46 0e18a0eac166: Pulling fs layer 02:50:46 4fe6c5a15a65: Waiting 02:50:46 ca2b28591e48: Waiting 02:50:46 22a0e8bec74d: Waiting 02:50:46 daebc70d1ce1: Waiting 02:50:46 0e18a0eac166: Waiting 02:50:46 a51346096db8: Waiting 02:50:46 8ed8ca486205: Verifying Checksum 02:50:46 8ed8ca486205: Download complete 02:50:46 666ba61612fd: Download complete 02:50:46 22a0e8bec74d: Verifying Checksum 02:50:46 22a0e8bec74d: Download complete 02:50:46 ca2b28591e48: Verifying Checksum 02:50:46 ca2b28591e48: Download complete 02:50:46 59bf1c3509f3: Verifying Checksum 02:50:46 a51346096db8: Download complete 02:50:46 daebc70d1ce1: Verifying Checksum 02:50:46 daebc70d1ce1: Download complete 02:50:46 59bf1c3509f3: Pull complete 02:50:46 666ba61612fd: Pull complete 02:50:46 8ed8ca486205: Pull complete 02:50:47 0e18a0eac166: Verifying Checksum 02:50:47 0e18a0eac166: Download complete 02:50:47 4fe6c5a15a65: Verifying Checksum 02:50:47 4fe6c5a15a65: Download complete 02:50:51 4fe6c5a15a65: Pull complete 02:50:51 22a0e8bec74d: Pull complete 02:50:51 ca2b28591e48: Pull complete 02:50:51 a51346096db8: Pull complete 02:50:51 daebc70d1ce1: Pull complete 02:50:54 0e18a0eac166: Pull complete 02:50:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:50:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:50:54 ---> f018257e8ee9 02:50:54 Step 3/13 : ARG MAKE="make build" 02:50:55 ---> Running in 52e91c0799d1 02:50:55 Removing intermediate container 52e91c0799d1 02:50:55 ---> dce92bc062f9 02:50:55 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:50:55 ---> Running in cdaa10eedb70 02:50:55 Removing intermediate container cdaa10eedb70 02:50:55 ---> 274e3d30205c 02:50:55 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:50:55 ---> Running in c19b0fe7ad91 02:50:55 Removing intermediate container c19b0fe7ad91 02:50:55 ---> b415456dd8b1 02:50:55 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:50:55 ---> Running in a2221d27eb9d 02:50:55 Removing intermediate container a2221d27eb9d 02:50:55 ---> 7f8905713a92 02:50:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:55 ---> Running in 15a4282b4dca 02:50:56 Removing intermediate container 15a4282b4dca 02:50:56 ---> f51ff40fcf56 02:50:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:50:56 ---> Running in 057e8f8b7c39 02:50:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:50:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:50:59 Still waiting to schedule task 02:50:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:51:00 OK: 221 MiB in 52 packages 02:51:00 Removing intermediate container 057e8f8b7c39 02:51:00 ---> 26e8e085d7b6 02:51:00 Step 9/13 : WORKDIR /device-onvif-camera 02:51:00 ---> Running in 8163797d4727 02:51:00 Removing intermediate container 8163797d4727 02:51:00 ---> 2e782a9a3eb5 02:51:00 Step 10/13 : COPY go.mod vendor* ./ 02:51:00 ---> f8ed3d21abd1 02:51:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:00 ---> Running in aeb2d84eb58e 02:51:19 Removing intermediate container aeb2d84eb58e 02:51:19 ---> 8491212e5d0a 02:51:19 Step 12/13 : COPY . . 02:51:19 ---> c0e7f5eddbca 02:51:19 Step 13/13 : RUN ${MAKE} 02:51:19 ---> Running in 94c9b9f1a619 02:51:19 noop 02:51:19 Removing intermediate container 94c9b9f1a619 02:51:19 ---> e26c3aeebd24 02:51:19 Successfully built e26c3aeebd24 02:51:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:51:19 + docker inspect -f . ci-base-image-x86_64 02:51:19 . [Pipeline] withDockerContainer 02:51:19 prd-ubuntu20.04-docker-8c-8g-64457 does not seem to be running inside a container 02:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-67 -v /w/workspace/dry_device-onvif-camera_issue-67:/w/workspace/dry_device-onvif-camera_issue-67:rw,z -v /w/workspace/dry_device-onvif-camera_issue-67@tmp:/w/workspace/dry_device-onvif-camera_issue-67@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 ******** ci-base-image-x86_64 cat 02:51:19 $ docker top 97c74ed27f6ebe0a718bdc73be11fd84da36d7ceabafd47fdd19a340ec79eaf5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:20 + go version 02:51:20 go version go1.17.6 linux/amd64 [Pipeline] } 02:51:20 $ docker stop --time=1 97c74ed27f6ebe0a718bdc73be11fd84da36d7ceabafd47fdd19a340ec79eaf5 02:51:21 $ docker rm -f 97c74ed27f6ebe0a718bdc73be11fd84da36d7ceabafd47fdd19a340ec79eaf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:51:22 + docker inspect -f . ci-base-image-x86_64 02:51:22 . [Pipeline] withDockerContainer 02:51:22 prd-ubuntu20.04-docker-8c-8g-64457 does not seem to be running inside a container 02:51:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-67 -v /w/workspace/dry_device-onvif-camera_issue-67:/w/workspace/dry_device-onvif-camera_issue-67:rw,z -v /w/workspace/dry_device-onvif-camera_issue-67@tmp:/w/workspace/dry_device-onvif-camera_issue-67@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 ******** ci-base-image-x86_64 cat 02:51:22 $ docker top 12a3859ca0e8ee0209582396fe08f7a2501ebcca7c5200b687d334c5ea9f1953 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:51:22 + make test 02:51:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:51:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:51:33 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:51:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 1.0% of statements 02:51:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:51:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:51:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:51:45 ./bin/test-attribution-txt.sh [Pipeline] echo 02:51:46 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:51:46 $ docker stop --time=1 12a3859ca0e8ee0209582396fe08f7a2501ebcca7c5200b687d334c5ea9f1953 02:51:48 $ docker rm -f 12a3859ca0e8ee0209582396fe08f7a2501ebcca7c5200b687d334c5ea9f1953 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:49 + ls -al . 02:51:49 total 216 02:51:49 drwxrwxr-x 9 jenkins jenkins 4096 May 24 02:51 . 02:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:50 .. 02:51:49 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:50 .git 02:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:50 .github 02:51:49 -rw-rw-r-- 1 jenkins jenkins 352 May 24 02:50 .gitignore 02:51:49 -rw-rw-r-- 1 jenkins jenkins 42 May 24 02:50 .golangci.yml 02:51:49 drwxr-xr-x 3 jenkins jenkins 4096 May 24 02:50 .semver 02:51:49 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 02:50 Attribution.txt 02:51:49 -rw-rw-r-- 1 jenkins jenkins 189 May 24 02:50 CHANGELOG.md 02:51:49 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 02:50 Dockerfile 02:51:49 -rw-rw-r-- 1 jenkins jenkins 677 May 24 02:50 GOVERNANCE.md 02:51:49 -rw-rw-r-- 1 jenkins jenkins 660 May 24 02:50 Jenkinsfile 02:51:49 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 02:50 LICENSE 02:51:49 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 02:50 Makefile 02:51:49 -rw-rw-r-- 1 jenkins jenkins 625 May 24 02:50 OWNERS.md 02:51:49 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 02:50 README.md 02:51:49 -rw-rw-r-- 1 jenkins jenkins 5 May 24 02:50 VERSION 02:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:50 bin 02:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:50 cmd 02:51:49 -rw-r--r-- 1 jenkins jenkins 37307 May 24 02:51 coverage.out 02:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:50 doc 02:51:49 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 02:50 go.mod 02:51:49 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 02:50 go.sum 02:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:50 internal 02:51:49 -rw-rw-r-- 1 jenkins jenkins 236 May 24 02:50 version.go [Pipeline] isUnix [Pipeline] sh 02:51:50 + 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=5518966bb045a49db7429c9a60a74b84fd8139d7 --label arch=amd64 --label version=0.0.0 . 02:51:50 Sending build context to Docker daemon 8.59MB 02:51:50 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:51:50 Step 2/26 : FROM ${BASE} AS builder 02:51:50 ---> e26c3aeebd24 02:51:50 Step 3/26 : ARG MAKE="make build" 02:51:50 ---> Running in 804772cf91cf 02:51:50 Removing intermediate container 804772cf91cf 02:51:50 ---> a26e18483b7d 02:51:50 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:51:50 ---> Running in dcba6f03040f 02:51:50 Removing intermediate container dcba6f03040f 02:51:50 ---> 99efb28ef6e8 02:51:50 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:51:50 ---> Running in 5b11157fdb10 02:51:50 Removing intermediate container 5b11157fdb10 02:51:50 ---> 1f2dbec6a321 02:51:50 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:51:50 ---> Running in 3ac3b3231069 02:51:50 Removing intermediate container 3ac3b3231069 02:51:50 ---> 04d80ab1bcca 02:51:50 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:50 ---> Running in 508841756a05 02:51:51 Removing intermediate container 508841756a05 02:51:51 ---> 24ea54e17d97 02:51:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:51 ---> Running in 18ddbb966024 02:51:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:51:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:51:52 OK: 221 MiB in 52 packages 02:51:53 Removing intermediate container 18ddbb966024 02:51:53 ---> de4c0fc1bcce 02:51:53 Step 9/26 : WORKDIR /device-onvif-camera 02:51:53 ---> Running in 21b9c8ad20d2 02:51:53 Removing intermediate container 21b9c8ad20d2 02:51:53 ---> d18a30235907 02:51:53 Step 10/26 : COPY go.mod vendor* ./ 02:51:53 ---> 275fe9ccbf14 02:51:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:53 ---> Running in a8867ec21400 02:51:54 Removing intermediate container a8867ec21400 02:51:54 ---> 60940e49910d 02:51:54 Step 12/26 : COPY . . 02:51:54 ---> 74cc0375f965 02:51:54 Step 13/26 : RUN ${MAKE} 02:51:54 ---> Running in 65582c27669b 02:51:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -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 02:52:16 Removing intermediate container 65582c27669b 02:52:16 ---> c64ed99ddec0 02:52:16 Step 14/26 : FROM alpine:3.15 02:52:16 3.15: Pulling from library/alpine 02:52:16 df9b9388f04a: Pulling fs layer 02:52:16 df9b9388f04a: Verifying Checksum 02:52:16 df9b9388f04a: Download complete 02:52:16 df9b9388f04a: Pull complete 02:52:16 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 02:52:16 Status: Downloaded newer image for alpine:3.15 02:52:16 ---> 0ac33e5f5afa 02:52:16 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:52:16 ---> Running in 1b561f2dc040 02:52:16 Removing intermediate container 1b561f2dc040 02:52:16 ---> e37f9901b960 02:52:16 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:52:16 ---> Running in 5b9e9e4ff208 02:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:52:17 (1/6) Installing dumb-init (1.2.5-r1) 02:52:17 (2/6) Installing libgcc (10.3.1_git20211027-r0) 02:52:17 (3/6) Installing libsodium (1.0.18-r0) 02:52:17 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 02:52:17 (5/6) Installing libzmq (4.3.4-r0) 02:52:17 (6/6) Installing zeromq (4.3.4-r0) 02:52:17 Executing busybox-1.34.1-r5.trigger 02:52:17 OK: 8 MiB in 20 packages 02:52:17 Removing intermediate container 5b9e9e4ff208 02:52:17 ---> 272e03d860da 02:52:17 Step 17/26 : WORKDIR / 02:52:17 ---> Running in d037b55933d8 02:52:17 Removing intermediate container d037b55933d8 02:52:17 ---> e66a3e579aa1 02:52:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 02:52:18 ---> dcc1e607eed7 02:52:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 02:52:18 ---> f73c1e657de9 02:52:18 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:52:18 ---> 87af7cf055f2 02:52:18 Step 21/26 : EXPOSE 59984 02:52:18 ---> Running in bb3e0d0cc301 02:52:18 Removing intermediate container bb3e0d0cc301 02:52:18 ---> 5e19db3a7039 02:52:18 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 02:52:18 ---> Running in f13dc65d9443 02:52:19 Removing intermediate container f13dc65d9443 02:52:19 ---> 9b786dd57c0e 02:52:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:19 ---> Running in c1b19e400050 02:52:19 Removing intermediate container c1b19e400050 02:52:19 ---> 7bec7218e314 02:52:19 Step 24/26 : LABEL arch=amd64 02:52:19 ---> Running in 99cc8bbb9b7a 02:52:19 Removing intermediate container 99cc8bbb9b7a 02:52:19 ---> 396ad14d38b4 02:52:19 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 02:52:19 ---> Running in 6e727f091f9b 02:52:19 Removing intermediate container 6e727f091f9b 02:52:19 ---> 19197bc217ae 02:52:19 Step 26/26 : LABEL version=0.0.0 02:52:19 ---> Running in a28a7eea6da2 02:52:19 Removing intermediate container a28a7eea6da2 02:52:19 ---> 9910f1bd814d 02:52:19 [Warning] One or more build-args [ARCH] were not consumed 02:52:19 Successfully built 9910f1bd814d 02:52:19 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 02:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:19 02:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:52:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:20 latest: Pulling from edgex-lftools-log-publisher 02:52:20 5eb5b503b376: Pulling fs layer 02:52:20 5c69ac0246d0: Pulling fs layer 02:52:20 ec43610c2a17: Pulling fs layer 02:52:20 3a2ae6a8a46f: Pulling fs layer 02:52:20 33b1e0a273af: Pulling fs layer 02:52:20 5d3b04190fa2: Pulling fs layer 02:52:20 2f39f015ded8: Pulling fs layer 02:52:20 5d3b04190fa2: Waiting 02:52:20 2f39f015ded8: Waiting 02:52:20 3a2ae6a8a46f: Waiting 02:52:20 5c69ac0246d0: Verifying Checksum 02:52:20 5c69ac0246d0: Download complete 02:52:20 3a2ae6a8a46f: Download complete 02:52:20 33b1e0a273af: Verifying Checksum 02:52:20 33b1e0a273af: Download complete 02:52:20 ec43610c2a17: Verifying Checksum 02:52:20 ec43610c2a17: Download complete 02:52:20 5d3b04190fa2: Download complete 02:52:20 5eb5b503b376: Verifying Checksum 02:52:20 5eb5b503b376: Download complete 02:52:21 2f39f015ded8: Download complete 02:52:22 5eb5b503b376: Pull complete 02:52:22 5c69ac0246d0: Pull complete 02:52:22 ec43610c2a17: Pull complete 02:52:22 3a2ae6a8a46f: Pull complete 02:52:22 33b1e0a273af: Pull complete 02:52:23 5d3b04190fa2: Pull complete 02:52:28 2f39f015ded8: Pull complete 02:52:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:52:28 prd-ubuntu20.04-docker-8c-8g-64457 does not seem to be running inside a container 02:52: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/dry_device-onvif-camera_issue-67 -v /w/workspace/dry_device-onvif-camera_issue-67:/w/workspace/dry_device-onvif-camera_issue-67:rw,z -v /w/workspace/dry_device-onvif-camera_issue-67@tmp:/w/workspace/dry_device-onvif-camera_issue-67@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 02:52:30 $ docker top c37589373fd771da02616fd5deecf17014defc2cc0c8524870795d3d3d06919b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:30 ---> job-cost.sh 02:52:30 lf-activate-venv: SKIPPING 02:52:30 INFO: No Stack... 02:52:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:31 INFO: Archiving Costs [Pipeline] sh 02:52:31 + cut -d, -f6 02:52:31 + cat /w/workspace/dry_device-onvif-camera_issue-67/archives/cost.csv [Pipeline] lock 02:52:31 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] 02:52:31 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] did not exist. Created. 02:52:31 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:31 + echo total: 0.2199999988079071 [Pipeline] stash 02:52:31 Stashed 1 file(s) [Pipeline] } 02:52:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:32 $ docker stop --time=1 c37589373fd771da02616fd5deecf17014defc2cc0c8524870795d3d3d06919b 02:52:33 $ docker rm -f c37589373fd771da02616fd5deecf17014defc2cc0c8524870795d3d3d06919b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64458 in /w/workspace/dry_device-onvif-camera_issue-67 [Pipeline] { [Pipeline] ws 02:54:44 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 02:54:44 Selected Git installation does not exist. Using Default 02:54:44 The recommended git tool is: NONE 02:54:50 using credential edgex-jenkins-ssh 02:54:50 Cloning the remote Git repository 02:54:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:54:51 > git init /w/workspace/device-onvif-camera/3 # timeout=10 02:54:52 Avoid second fetch 02:54:52 Checking out Revision 5518966bb045a49db7429c9a60a74b84fd8139d7 (issue-67) 02:54:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:54:51 > git --version # timeout=10 02:54:51 > git --version # 'git version 2.25.1' 02:54:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:54:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:54:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:52 > git config core.sparsecheckout # timeout=10 02:54:52 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 02:54:56 Commit message: "fix: Update Makefile to show the version number" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:54:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:57 Dload Upload Total Spent Left Speed 02:54:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 52363 0 --:--:-- --:--:-- --:--:-- 52587 [Pipeline] sh 02:54:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:54:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:54:58 + sudo tee /etc/docker/daemon.new 02:54:58 { 02:54:58 "registry-mirrors": [ 02:54:58 "https://nexus3.edgexfoundry.org:10001" 02:54:58 ], 02:54:58 "bip": "10.250.0.254/24", 02:54:58 "hosts": [ 02:54:58 "tcp://0.0.0.0:5555", 02:54:58 "unix:///var/run/docker.sock" 02:54:58 ], 02:54:58 "mtu": 1458, 02:54:58 "selinux-enabled": true, 02:54:58 "seccomp-profile": "/etc/docker/seccomp.json" 02:54:58 } [Pipeline] sh 02:54:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:54:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:55:17 provisioning config files... 02:55:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4596359784180021572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:55:18 ---> docker-login.sh 02:55:18 nexus3.edgexfoundry.org:10001 02:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:19 Configure a credential helper to remove this warning. See 02:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:19 02:55:19 Login Succeeded 02:55:19 nexus3.edgexfoundry.org:10002 02:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:19 Configure a credential helper to remove this warning. See 02:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:19 02:55:19 Login Succeeded 02:55:19 nexus3.edgexfoundry.org:10003 02:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:20 Configure a credential helper to remove this warning. See 02:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:20 02:55:20 Login Succeeded 02:55:20 nexus3.edgexfoundry.org:10004 02:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:20 Configure a credential helper to remove this warning. See 02:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:20 02:55:20 Login Succeeded 02:55:20 docker.io 02:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:55:21 Configure a credential helper to remove this warning. See 02:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:55:21 02:55:21 Login Succeeded 02:55:21 ---> docker-login.sh ends [Pipeline] } 02:55:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:55:21 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:55:21 ========================================================= 02:55:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:55:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:55:22 + 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 . 02:55:22 Sending build context to Docker daemon 5.82MB 02:55:22 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:55:22 Step 2/13 : FROM ${BASE} AS builder 02:55:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:55:22 9b3977197b4f: Pulling fs layer 02:55:22 1a89e8eeedd5: Pulling fs layer 02:55:22 94645a83ff95: Pulling fs layer 02:55:22 3f3a8bcf1eab: Pulling fs layer 02:55:22 0c92f367c5e7: Pulling fs layer 02:55:22 3096ccb668a1: Pulling fs layer 02:55:22 e8cf19c19ddd: Pulling fs layer 02:55:22 a4caa8a26152: Pulling fs layer 02:55:22 3096ccb668a1: Waiting 02:55:22 3f3a8bcf1eab: Waiting 02:55:22 e8cf19c19ddd: Waiting 02:55:22 a4caa8a26152: Waiting 02:55:22 94645a83ff95: Download complete 02:55:22 1a89e8eeedd5: Verifying Checksum 02:55:22 1a89e8eeedd5: Download complete 02:55:22 0c92f367c5e7: Verifying Checksum 02:55:22 0c92f367c5e7: Download complete 02:55:22 3096ccb668a1: Verifying Checksum 02:55:22 3096ccb668a1: Download complete 02:55:22 e8cf19c19ddd: Verifying Checksum 02:55:22 e8cf19c19ddd: Download complete 02:55:22 9b3977197b4f: Download complete 02:55:23 9b3977197b4f: Pull complete 02:55:24 1a89e8eeedd5: Pull complete 02:55:24 94645a83ff95: Pull complete 02:55:24 a4caa8a26152: Verifying Checksum 02:55:24 a4caa8a26152: Download complete 02:55:25 3f3a8bcf1eab: Verifying Checksum 02:55:25 3f3a8bcf1eab: Download complete 02:55:37 3f3a8bcf1eab: Pull complete 02:55:38 0c92f367c5e7: Pull complete 02:55:38 3096ccb668a1: Pull complete 02:55:38 e8cf19c19ddd: Pull complete 02:55:45 a4caa8a26152: Pull complete 02:55:45 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:55:45 ---> 725f1c02e7f9 02:55:45 Step 3/13 : ARG MAKE="make build" 02:55:46 ---> Running in 7d39e781831b 02:55:46 Removing intermediate container 7d39e781831b 02:55:46 ---> 57bfdff8f062 02:55:46 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:55:46 ---> Running in a2eb11a9cf12 02:55:47 Removing intermediate container a2eb11a9cf12 02:55:47 ---> dbe28f56d712 02:55:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:55:47 ---> Running in 1e82e83c87ed 02:55:47 Removing intermediate container 1e82e83c87ed 02:55:47 ---> e0bb5c046356 02:55:47 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:55:47 ---> Running in 0845d1b9dafb 02:55:47 Removing intermediate container 0845d1b9dafb 02:55:47 ---> 3266954fe32f 02:55:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:55:48 ---> Running in b3214a43bf62 02:55:51 Removing intermediate container b3214a43bf62 02:55:51 ---> d07e3a265551 02:55:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:51 ---> Running in 7d2d76442b3a 02:55:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:55:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:55:54 OK: 220 MiB in 52 packages 02:55:54 Removing intermediate container 7d2d76442b3a 02:55:54 ---> d1aa1fb8377c 02:55:54 Step 9/13 : WORKDIR /device-onvif-camera 02:55:54 ---> Running in fb88f03b45f9 02:55:55 Removing intermediate container fb88f03b45f9 02:55:55 ---> 14673c7200a4 02:55:55 Step 10/13 : COPY go.mod vendor* ./ 02:55:55 ---> 5d93ce44027c 02:55:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:55 ---> Running in b90a28696d5e 02:56:42 Removing intermediate container b90a28696d5e 02:56:42 ---> d8abdd8cace4 02:56:42 Step 12/13 : COPY . . 02:56:42 ---> 1e565911d84f 02:56:42 Step 13/13 : RUN ${MAKE} 02:56:42 ---> Running in 8ed86b375aff 02:56:43 noop 02:56:44 Removing intermediate container 8ed86b375aff 02:56:44 ---> 5a9aa996aaee 02:56:44 Successfully built 5a9aa996aaee 02:56:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:56:44 + docker inspect -f . ci-base-image-arm64 02:56:44 . [Pipeline] withDockerContainer 02:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-64458 does not seem to be running inside a container 02:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:56:46 $ docker top a75d3d88ef7083d0242de38782d59fa7972033a8f3c6eca211628f6572ed244b -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:46 + go version 02:56:46 go version go1.17.6 linux/arm64 [Pipeline] } 02:56:46 $ docker stop --time=1 a75d3d88ef7083d0242de38782d59fa7972033a8f3c6eca211628f6572ed244b 02:56:48 $ docker rm -f a75d3d88ef7083d0242de38782d59fa7972033a8f3c6eca211628f6572ed244b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:56:49 + docker inspect -f . ci-base-image-arm64 02:56:49 . [Pipeline] withDockerContainer 02:56:49 prd-ubuntu20.04-docker-arm64-4c-16g-64458 does not seem to be running inside a container 02:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:56:50 $ docker top be5d3f3599bf9c9fbb2f210821d4dd3c35bf091de4774b852c5ab1699a0ff51b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:56:51 + make test 02:56:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:56:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:58:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:58:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.084s coverage: 1.0% of statements 02:58:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:58:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:58:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:58:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:58:49 ./bin/test-attribution-txt.sh [Pipeline] echo 02:58:52 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:58:52 $ docker stop --time=1 be5d3f3599bf9c9fbb2f210821d4dd3c35bf091de4774b852c5ab1699a0ff51b 02:58:54 $ docker rm -f be5d3f3599bf9c9fbb2f210821d4dd3c35bf091de4774b852c5ab1699a0ff51b [Pipeline] // withDockerContainer [Pipeline] sh 02:58:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:58:55 Warning: overwriting stash ‘coverage-report’ 02:58:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:58:56 + ls -al . 02:58:56 total 212 02:58:56 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:58 . 02:58:56 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:54 .. 02:58:56 drwxrwxr-x 8 jenkins jenkins 4096 May 24 02:54 .git 02:58:56 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:54 .github 02:58:56 -rw-rw-r-- 1 jenkins jenkins 352 May 24 02:54 .gitignore 02:58:56 -rw-rw-r-- 1 jenkins jenkins 42 May 24 02:54 .golangci.yml 02:58:56 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 02:54 Attribution.txt 02:58:56 -rw-rw-r-- 1 jenkins jenkins 189 May 24 02:54 CHANGELOG.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 02:54 Dockerfile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 677 May 24 02:54 GOVERNANCE.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 660 May 24 02:54 Jenkinsfile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 02:54 LICENSE 02:58:56 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 02:54 Makefile 02:58:56 -rw-rw-r-- 1 jenkins jenkins 625 May 24 02:54 OWNERS.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 02:54 README.md 02:58:56 -rw-rw-r-- 1 jenkins jenkins 5 May 24 02:50 VERSION 02:58:56 drwxrwxr-x 2 jenkins jenkins 4096 May 24 02:54 bin 02:58:56 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:54 cmd 02:58:56 -rw-r--r-- 1 jenkins jenkins 37307 May 24 02:58 coverage.out 02:58:56 drwxrwxr-x 4 jenkins jenkins 4096 May 24 02:54 doc 02:58:56 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 02:54 go.mod 02:58:56 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 02:54 go.sum 02:58:56 drwxrwxr-x 3 jenkins jenkins 4096 May 24 02:54 internal 02:58:56 -rw-rw-r-- 1 jenkins jenkins 236 May 24 02:54 version.go [Pipeline] isUnix [Pipeline] sh 02:58:57 + 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=5518966bb045a49db7429c9a60a74b84fd8139d7 --label arch=arm64 --label version=0.0.0 . 02:58:57 Sending build context to Docker daemon 5.858MB 02:58:57 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 02:58:57 Step 2/26 : FROM ${BASE} AS builder 02:58:57 ---> 5a9aa996aaee 02:58:57 Step 3/26 : ARG MAKE="make build" 02:58:57 ---> Running in aeb5d65248fd 02:58:58 Removing intermediate container aeb5d65248fd 02:58:58 ---> ab48356946e8 02:58:58 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:58:58 ---> Running in 8eb5244fd55a 02:58:58 Removing intermediate container 8eb5244fd55a 02:58:58 ---> eefe4984bedd 02:58:58 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 02:58:58 ---> Running in 880506ea00b3 02:58:59 Removing intermediate container 880506ea00b3 02:58:59 ---> e138bfae701d 02:58:59 Step 6/26 : LABEL Name=edgex-device-onvif-camera 02:58:59 ---> Running in f753b9941d0f 02:58:59 Removing intermediate container f753b9941d0f 02:58:59 ---> 0974e80e7bcf 02:58:59 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:58:59 ---> Running in f02ab56b78a4 02:59:01 Removing intermediate container f02ab56b78a4 02:59:01 ---> 8f0384209deb 02:59:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:59:01 ---> Running in 24a1746b9c75 02:59:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:59:04 OK: 220 MiB in 52 packages 02:59:04 Removing intermediate container 24a1746b9c75 02:59:04 ---> 46fa125894d0 02:59:04 Step 9/26 : WORKDIR /device-onvif-camera 02:59:05 ---> Running in 9d16231ee89c 02:59:05 Removing intermediate container 9d16231ee89c 02:59:05 ---> 16f10db8b4e5 02:59:05 Step 10/26 : COPY go.mod vendor* ./ 02:59:06 ---> c2483ca2244e 02:59:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:06 ---> Running in 5e235fb5efef 02:59:08 Removing intermediate container 5e235fb5efef 02:59:08 ---> 8fe6ae7995a6 02:59:08 Step 12/26 : COPY . . 02:59:09 ---> 8c459ec4686c 02:59:09 Step 13/26 : RUN ${MAKE} 02:59:09 ---> Running in 63b27454d750 02:59:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -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 03:01:31 Removing intermediate container 63b27454d750 03:01:31 ---> c67dcc2de186 03:01:31 Step 14/26 : FROM alpine:3.15 03:01:31 3.15: Pulling from library/alpine 03:01:31 9981e73032c8: Pulling fs layer 03:01:31 9981e73032c8: Verifying Checksum 03:01:31 9981e73032c8: Download complete 03:01:31 9981e73032c8: Pull complete 03:01:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 03:01:31 Status: Downloaded newer image for alpine:3.15 03:01:31 ---> 3fb3c9af89a9 03:01:31 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:01:31 ---> Running in 9c5c7126a433 03:01:31 Removing intermediate container 9c5c7126a433 03:01:31 ---> b1648c7dc46f 03:01:31 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:01:31 ---> Running in 521d7c6079be 03:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:01:32 (1/6) Installing dumb-init (1.2.5-r1) 03:01:32 (2/6) Installing libgcc (10.3.1_git20211027-r0) 03:01:32 (3/6) Installing libsodium (1.0.18-r0) 03:01:32 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 03:01:32 (5/6) Installing libzmq (4.3.4-r0) 03:01:32 (6/6) Installing zeromq (4.3.4-r0) 03:01:32 Executing busybox-1.34.1-r5.trigger 03:01:32 OK: 8 MiB in 20 packages 03:01:33 Removing intermediate container 521d7c6079be 03:01:33 ---> b026051a7519 03:01:33 Step 17/26 : WORKDIR / 03:01:33 ---> Running in 529d029b1596 03:01:34 Removing intermediate container 529d029b1596 03:01:34 ---> 6c28cd1106d5 03:01:34 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:01:36 ---> 848fefe740d4 03:01:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:01:36 ---> d7c46b539950 03:01:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:01:36 ---> 005400126190 03:01:36 Step 21/26 : EXPOSE 59984 03:01:36 ---> Running in 5443784c13f8 03:01:37 Removing intermediate container 5443784c13f8 03:01:37 ---> 2acde972866b 03:01:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:01:37 ---> Running in 2e83448e4736 03:01:37 Removing intermediate container 2e83448e4736 03:01:37 ---> 97e5936acadb 03:01:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:01:37 ---> Running in e3a0591f49a2 03:01:38 Removing intermediate container e3a0591f49a2 03:01:38 ---> 881a91f17bbb 03:01:38 Step 24/26 : LABEL arch=arm64 03:01:38 ---> Running in bfd625bbcd52 03:01:38 Removing intermediate container bfd625bbcd52 03:01:38 ---> 5d42935b8711 03:01:38 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 03:01:38 ---> Running in 72d0358b92c2 03:01:38 Removing intermediate container 72d0358b92c2 03:01:38 ---> b0c8b30d1710 03:01:38 Step 26/26 : LABEL version=0.0.0 03:01:38 ---> Running in 3392cb8fb5a9 03:01:39 Removing intermediate container 3392cb8fb5a9 03:01:39 ---> 700c19ea9b11 03:01:39 [Warning] One or more build-args [ARCH] were not consumed 03:01:39 Successfully built 700c19ea9b11 03:01:39 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:39 03:01:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:01:40 arm64: Pulling from edgex-lftools-log-publisher 03:01:40 8998bd30e6a1: Pulling fs layer 03:01:40 04944245beec: Pulling fs layer 03:01:40 699f458cf7ca: Pulling fs layer 03:01:40 765212b225bb: Pulling fs layer 03:01:40 f23df028b6ca: Pulling fs layer 03:01:40 d65c8cfc05b1: Pulling fs layer 03:01:40 2437ff75d9bd: Pulling fs layer 03:01:40 765212b225bb: Waiting 03:01:40 f23df028b6ca: Waiting 03:01:40 d65c8cfc05b1: Waiting 03:01:40 2437ff75d9bd: Waiting 03:01:40 04944245beec: Verifying Checksum 03:01:40 04944245beec: Download complete 03:01:40 765212b225bb: Verifying Checksum 03:01:40 765212b225bb: Download complete 03:01:40 f23df028b6ca: Verifying Checksum 03:01:40 f23df028b6ca: Download complete 03:01:40 d65c8cfc05b1: Verifying Checksum 03:01:40 d65c8cfc05b1: Download complete 03:01:40 699f458cf7ca: Verifying Checksum 03:01:40 699f458cf7ca: Download complete 03:01:40 8998bd30e6a1: Verifying Checksum 03:01:40 8998bd30e6a1: Download complete 03:01:43 2437ff75d9bd: Verifying Checksum 03:01:43 2437ff75d9bd: Download complete 03:01:44 8998bd30e6a1: Pull complete 03:01:45 04944245beec: Pull complete 03:01:46 699f458cf7ca: Pull complete 03:01:47 765212b225bb: Pull complete 03:01:48 f23df028b6ca: Pull complete 03:01:48 d65c8cfc05b1: Pull complete 03:02:06 2437ff75d9bd: Pull complete 03:02:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:02:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:02:07 prd-ubuntu20.04-docker-arm64-4c-16g-64458 does not seem to be running inside a container 03:02:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:02:09 $ docker top 87142ddd3f2b6d4eccf20d21762ce47093012845766728dac184aeb0292868af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:10 ---> job-cost.sh 03:02:10 lf-activate-venv: SKIPPING 03:02:10 INFO: No Stack... 03:02:11 INFO: Retrieving Pricing Info for: v3-standard-4 03:02:11 INFO: Archiving Costs [Pipeline] sh 03:02:12 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 03:02:12 + cut -d, -f6 [Pipeline] lock 03:02:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] 03:02:12 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] did not exist. Created. 03:02:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:02:13 /w/workspace/device-onvif-camera/3@tmp/durable-bcb86940/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:02:14 + echo total: 0.10999999940395355 [Pipeline] stash 03:02:14 Warning: overwriting stash ‘stack-cost’ 03:02:14 Stashed 1 file(s) [Pipeline] } 03:02:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:02:14 $ docker stop --time=1 87142ddd3f2b6d4eccf20d21762ce47093012845766728dac184aeb0292868af 03:02:15 $ docker rm -f 87142ddd3f2b6d4eccf20d21762ce47093012845766728dac184aeb0292868af [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 03:02:16 provisioning config files... 03:02:16 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config8605218261928535285tmp [Pipeline] { [Pipeline] sh 03:02:16 + set +x 03:02:16 + curl -s https://codecov.io/bash 03:02:16 + bash -s -- 03:02:16 03:02:16 _____ _ 03:02:16 / ____| | | 03:02:16 | | ___ __| | ___ ___ _____ __ 03:02:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:02:16 | |___| (_) | (_| | __/ (_| (_) \ V / 03:02:16 \_____\___/ \__,_|\___|\___\___/ \_/ 03:02:16 Bash-1.0.6 03:02:16 03:02:16 03:02:16 ==> git version 2.25.1 found 03:02:16 ==> 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 03:02:16 Release-Date: 2020-01-08 03:02:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:02:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:02:16 ==> Jenkins CI detected. 03:02:16 current dir:  /w/workspace/dry_device-onvif-camera_issue-67 03:02:16 project root: . 03:02:16 --> token set from env 03:02:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:02:16 ==> Running gcov in . (disable via -X gcov) 03:02:16 ==> Python coveragepy not found 03:02:16 ==> Searching for coverage reports in: 03:02:16 + . 03:02:16 -> Found 1 reports 03:02:16 ==> Detecting git/mercurial file structure 03:02:16 ==> Reading reports 03:02:16 + ./coverage.out bytes=37307 03:02:16 ==> Appending adjustments 03:02:16 https://docs.codecov.io/docs/fixing-reports 03:02:17 + Found adjustments 03:02:17 ==> Gzipping contents 03:02:17 8.0K /tmp/codecov.EZd3QF.gz 03:02:17 ==> Uploading reports 03:02:17 url: https://codecov.io 03:02:17 query: branch=issue-67&commit=5518966bb045a49db7429c9a60a74b84fd8139d7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-67%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:17 -> Pinging Codecov 03:02:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=issue-67&commit=5518966bb045a49db7429c9a60a74b84fd8139d7&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-67%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:02:17 -> Uploading to 03:02:17 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/F29A59C45E3A92E06B3E522C9905F8EF/5518966bb045a49db7429c9a60a74b84fd8139d7/93cd7dbc-8b6a-42c6-beb2-7578187505ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T030217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5c013bae262723e4b2ea8044bb423b6319b6236e61f28598d4d4ced18fd483e 03:02:17 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:17 Dload Upload Total Spent Left Speed 03:02:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4592 0 0 100 4592 0 18368 --:--:-- --:--:-- --:--:-- 18368 03:02:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] } 03:02:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 03:02:18 + [ -d /w/workspace/dry_device-onvif-camera_issue-67/archives ] 03:02:18 + ls -al /w/workspace/dry_device-onvif-camera_issue-67/archives 03:02:18 total 16 03:02:18 drwxr-xr-x 3 root root 4096 May 24 02:52 . 03:02:18 drwxrwxr-x 10 jenkins jenkins 4096 May 24 02:52 .. 03:02:18 drwxr-xr-x 2 root root 4096 May 24 02:52 cost 03:02:18 -rw-r--r-- 1 root root 92 May 24 02:52 cost.csv 03:02:18 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-67/archives 03:02:18 + ls -al /w/workspace/dry_device-onvif-camera_issue-67/archives 03:02:18 total 16 03:02:18 drwxr-xr-x 3 jenkins jenkins 4096 May 24 02:52 . 03:02:18 drwxrwxr-x 10 jenkins jenkins 4096 May 24 02:52 .. 03:02:18 drwxr-xr-x 2 jenkins jenkins 4096 May 24 02:52 cost 03:02:18 -rw-r--r-- 1 jenkins jenkins 92 May 24 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:02:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:02:19 ---> package-listing.sh 03:02:19 ++ facter osfamily 03:02:19 ++ tr '[:upper:]' '[:lower:]' 03:02:19 + OS_FAMILY=debian 03:02:19 + workspace=/w/workspace/dry_device-onvif-camera_issue-67 03:02:19 + START_PACKAGES=/tmp/packages_start.txt 03:02:19 + END_PACKAGES=/tmp/packages_end.txt 03:02:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:02:19 + PACKAGES=/tmp/packages_start.txt 03:02:19 + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' 03:02:19 + PACKAGES=/tmp/packages_end.txt 03:02:19 + case "${OS_FAMILY}" in 03:02:19 + dpkg -l 03:02:19 + grep '^ii' 03:02:19 + '[' -f /tmp/packages_start.txt ']' 03:02:19 + '[' -f /tmp/packages_end.txt ']' 03:02:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:02:19 + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' 03:02:19 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-67/archives/ 03:02:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-onvif-camera_issue-67/archives/ [Pipeline] echo 03:02:19 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/dry_device-onvif-camera_issue-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:02:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:02:20 . [Pipeline] withDockerContainer 03:02:20 prd-ubuntu20.04-docker-8c-8g-64457 does not seem to be running inside a container 03:02:20 $ 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/dry_device-onvif-camera_issue-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-67 -v /w/workspace/dry_device-onvif-camera_issue-67:/w/workspace/dry_device-onvif-camera_issue-67:rw,z -v /w/workspace/dry_device-onvif-camera_issue-67@tmp:/w/workspace/dry_device-onvif-camera_issue-67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:02:21 $ docker top 1afc89cf0c7e5770e91c76b9c29774b44e73d0d568fc023a579f758f61c4c000 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:21 + touch /tmp/pre-build-complete [Pipeline] sh 03:02:21 + mkdir -p /var/log/sysstat [Pipeline] sh 03:02:22 + ls /var/log/sa-host 03:02:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:22 provisioning config files... 03:02:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config2584705039484149720tmp [Pipeline] { [Pipeline] echo 03:02:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:02:22 ---> create-netrc.sh [Pipeline] } 03:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:02:22 ---> python-tools-install.sh [Pipeline] echo 03:02:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:02:23 ---> sudo-logs.sh 03:02:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:02:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:02:23 ---> job-cost.sh 03:02:23 lf-activate-venv: SKIPPING 03:02:23 DEBUG: total: 0.2199999988079071 03:02:23 INFO: Retrieving Stack Cost... 03:02:24 INFO: Retrieving Pricing Info for: v3-standard-8 03:02:24 INFO: Archiving Costs [Pipeline] echo 03:02:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:02:25 ---> logs-deploy.sh 03:02:25 lf-activate-venv: SKIPPING 03:02:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-67/3 03:02:25 INFO: archiving workspace using pattern(s): 03:02:25 Archives upload complete. 03:02:25 INFO: archiving logs to Nexus