Pull request #70 closed 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-ssh2650267602090214282.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-ssh13948848223910975735.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-ssh14576637628214439924.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-ssh4501738254888013732.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-ssh26895684547512996.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-64491 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" > git rev-list --no-walk 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:43:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:43:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:43:58 ========================================================= 15:43:58 EdgeX Global Pipelines Version Info 15:43:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:43:58 ------------------- 15:43:58 stable info: 15:43:58 ------------------- 15:43:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:58 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:43:58 Message: update stable to v1.0.230 15:43:59 ------------------- 15:43:59 experimental info: 15:43:59 ------------------- 15:43:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:43:59 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:43:59 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-67 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-67 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-67 [Pipeline] echo 15:43:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5518966 [Pipeline] echo 15:44:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:00 provisioning config files... 15:44:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config3855205824057601697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:00 ---> docker-login.sh 15:44:00 nexus3.edgexfoundry.org:10001 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10002 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10003 15:44:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:00 Configure a credential helper to remove this warning. See 15:44:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:00 15:44:00 Login Succeeded 15:44:00 nexus3.edgexfoundry.org:10004 15:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:01 Configure a credential helper to remove this warning. See 15:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:01 15:44:01 Login Succeeded 15:44:01 docker.io 15:44:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:01 Configure a credential helper to remove this warning. See 15:44:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:01 15:44:01 Login Succeeded 15:44:01 ---> docker-login.sh ends [Pipeline] } 15:44:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:44:01 + git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 15:44:02 -----------> git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 5518966bb045a49db7429c9a60a74b84fd8139d7 [false] [Pipeline] sh 15:44:02 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 15:44:02 ========================================================= 15:44:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:44:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:02 + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo 15:44:02 [semverPrep] GIT_COMMIT: 5518966bb045a49db7429c9a60a74b84fd8139d7, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo 15:44:02 [semverPrep] This is not a build commit. [Pipeline] sh 15:44:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:03 + grep -v github /etc/ssh/ssh_known_hosts 15:44:03 + [ -e /tmp/ssh_known_hosts ] 15:44:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:44:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:44:03 + sudo tee -a /etc/ssh/ssh_known_hosts 15:44:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:03 15:44:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:44:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:03 latest: Pulling from edgex-devops/py-git-semver 15:44:03 1fe172e4850f: Pulling fs layer 15:44:03 caf521ccaac6: Pulling fs layer 15:44:03 3ead6fa29328: Pulling fs layer 15:44:03 5c2a1cbceb83: Pulling fs layer 15:44:03 a8d5f1318db7: Pulling fs layer 15:44:03 c427282e49a2: Pulling fs layer 15:44:03 1827001aaf11: Pulling fs layer 15:44:03 0714d37db230: Pulling fs layer 15:44:03 ac28cf19c067: Pulling fs layer 15:44:03 ca983d60f3e2: Pulling fs layer 15:44:03 9f894cec8388: Pulling fs layer 15:44:03 1827001aaf11: Waiting 15:44:03 5c2a1cbceb83: Waiting 15:44:03 a8d5f1318db7: Waiting 15:44:03 c427282e49a2: Waiting 15:44:03 ac28cf19c067: Waiting 15:44:03 0714d37db230: Waiting 15:44:03 ca983d60f3e2: Waiting 15:44:03 9f894cec8388: Waiting 15:44:03 caf521ccaac6: Verifying Checksum 15:44:03 caf521ccaac6: Download complete 15:44:03 5c2a1cbceb83: Download complete 15:44:04 a8d5f1318db7: Verifying Checksum 15:44:04 a8d5f1318db7: Download complete 15:44:04 c427282e49a2: Verifying Checksum 15:44:04 c427282e49a2: Download complete 15:44:04 3ead6fa29328: Verifying Checksum 15:44:04 3ead6fa29328: Download complete 15:44:04 0714d37db230: Verifying Checksum 15:44:04 0714d37db230: Download complete 15:44:04 ac28cf19c067: Verifying Checksum 15:44:04 ac28cf19c067: Download complete 15:44:04 ca983d60f3e2: Download complete 15:44:04 9f894cec8388: Verifying Checksum 15:44:04 9f894cec8388: Download complete 15:44:04 1fe172e4850f: Download complete 15:44:04 1827001aaf11: Verifying Checksum 15:44:04 1827001aaf11: Download complete 15:44:05 1fe172e4850f: Pull complete 15:44:05 caf521ccaac6: Pull complete 15:44:06 3ead6fa29328: Pull complete 15:44:06 5c2a1cbceb83: Pull complete 15:44:06 a8d5f1318db7: Pull complete 15:44:06 c427282e49a2: Pull complete 15:44:08 1827001aaf11: Pull complete 15:44:08 0714d37db230: Pull complete 15:44:08 ac28cf19c067: Pull complete 15:44:08 ca983d60f3e2: Pull complete 15:44:08 9f894cec8388: Pull complete 15:44:08 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:44:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:44:08 prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container 15:44:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:44:10 $ docker top bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 -eo pid,comm 15:44:10 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:44:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:10 [ssh-agent] Looking for ssh-agent implementation... 15:44:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:10 $ docker exec bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent 15:44:10 SSH_AUTH_SOCK=/tmp/ssh-ys2pJ3C9a7fb/agent.34 15:44:10 SSH_AGENT_PID=40 15:44:10 Running ssh-add (command line suppressed) 15:44:10 Identity added: /w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_5585483073975518754.key (/w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_5585483073975518754.key) 15:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:11 + git tag --points-at HEAD [Pipeline] } 15:44:11 $ docker exec --env ******** --env ******** bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent -k 15:44:11 unset SSH_AUTH_SOCK; 15:44:11 unset SSH_AGENT_PID; 15:44:11 echo Agent pid 40 killed; 15:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:11 [ssh-agent] Looking for ssh-agent implementation... 15:44:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:11 $ docker exec bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent 15:44:11 SSH_AUTH_SOCK=/tmp/ssh-X7KDUSbgNcRd/agent.73 15:44:11 SSH_AGENT_PID=80 15:44:11 Running ssh-add (command line suppressed) 15:44:11 Identity added: /w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_7567067062522112820.key (/w/workspace/dry_device-onvif-camera_issue-67@tmp/private_key_7567067062522112820.key) 15:44:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:11 + git semver init 15:44:12 2022-05-24 15:44:12,113 [run_init] DEBUG init version:0.0.0 force:False 15:44:12 2022-05-24 15:44:12,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-67/.semver 15:44:12 2022-05-24 15:44:12,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-67/.semver 15:44:12 2022-05-24 15:44:12,114 [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) 15:44:13 2022-05-24 15:44:13,021 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-67/.git/info/exclude 15:44:13 2022-05-24 15:44:13,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 with force:False 15:44:13 2022-05-24 15:44:13,021 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 15:44:13 2022-05-24 15:44:13,025 [execute] INFO git cat-file --batch-check 15:44:13 2022-05-24 15:44:13,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-67/.semver, universal_newlines=False, shell=None, istream=) 15:44:13 2022-05-24 15:44:13,030 [execute] INFO git cat-file --batch 15:44:13 2022-05-24 15:44:13,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-67/.semver, universal_newlines=False, shell=None, istream=) 15:44:13 2022-05-24 15:44:13,033 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 15:44:13 0.0.0 [Pipeline] } 15:44:13 $ docker exec --env ******** --env ******** bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent -k 15:44:13 unset SSH_AUTH_SOCK; 15:44:13 unset SSH_AGENT_PID; 15:44:13 echo Agent pid 80 killed; 15:44:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:13 + git semver [Pipeline] } 15:44:13 $ docker stop --time=1 bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 15:44:15 $ docker rm -f bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 [Pipeline] // withDockerContainer [Pipeline] sh 15:44:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:44:15 Stashed 1 file(s) [Pipeline] echo 15:44:15 [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 15:44:16 provisioning config files... 15:44:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config7500414300568174740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:16 ---> docker-login.sh 15:44:16 nexus3.edgexfoundry.org:10001 15:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:16 Configure a credential helper to remove this warning. See 15:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:16 15:44:16 Login Succeeded 15:44:16 nexus3.edgexfoundry.org:10002 15:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:16 Configure a credential helper to remove this warning. See 15:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:16 15:44:16 Login Succeeded 15:44:16 nexus3.edgexfoundry.org:10003 15:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:16 Configure a credential helper to remove this warning. See 15:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:16 15:44:16 Login Succeeded 15:44:16 nexus3.edgexfoundry.org:10004 15:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:16 Configure a credential helper to remove this warning. See 15:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:16 15:44:16 Login Succeeded 15:44:16 docker.io 15:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:17 Configure a credential helper to remove this warning. See 15:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:17 15:44:17 Login Succeeded 15:44:17 ---> docker-login.sh ends [Pipeline] } 15:44:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:17 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:17 ========================================================= 15:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:44:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:44:17 + 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:44:17 Sending build context to Docker daemon 8.553MB 15:44:17 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:44:17 Step 2/13 : FROM ${BASE} AS builder 15:44:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:44:17 59bf1c3509f3: Pulling fs layer 15:44:17 666ba61612fd: Pulling fs layer 15:44:17 8ed8ca486205: Pulling fs layer 15:44:17 4fe6c5a15a65: Pulling fs layer 15:44:17 22a0e8bec74d: Pulling fs layer 15:44:17 ca2b28591e48: Pulling fs layer 15:44:17 a51346096db8: Pulling fs layer 15:44:17 daebc70d1ce1: Pulling fs layer 15:44:17 0e18a0eac166: Pulling fs layer 15:44:17 4fe6c5a15a65: Waiting 15:44:17 ca2b28591e48: Waiting 15:44:17 a51346096db8: Waiting 15:44:17 0e18a0eac166: Waiting 15:44:17 daebc70d1ce1: Waiting 15:44:17 22a0e8bec74d: Waiting 15:44:17 8ed8ca486205: Verifying Checksum 15:44:17 8ed8ca486205: Download complete 15:44:17 666ba61612fd: Verifying Checksum 15:44:17 666ba61612fd: Download complete 15:44:17 22a0e8bec74d: Verifying Checksum 15:44:17 22a0e8bec74d: Download complete 15:44:17 ca2b28591e48: Verifying Checksum 15:44:17 ca2b28591e48: Download complete 15:44:17 59bf1c3509f3: Download complete 15:44:17 a51346096db8: Verifying Checksum 15:44:17 a51346096db8: Download complete 15:44:17 daebc70d1ce1: Verifying Checksum 15:44:17 daebc70d1ce1: Download complete 15:44:17 59bf1c3509f3: Pull complete 15:44:18 666ba61612fd: Pull complete 15:44:18 8ed8ca486205: Pull complete 15:44:18 0e18a0eac166: Verifying Checksum 15:44:18 0e18a0eac166: Download complete 15:44:18 4fe6c5a15a65: Verifying Checksum 15:44:18 4fe6c5a15a65: Download complete 15:44:22 4fe6c5a15a65: Pull complete 15:44:22 22a0e8bec74d: Pull complete 15:44:22 ca2b28591e48: Pull complete 15:44:22 a51346096db8: Pull complete 15:44:22 daebc70d1ce1: Pull complete 15:44:24 0e18a0eac166: Pull complete 15:44:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:44:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:44:24 ---> f018257e8ee9 15:44:24 Step 3/13 : ARG MAKE="make build" 15:44:26 ---> Running in 23408d1f53c9 15:44:26 Removing intermediate container 23408d1f53c9 15:44:26 ---> 8d01f4d668ea 15:44:26 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:44:26 ---> Running in 5ef55d025846 15:44:26 Removing intermediate container 5ef55d025846 15:44:26 ---> 34b18fca306f 15:44:26 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:44:26 ---> Running in 541caefd3fb0 15:44:26 Removing intermediate container 541caefd3fb0 15:44:26 ---> 46a9a58a3a97 15:44:26 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:44:26 ---> Running in f9079cba4853 15:44:26 Removing intermediate container f9079cba4853 15:44:26 ---> c271c7b1aa4b 15:44:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:44:26 ---> Running in 7108202c8edd 15:44:27 Removing intermediate container 7108202c8edd 15:44:27 ---> 0404b86b8824 15:44:27 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:27 ---> Running in c4e937e42f88 15:44:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:44:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:44:28 OK: 221 MiB in 52 packages 15:44:29 Removing intermediate container c4e937e42f88 15:44:29 ---> fb03efcfebb6 15:44:29 Step 9/13 : WORKDIR /device-onvif-camera 15:44:29 ---> Running in 6c841815ed5e 15:44:29 Removing intermediate container 6c841815ed5e 15:44:29 ---> 08485e5711c9 15:44:29 Step 10/13 : COPY go.mod vendor* ./ 15:44:29 ---> 64f01b7767d5 15:44:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:29 ---> Running in 88e8c8eaddea 15:44:31 Still waiting to schedule task 15:44:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64489’ is offline 15:44:44 Removing intermediate container 88e8c8eaddea 15:44:44 ---> d7836cbf33ac 15:44:44 Step 12/13 : COPY . . 15:44:44 ---> bd76e34d3087 15:44:44 Step 13/13 : RUN ${MAKE} 15:44:44 ---> Running in 5fe67e5e0fe2 15:44:44 noop 15:44:44 Removing intermediate container 5fe67e5e0fe2 15:44:44 ---> af5ef2e41a8c 15:44:44 Successfully built af5ef2e41a8c 15:44:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:44:44 + docker inspect -f . ci-base-image-x86_64 15:44:44 . [Pipeline] withDockerContainer 15:44:44 prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container 15:44:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 15:44:44 $ docker top 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:45 + go version 15:44:45 go version go1.17.6 linux/amd64 [Pipeline] } 15:44:45 $ docker stop --time=1 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af 15:44:46 $ docker rm -f 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:44:47 + docker inspect -f . ci-base-image-x86_64 15:44:47 . [Pipeline] withDockerContainer 15:44:47 prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container 15:44:47 $ 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 ******** -e ******** ci-base-image-x86_64 cat 15:44:47 $ docker top a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:44:47 + make test 15:44:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:44:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:44:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:44:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.0% of statements 15:45:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:45:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:45:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:45:08 ./bin/test-attribution-txt.sh [Pipeline] echo 15:45:09 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:45:09 $ docker stop --time=1 a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 15:45:11 $ docker rm -f a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 [Pipeline] // withDockerContainer [Pipeline] sh 15:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:45:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:45:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:45:12 + ls -al . 15:45:12 total 216 15:45:12 drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:45 . 15:45:12 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 .. 15:45:12 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:44 .git 15:45:12 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 .github 15:45:12 -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:43 .gitignore 15:45:12 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:43 .golangci.yml 15:45:12 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:44 .semver 15:45:12 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:43 Attribution.txt 15:45:12 -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:43 CHANGELOG.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:43 Dockerfile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:43 GOVERNANCE.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:43 Jenkinsfile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:43 LICENSE 15:45:12 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:43 Makefile 15:45:12 -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:43 OWNERS.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:43 README.md 15:45:12 -rw-rw-r-- 1 jenkins jenkins 5 May 24 15:44 VERSION 15:45:12 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 bin 15:45:12 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 cmd 15:45:12 -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:44 coverage.out 15:45:12 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 doc 15:45:12 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:43 go.mod 15:45:12 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:43 go.sum 15:45:12 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 internal 15:45:12 -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:43 version.go [Pipeline] isUnix [Pipeline] sh 15:45:13 + 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 . 15:45:13 Sending build context to Docker daemon 8.591MB 15:45:13 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:45:13 Step 2/26 : FROM ${BASE} AS builder 15:45:13 ---> af5ef2e41a8c 15:45:13 Step 3/26 : ARG MAKE="make build" 15:45:13 ---> Running in cc2906f218c6 15:45:13 Removing intermediate container cc2906f218c6 15:45:13 ---> 359973f05ab4 15:45:13 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:45:13 ---> Running in 9723d8da9ca8 15:45:13 Removing intermediate container 9723d8da9ca8 15:45:13 ---> 2fa26ae9dd5e 15:45:13 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:45:13 ---> Running in d9ceeccac295 15:45:13 Removing intermediate container d9ceeccac295 15:45:13 ---> 4d5b194a4c4a 15:45:13 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:45:13 ---> Running in 0b9b57c1a827 15:45:13 Removing intermediate container 0b9b57c1a827 15:45:13 ---> 908c80d65fe5 15:45:13 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:45:13 ---> Running in fdb7be531f03 15:45:14 Removing intermediate container fdb7be531f03 15:45:14 ---> d41e57cb7c5a 15:45:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:45:14 ---> Running in 48f006b21f56 15:45:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:45:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:45:21 OK: 221 MiB in 52 packages 15:45:21 Removing intermediate container 48f006b21f56 15:45:21 ---> ee48a0850b7c 15:45:21 Step 9/26 : WORKDIR /device-onvif-camera 15:45:21 ---> Running in 0d863833f0ac 15:45:21 Removing intermediate container 0d863833f0ac 15:45:21 ---> de20980cfc46 15:45:21 Step 10/26 : COPY go.mod vendor* ./ 15:45:21 ---> 9d98e6fad780 15:45:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:45:21 ---> Running in 8dc47dff059b 15:45:22 Removing intermediate container 8dc47dff059b 15:45:22 ---> fc9d5bec074e 15:45:22 Step 12/26 : COPY . . 15:45:22 ---> 3c0fe31c1119 15:45:22 Step 13/26 : RUN ${MAKE} 15:45:22 ---> Running in 5772e9d43a03 15:45:23 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 15:45:44 Removing intermediate container 5772e9d43a03 15:45:44 ---> 99b06cb34baa 15:45:44 Step 14/26 : FROM alpine:3.15 15:45:44 3.15: Pulling from library/alpine 15:45:44 df9b9388f04a: Pulling fs layer 15:45:44 df9b9388f04a: Verifying Checksum 15:45:44 df9b9388f04a: Download complete 15:45:44 df9b9388f04a: Pull complete 15:45:44 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:45:44 Status: Downloaded newer image for alpine:3.15 15:45:44 ---> 0ac33e5f5afa 15:45:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:45:44 ---> Running in 406849275a28 15:45:44 Removing intermediate container 406849275a28 15:45:44 ---> 213b4317f69d 15:45:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:45:44 ---> Running in f0285f973322 15:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:45:44 (1/6) Installing dumb-init (1.2.5-r1) 15:45:44 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:45:44 (3/6) Installing libsodium (1.0.18-r0) 15:45:44 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:45:44 (5/6) Installing libzmq (4.3.4-r0) 15:45:44 (6/6) Installing zeromq (4.3.4-r0) 15:45:44 Executing busybox-1.34.1-r5.trigger 15:45:44 OK: 8 MiB in 20 packages 15:45:44 Removing intermediate container f0285f973322 15:45:44 ---> 2d7cebaf6fd2 15:45:44 Step 17/26 : WORKDIR / 15:45:44 ---> Running in 474e6312b365 15:45:44 Removing intermediate container 474e6312b365 15:45:44 ---> e5971e800110 15:45:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:45:45 ---> 9f15f6e32ec0 15:45:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:45:45 ---> 0a9efa35b604 15:45:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:45:45 ---> a8ee116e29e9 15:45:45 Step 21/26 : EXPOSE 59984 15:45:45 ---> Running in 32174d61799f 15:45:45 Removing intermediate container 32174d61799f 15:45:45 ---> 7469a550de41 15:45:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:45:45 ---> Running in d441085234d3 15:45:45 Removing intermediate container d441085234d3 15:45:45 ---> 1cf9e68c1b05 15:45:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:45:45 ---> Running in 3fa71f7718ec 15:45:45 Removing intermediate container 3fa71f7718ec 15:45:45 ---> 5d443224da07 15:45:45 Step 24/26 : LABEL arch=amd64 15:45:45 ---> Running in dfb24cddd04a 15:45:45 Removing intermediate container dfb24cddd04a 15:45:45 ---> 78ccad735271 15:45:45 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 15:45:46 ---> Running in 2a6326c60bd0 15:45:46 Removing intermediate container 2a6326c60bd0 15:45:46 ---> ed9cfcd020f5 15:45:46 Step 26/26 : LABEL version=0.0.0 15:45:46 ---> Running in 67b91be94314 15:45:46 Removing intermediate container 67b91be94314 15:45:46 ---> b84ca2493ce5 15:45:46 [Warning] One or more build-args [ARCH] were not consumed 15:45:46 Successfully built b84ca2493ce5 15:45:46 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 15:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:46 15:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:46 latest: Pulling from edgex-lftools-log-publisher 15:45:46 5eb5b503b376: Pulling fs layer 15:45:46 5c69ac0246d0: Pulling fs layer 15:45:46 ec43610c2a17: Pulling fs layer 15:45:46 3a2ae6a8a46f: Pulling fs layer 15:45:46 33b1e0a273af: Pulling fs layer 15:45:46 5d3b04190fa2: Pulling fs layer 15:45:46 2f39f015ded8: Pulling fs layer 15:45:46 33b1e0a273af: Waiting 15:45:46 3a2ae6a8a46f: Waiting 15:45:46 5d3b04190fa2: Waiting 15:45:46 5c69ac0246d0: Download complete 15:45:46 3a2ae6a8a46f: Download complete 15:45:46 33b1e0a273af: Verifying Checksum 15:45:46 33b1e0a273af: Download complete 15:45:46 5d3b04190fa2: Verifying Checksum 15:45:46 5d3b04190fa2: Download complete 15:45:46 ec43610c2a17: Verifying Checksum 15:45:46 ec43610c2a17: Download complete 15:45:47 5eb5b503b376: Verifying Checksum 15:45:47 5eb5b503b376: Download complete 15:45:47 2f39f015ded8: Download complete 15:45:48 5eb5b503b376: Pull complete 15:45:48 5c69ac0246d0: Pull complete 15:45:48 ec43610c2a17: Pull complete 15:45:49 3a2ae6a8a46f: Pull complete 15:45:49 33b1e0a273af: Pull complete 15:45:49 5d3b04190fa2: Pull complete 15:45:53 2f39f015ded8: Pull complete 15:45:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:45:53 prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container 15:45:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:55 $ docker top 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:55 ---> job-cost.sh 15:45:55 lf-activate-venv: SKIPPING 15:45:55 INFO: No Stack... 15:45:56 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:56 INFO: Archiving Costs [Pipeline] sh 15:45:57 + cat /w/workspace/dry_device-onvif-camera_issue-67/archives/cost.csv 15:45:57 + cut -d, -f6 [Pipeline] lock 15:45:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] 15:45:57 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] did not exist. Created. 15:45:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:57 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:57 Stashed 1 file(s) [Pipeline] } 15:45:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:57 $ docker stop --time=1 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 15:45:58 $ docker rm -f 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64494 in /w/workspace/dry_device-onvif-camera_issue-67 [Pipeline] { [Pipeline] ws 15:46:57 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 15:46:57 Selected Git installation does not exist. Using Default 15:46:57 The recommended git tool is: NONE 15:47:02 using credential edgex-jenkins-ssh 15:47:02 Cloning the remote Git repository 15:47:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:47:03 Avoid second fetch 15:47:03 Checking out Revision 5518966bb045a49db7429c9a60a74b84fd8139d7 (issue-67) 15:47:02 > git init /w/workspace/device-onvif-camera/4 # timeout=10 15:47:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:47:02 > git --version # timeout=10 15:47:02 > git --version # 'git version 2.25.1' 15:47:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:47:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:47:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:47:04 > git config core.sparsecheckout # timeout=10 15:47:04 > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 15:47:08 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 15:47:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 15:47:09 Dload Upload Total Spent Left Speed 15:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 15:47:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:47:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:47:10 + sudo tee /etc/docker/daemon.new 15:47:10 { 15:47:10 "registry-mirrors": [ 15:47:10 "https://nexus3.edgexfoundry.org:10001" 15:47:10 ], 15:47:10 "bip": "10.250.0.254/24", 15:47:10 "hosts": [ 15:47:10 "tcp://0.0.0.0:5555", 15:47:10 "unix:///var/run/docker.sock" 15:47:10 ], 15:47:10 "mtu": 1458, 15:47:10 "selinux-enabled": true, 15:47:10 "seccomp-profile": "/etc/docker/seccomp.json" 15:47:10 } [Pipeline] sh 15:47:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:47:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:47:29 provisioning config files... 15:47:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config9200918073992003571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:29 ---> docker-login.sh 15:47:29 nexus3.edgexfoundry.org:10001 15:47:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:30 Configure a credential helper to remove this warning. See 15:47:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:30 15:47:30 Login Succeeded 15:47:30 nexus3.edgexfoundry.org:10002 15:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:31 Configure a credential helper to remove this warning. See 15:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:31 15:47:31 Login Succeeded 15:47:31 nexus3.edgexfoundry.org:10003 15:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:31 Configure a credential helper to remove this warning. See 15:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:31 15:47:31 Login Succeeded 15:47:31 nexus3.edgexfoundry.org:10004 15:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:32 Configure a credential helper to remove this warning. See 15:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:32 15:47:32 Login Succeeded 15:47:32 docker.io 15:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:32 Configure a credential helper to remove this warning. See 15:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:32 15:47:32 Login Succeeded 15:47:32 ---> docker-login.sh ends [Pipeline] } 15:47:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:47:33 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:47:33 ========================================================= 15:47:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:47:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:47:33 + 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:47:33 Sending build context to Docker daemon 5.82MB 15:47:33 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 15:47:33 Step 2/13 : FROM ${BASE} AS builder 15:47:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:47:34 9b3977197b4f: Pulling fs layer 15:47:34 1a89e8eeedd5: Pulling fs layer 15:47:34 94645a83ff95: Pulling fs layer 15:47:34 3f3a8bcf1eab: Pulling fs layer 15:47:34 0c92f367c5e7: Pulling fs layer 15:47:34 3096ccb668a1: Pulling fs layer 15:47:34 e8cf19c19ddd: Pulling fs layer 15:47:34 a4caa8a26152: Pulling fs layer 15:47:34 3f3a8bcf1eab: Waiting 15:47:34 0c92f367c5e7: Waiting 15:47:34 3096ccb668a1: Waiting 15:47:34 e8cf19c19ddd: Waiting 15:47:34 a4caa8a26152: Waiting 15:47:34 94645a83ff95: Download complete 15:47:34 1a89e8eeedd5: Verifying Checksum 15:47:34 1a89e8eeedd5: Download complete 15:47:34 0c92f367c5e7: Verifying Checksum 15:47:34 0c92f367c5e7: Download complete 15:47:34 9b3977197b4f: Download complete 15:47:34 3096ccb668a1: Verifying Checksum 15:47:34 3096ccb668a1: Download complete 15:47:34 e8cf19c19ddd: Verifying Checksum 15:47:34 e8cf19c19ddd: Download complete 15:47:35 9b3977197b4f: Pull complete 15:47:35 1a89e8eeedd5: Pull complete 15:47:35 94645a83ff95: Pull complete 15:47:36 a4caa8a26152: Verifying Checksum 15:47:36 a4caa8a26152: Download complete 15:47:37 3f3a8bcf1eab: Verifying Checksum 15:47:37 3f3a8bcf1eab: Download complete 15:47:49 3f3a8bcf1eab: Pull complete 15:47:49 0c92f367c5e7: Pull complete 15:47:49 3096ccb668a1: Pull complete 15:47:49 e8cf19c19ddd: Pull complete 15:47:56 a4caa8a26152: Pull complete 15:47:56 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:47:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:47:56 ---> 725f1c02e7f9 15:47:56 Step 3/13 : ARG MAKE="make build" 15:47:56 ---> Running in 8c743ca1788d 15:47:56 Removing intermediate container 8c743ca1788d 15:47:56 ---> da9121e50c94 15:47:56 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:47:57 ---> Running in 319c652614aa 15:47:57 Removing intermediate container 319c652614aa 15:47:57 ---> 9c761f12a5de 15:47:57 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 15:47:57 ---> Running in df00558e53da 15:47:57 Removing intermediate container df00558e53da 15:47:57 ---> 0592b97939a7 15:47:57 Step 6/13 : LABEL Name=edgex-device-onvif-camera 15:47:57 ---> Running in 8df0f5d9060a 15:47:58 Removing intermediate container 8df0f5d9060a 15:47:58 ---> b4956de9bbbe 15:47:58 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:47:58 ---> Running in 745ab4f656b2 15:48:00 Removing intermediate container 745ab4f656b2 15:48:00 ---> 4aa9ffd0ee68 15:48:00 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:00 ---> Running in e62e69a8e4b5 15:48:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:48:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:48:03 OK: 220 MiB in 52 packages 15:48:03 Removing intermediate container e62e69a8e4b5 15:48:03 ---> 9f1a210b3afb 15:48:03 Step 9/13 : WORKDIR /device-onvif-camera 15:48:03 ---> Running in 01a62d322b9b 15:48:04 Removing intermediate container 01a62d322b9b 15:48:04 ---> 2ee109d9ba26 15:48:04 Step 10/13 : COPY go.mod vendor* ./ 15:48:04 ---> 3e373ec30383 15:48:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:04 ---> Running in 935f6be8cd9a 15:49:01 Removing intermediate container 935f6be8cd9a 15:49:01 ---> a67582c8179b 15:49:01 Step 12/13 : COPY . . 15:49:01 ---> 46154a7b072c 15:49:01 Step 13/13 : RUN ${MAKE} 15:49:01 ---> Running in 2e7c42f4024f 15:49:01 noop 15:49:01 Removing intermediate container 2e7c42f4024f 15:49:01 ---> 76c410365a79 15:49:01 Successfully built 76c410365a79 15:49:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:49:02 + docker inspect -f . ci-base-image-arm64 15:49:02 . [Pipeline] withDockerContainer 15:49:02 prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container 15:49:02 $ 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 ******** ci-base-image-arm64 cat 15:49:04 $ docker top 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:04 + go version 15:49:04 go version go1.17.6 linux/arm64 [Pipeline] } 15:49:04 $ docker stop --time=1 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 15:49:06 $ docker rm -f 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:49:07 + docker inspect -f . ci-base-image-arm64 15:49:07 . [Pipeline] withDockerContainer 15:49:07 prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container 15:49:07 $ 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 ******** ci-base-image-arm64 cat 15:49:08 $ docker top 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:49:09 + make test 15:49:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:49:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:50:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:50:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.0% of statements 15:50:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:50:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:51:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:15 ./bin/test-attribution-txt.sh [Pipeline] echo 15:51:15 [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:15 $ docker stop --time=1 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb 15:51:17 $ docker rm -f 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb [Pipeline] // withDockerContainer [Pipeline] sh 15:51:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:18 Warning: overwriting stash ‘coverage-report’ 15:51:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:20 + ls -al . 15:51:20 total 212 15:51:20 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:51 . 15:51:20 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:47 .. 15:51:20 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:47 .git 15:51:20 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 .github 15:51:20 -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:47 .gitignore 15:51:20 -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:47 .golangci.yml 15:51:20 -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:47 Attribution.txt 15:51:20 -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:47 CHANGELOG.md 15:51:20 -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:47 Dockerfile 15:51:20 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:47 GOVERNANCE.md 15:51:20 -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:47 Jenkinsfile 15:51:20 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:47 LICENSE 15:51:20 -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:47 Makefile 15:51:20 -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:47 OWNERS.md 15:51:20 -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:47 README.md 15:51:20 -rw-rw-r-- 1 jenkins jenkins 5 May 24 15:44 VERSION 15:51:20 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 bin 15:51:20 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 cmd 15:51:20 -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:50 coverage.out 15:51:20 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:47 doc 15:51:20 -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:47 go.mod 15:51:20 -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:47 go.sum 15:51:20 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 internal 15:51:20 -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:47 version.go [Pipeline] isUnix [Pipeline] sh 15:51:20 + 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 . 15:51:20 Sending build context to Docker daemon 5.858MB 15:51:21 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 15:51:21 Step 2/26 : FROM ${BASE} AS builder 15:51:21 ---> 76c410365a79 15:51:21 Step 3/26 : ARG MAKE="make build" 15:51:21 ---> Running in 40c884e16008 15:51:21 Removing intermediate container 40c884e16008 15:51:21 ---> dde873b1356a 15:51:21 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:51:21 ---> Running in 92805f852d76 15:51:21 Removing intermediate container 92805f852d76 15:51:21 ---> 0b73eddb1457 15:51:21 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 15:51:21 ---> Running in b5a986126f16 15:51:22 Removing intermediate container b5a986126f16 15:51:22 ---> 234afaaa23ea 15:51:22 Step 6/26 : LABEL Name=edgex-device-onvif-camera 15:51:22 ---> Running in 7f1d4bbaf293 15:51:22 Removing intermediate container 7f1d4bbaf293 15:51:22 ---> 791be53233ff 15:51:22 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:22 ---> Running in ab3a2292c7c3 15:51:24 Removing intermediate container ab3a2292c7c3 15:51:24 ---> e50ac9254de4 15:51:24 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:51:24 ---> Running in 491f204a14e1 15:51:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:51:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:51:27 OK: 220 MiB in 52 packages 15:51:28 Removing intermediate container 491f204a14e1 15:51:28 ---> 3a3b2df3009e 15:51:28 Step 9/26 : WORKDIR /device-onvif-camera 15:51:28 ---> Running in 8593f1587bec 15:51:28 Removing intermediate container 8593f1587bec 15:51:28 ---> d6774f6e021e 15:51:28 Step 10/26 : COPY go.mod vendor* ./ 15:51:29 ---> 964c885d153d 15:51:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:51:29 ---> Running in ff7ccd6c27be 15:51:31 Removing intermediate container ff7ccd6c27be 15:51:31 ---> c23bc8783b92 15:51:31 Step 12/26 : COPY . . 15:51:32 ---> ca691418c839 15:51:32 Step 13/26 : RUN ${MAKE} 15:51:32 ---> Running in b9163d374eab 15:51:33 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 15:53:55 Removing intermediate container b9163d374eab 15:53:55 ---> b46e051dcd2e 15:53:55 Step 14/26 : FROM alpine:3.15 15:53:55 3.15: Pulling from library/alpine 15:53:55 9981e73032c8: Pulling fs layer 15:53:55 9981e73032c8: Verifying Checksum 15:53:55 9981e73032c8: Download complete 15:53:55 9981e73032c8: Pull complete 15:53:55 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:53:55 Status: Downloaded newer image for alpine:3.15 15:53:55 ---> 3fb3c9af89a9 15:53:55 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:53:55 ---> Running in 9af9fade106e 15:53:55 Removing intermediate container 9af9fade106e 15:53:55 ---> 9c462c14cca3 15:53:55 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:53:55 ---> Running in 096c164d68ac 15:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:53:55 (1/6) Installing dumb-init (1.2.5-r1) 15:53:55 (2/6) Installing libgcc (10.3.1_git20211027-r0) 15:53:55 (3/6) Installing libsodium (1.0.18-r0) 15:53:55 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 15:53:55 (5/6) Installing libzmq (4.3.4-r0) 15:53:55 (6/6) Installing zeromq (4.3.4-r0) 15:53:55 Executing busybox-1.34.1-r5.trigger 15:53:55 OK: 8 MiB in 20 packages 15:53:55 Removing intermediate container 096c164d68ac 15:53:55 ---> 69218a57b3c8 15:53:55 Step 17/26 : WORKDIR / 15:53:55 ---> Running in c43540a271fb 15:53:55 Removing intermediate container c43540a271fb 15:53:55 ---> 90a5b0abc8b3 15:53:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:53:56 ---> 61c4c42bb8e0 15:53:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:53:56 ---> 2d27a2fced9e 15:53:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:53:57 ---> ba4bb681d46c 15:53:57 Step 21/26 : EXPOSE 59984 15:53:57 ---> Running in 77ecff1e944f 15:53:57 Removing intermediate container 77ecff1e944f 15:53:57 ---> c1e8ae182230 15:53:57 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:53:57 ---> Running in 5ddb05d7a4ea 15:53:57 Removing intermediate container 5ddb05d7a4ea 15:53:57 ---> f18341e6d5cd 15:53:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:53:58 ---> Running in 6e5de0866f63 15:53:58 Removing intermediate container 6e5de0866f63 15:53:58 ---> e69603056639 15:53:58 Step 24/26 : LABEL arch=arm64 15:53:58 ---> Running in 236f560980c0 15:53:58 Removing intermediate container 236f560980c0 15:53:58 ---> 15ac48b01a0f 15:53:58 Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 15:53:58 ---> Running in 134ffe3b1ae3 15:53:59 Removing intermediate container 134ffe3b1ae3 15:53:59 ---> f4be9e032a17 15:53:59 Step 26/26 : LABEL version=0.0.0 15:53:59 ---> Running in c4a908709fb7 15:53:59 Removing intermediate container c4a908709fb7 15:53:59 ---> 244ee7cbc6ef 15:53:59 [Warning] One or more build-args [ARCH] were not consumed 15:53:59 Successfully built 244ee7cbc6ef 15:53:59 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 15:54:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:00 15:54:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:54:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:00 arm64: Pulling from edgex-lftools-log-publisher 15:54:00 8998bd30e6a1: Pulling fs layer 15:54:00 04944245beec: Pulling fs layer 15:54:00 699f458cf7ca: Pulling fs layer 15:54:00 765212b225bb: Pulling fs layer 15:54:00 f23df028b6ca: Pulling fs layer 15:54:00 d65c8cfc05b1: Pulling fs layer 15:54:00 2437ff75d9bd: Pulling fs layer 15:54:00 765212b225bb: Waiting 15:54:00 f23df028b6ca: Waiting 15:54:00 d65c8cfc05b1: Waiting 15:54:00 2437ff75d9bd: Waiting 15:54:00 04944245beec: Verifying Checksum 15:54:00 04944245beec: Download complete 15:54:00 765212b225bb: Download complete 15:54:00 f23df028b6ca: Verifying Checksum 15:54:00 f23df028b6ca: Download complete 15:54:00 d65c8cfc05b1: Verifying Checksum 15:54:00 d65c8cfc05b1: Download complete 15:54:00 699f458cf7ca: Verifying Checksum 15:54:00 699f458cf7ca: Download complete 15:54:01 8998bd30e6a1: Verifying Checksum 15:54:01 8998bd30e6a1: Download complete 15:54:03 2437ff75d9bd: Verifying Checksum 15:54:03 2437ff75d9bd: Download complete 15:54:05 8998bd30e6a1: Pull complete 15:54:06 04944245beec: Pull complete 15:54:07 699f458cf7ca: Pull complete 15:54:07 765212b225bb: Pull complete 15:54:08 f23df028b6ca: Pull complete 15:54:08 d65c8cfc05b1: Pull complete 15:54:23 2437ff75d9bd: Pull complete 15:54:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:54:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:54:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:54:24 prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container 15:54:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:54:26 $ docker top 7fe80b772ade2a2ad6f7a1fdb10258da751abe6174f677f5132e94291895dd61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:27 ---> job-cost.sh 15:54:27 lf-activate-venv: SKIPPING 15:54:27 INFO: No Stack... 15:54:28 INFO: Retrieving Pricing Info for: v3-standard-4 15:54:29 INFO: Archiving Costs [Pipeline] sh 15:54:30 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 15:54:30 + cut -d, -f6 [Pipeline] lock 15:54:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] 15:54:30 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] did not exist. Created. 15:54:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:31 /w/workspace/device-onvif-camera/4@tmp/durable-6daeb120/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:54:31 + echo total: 0.10999999940395355 [Pipeline] stash 15:54:31 Warning: overwriting stash ‘stack-cost’ 15:54:31 Stashed 1 file(s) [Pipeline] } 15:54:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:31 $ docker stop --time=1 7fe80b772ade2a2ad6f7a1fdb10258da751abe6174f677f5132e94291895dd61 15:54:33 $ docker rm -f 7fe80b772ade2a2ad6f7a1fdb10258da751abe6174f677f5132e94291895dd61 [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:54:33 provisioning config files... 15:54:33 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config8297072495543402807tmp [Pipeline] { [Pipeline] sh 15:54:34 + set +x 15:54:34 + curl -s https://codecov.io/bash 15:54:34 + bash -s -- 15:54:34 15:54:34 _____ _ 15:54:34 / ____| | | 15:54:34 | | ___ __| | ___ ___ _____ __ 15:54:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:54:34 | |___| (_) | (_| | __/ (_| (_) \ V / 15:54:34 \_____\___/ \__,_|\___|\___\___/ \_/ 15:54:34 Bash-1.0.6 15:54:34 15:54:34 15:54:34 ==> git version 2.25.1 found 15:54:34 ==> 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:54:34 Release-Date: 2020-01-08 15:54:34 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:54:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:54:34 ==> Jenkins CI detected. 15:54:34 current dir:  /w/workspace/dry_device-onvif-camera_issue-67 15:54:34 project root: . 15:54:34 --> token set from env 15:54:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:54:34 ==> Running gcov in . (disable via -X gcov) 15:54:34 ==> Python coveragepy not found 15:54:34 ==> Searching for coverage reports in: 15:54:34 + . 15:54:34 -> Found 1 reports 15:54:34 ==> Detecting git/mercurial file structure 15:54:34 ==> Reading reports 15:54:34 + ./coverage.out bytes=37307 15:54:34 ==> Appending adjustments 15:54:34 https://docs.codecov.io/docs/fixing-reports 15:54:34 + Found adjustments 15:54:34 ==> Gzipping contents 15:54:34 8.0K /tmp/codecov.1UQ2ZG.gz 15:54:34 ==> Uploading reports 15:54:34 url: https://codecov.io 15:54:34 query: branch=issue-67&commit=5518966bb045a49db7429c9a60a74b84fd8139d7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-67%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:54:34 -> Pinging Codecov 15:54:34 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=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fissue-67%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:54:34 -> Uploading to 15:54:34 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/F29A59C45E3A92E06B3E522C9905F8EF/5518966bb045a49db7429c9a60a74b84fd8139d7/322c302e-e2a2-47c3-a7fa-9e4e04d430dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T155434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=469afdd76cedabe97239fcc583997603001c4e6e66e9eea4e1123c32195131ec 15:54:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:54:34 Dload Upload Total Spent Left Speed 15:54:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4601 0 0 100 4601 0 19831 --:--:-- --:--:-- --:--:-- 19831 15:54:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] } 15:54:34 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 15:54:35 + [ -d /w/workspace/dry_device-onvif-camera_issue-67/archives ] 15:54:35 + ls -al /w/workspace/dry_device-onvif-camera_issue-67/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:45 .. 15:54:35 drwxr-xr-x 2 root root 4096 May 24 15:45 cost 15:54:35 -rw-r--r-- 1 root root 92 May 24 15:45 cost.csv 15:54:35 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-67/archives 15:54:35 + ls -al /w/workspace/dry_device-onvif-camera_issue-67/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:45 .. 15:54:35 drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:45 cost 15:54:35 -rw-r--r-- 1 jenkins jenkins 92 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:37 + OS_FAMILY=debian 15:54:37 + workspace=/w/workspace/dry_device-onvif-camera_issue-67 15:54:37 + START_PACKAGES=/tmp/packages_start.txt 15:54:37 + END_PACKAGES=/tmp/packages_end.txt 15:54:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:54:37 + PACKAGES=/tmp/packages_start.txt 15:54:37 + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' 15:54:37 + PACKAGES=/tmp/packages_end.txt 15:54:37 + case "${OS_FAMILY}" in 15:54:37 + dpkg -l 15:54:37 + grep '^ii' 15:54:37 + '[' -f /tmp/packages_start.txt ']' 15:54:37 + '[' -f /tmp/packages_end.txt ']' 15:54:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:54:37 + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' 15:54:37 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-67/archives/ 15:54:37 + 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 15:54:37 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 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-64491 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/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:38 $ docker top 90f5e169f061e9d7dfd1cf297fc5f24079faa93f6876288943239950368677bd -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/dry_device-onvif-camera_issue-67@tmp/config6824522299397819028tmp [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/issue-67/4 15:54:41 INFO: archiving workspace using pattern(s): 15:54:42 Archives upload complete. 15:54:42 INFO: archiving logs to Nexus