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 [2022-05-24T15:43:58.039Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-24T15:43:58.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-24T15:43:58.120Z] ========================================================= [2022-05-24T15:43:58.121Z] EdgeX Global Pipelines Version Info [2022-05-24T15:43:58.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:43:58.888Z] ------------------- [2022-05-24T15:43:58.888Z] stable info: [2022-05-24T15:43:58.888Z] ------------------- [2022-05-24T15:43:58.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T15:43:58.888Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T15:43:58.888Z] Message: update stable to v1.0.230 [2022-05-24T15:43:59.461Z] ------------------- [2022-05-24T15:43:59.461Z] experimental info: [2022-05-24T15:43:59.461Z] ------------------- [2022-05-24T15:43:59.461Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T15:43:59.461Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T15:43:59.461Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-24T15:43:59.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-05-24T15:43:59.611Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-05-24T15:43:59.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-24T15:43:59.637Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-24T15:43:59.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-24T15:43:59.661Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-24T15:43:59.673Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-24T15:43:59.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-24T15:43:59.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-24T15:43:59.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-24T15:43:59.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-24T15:43:59.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-05-24T15:43:59.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-24T15:43:59.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-24T15:43:59.778Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T15:43:59.790Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T15:43:59.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T15:43:59.820Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T15:43:59.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-24T15:43:59.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-24T15:43:59.871Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-24T15:43:59.887Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-24T15:43:59.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-24T15:43:59.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-24T15:43:59.924Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-24T15:43:59.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-24T15:43:59.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-67 [Pipeline] echo [2022-05-24T15:43:59.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-67 [Pipeline] echo [2022-05-24T15:43:59.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-67 [Pipeline] echo [2022-05-24T15:43:59.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo [2022-05-24T15:44:00.017Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5518966 [Pipeline] echo [2022-05-24T15:44:00.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:44:00.089Z] provisioning config files... [2022-05-24T15:44:00.108Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config3855205824057601697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:44:00.436Z] ---> docker-login.sh [2022-05-24T15:44:00.436Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:44:00.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:00.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:00.698Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:00.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:00.698Z] [2022-05-24T15:44:00.698Z] Login Succeeded [2022-05-24T15:44:00.698Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:44:00.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:00.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:00.968Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:00.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:00.968Z] [2022-05-24T15:44:00.968Z] Login Succeeded [2022-05-24T15:44:00.968Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:44:00.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:00.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:00.968Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:00.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:00.968Z] [2022-05-24T15:44:00.968Z] Login Succeeded [2022-05-24T15:44:00.968Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:44:01.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:01.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:01.233Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:01.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:01.233Z] [2022-05-24T15:44:01.233Z] Login Succeeded [2022-05-24T15:44:01.233Z] docker.io [2022-05-24T15:44:01.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:01.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:01.496Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:01.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:01.496Z] [2022-05-24T15:44:01.496Z] Login Succeeded [2022-05-24T15:44:01.496Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:44:01.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-24T15:44:01.899Z] + git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo [2022-05-24T15:44:02.036Z] -----------> git rev-list -1 --merges 5518966bb045a49db7429c9a60a74b84fd8139d7~1..5518966bb045a49db7429c9a60a74b84fd8139d7 5518966bb045a49db7429c9a60a74b84fd8139d7 [false] [Pipeline] sh [2022-05-24T15:44:02.334Z] + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo [2022-05-24T15:44:02.351Z] ========================================================= [2022-05-24T15:44:02.351Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-24T15:44:02.351Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T15:44:02.697Z] + git log --format=format:%s -1 5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] echo [2022-05-24T15:44:02.712Z] [semverPrep] GIT_COMMIT: 5518966bb045a49db7429c9a60a74b84fd8139d7, Commit Message: fix: Update Makefile to show the version number [Pipeline] echo [2022-05-24T15:44:02.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-24T15:44:03.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T15:44:03.105Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-24T15:44:03.105Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-24T15:44:03.105Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-24T15:44:03.105Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-24T15:44:03.105Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-24T15:44:03.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:44:03.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:44:03.447Z] [2022-05-24T15:44:03.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:44:03.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:44:03.753Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-24T15:44:03.753Z] 1fe172e4850f: Pulling fs layer [2022-05-24T15:44:03.753Z] caf521ccaac6: Pulling fs layer [2022-05-24T15:44:03.753Z] 3ead6fa29328: Pulling fs layer [2022-05-24T15:44:03.753Z] 5c2a1cbceb83: Pulling fs layer [2022-05-24T15:44:03.753Z] a8d5f1318db7: Pulling fs layer [2022-05-24T15:44:03.753Z] c427282e49a2: Pulling fs layer [2022-05-24T15:44:03.753Z] 1827001aaf11: Pulling fs layer [2022-05-24T15:44:03.753Z] 0714d37db230: Pulling fs layer [2022-05-24T15:44:03.753Z] ac28cf19c067: Pulling fs layer [2022-05-24T15:44:03.753Z] ca983d60f3e2: Pulling fs layer [2022-05-24T15:44:03.753Z] 9f894cec8388: Pulling fs layer [2022-05-24T15:44:03.753Z] 1827001aaf11: Waiting [2022-05-24T15:44:03.753Z] 5c2a1cbceb83: Waiting [2022-05-24T15:44:03.753Z] a8d5f1318db7: Waiting [2022-05-24T15:44:03.753Z] c427282e49a2: Waiting [2022-05-24T15:44:03.753Z] ac28cf19c067: Waiting [2022-05-24T15:44:03.753Z] 0714d37db230: Waiting [2022-05-24T15:44:03.753Z] ca983d60f3e2: Waiting [2022-05-24T15:44:03.753Z] 9f894cec8388: Waiting [2022-05-24T15:44:03.753Z] caf521ccaac6: Verifying Checksum [2022-05-24T15:44:03.753Z] caf521ccaac6: Download complete [2022-05-24T15:44:03.753Z] 5c2a1cbceb83: Download complete [2022-05-24T15:44:04.014Z] a8d5f1318db7: Verifying Checksum [2022-05-24T15:44:04.014Z] a8d5f1318db7: Download complete [2022-05-24T15:44:04.014Z] c427282e49a2: Verifying Checksum [2022-05-24T15:44:04.014Z] c427282e49a2: Download complete [2022-05-24T15:44:04.014Z] 3ead6fa29328: Verifying Checksum [2022-05-24T15:44:04.014Z] 3ead6fa29328: Download complete [2022-05-24T15:44:04.014Z] 0714d37db230: Verifying Checksum [2022-05-24T15:44:04.014Z] 0714d37db230: Download complete [2022-05-24T15:44:04.014Z] ac28cf19c067: Verifying Checksum [2022-05-24T15:44:04.014Z] ac28cf19c067: Download complete [2022-05-24T15:44:04.014Z] ca983d60f3e2: Download complete [2022-05-24T15:44:04.014Z] 9f894cec8388: Verifying Checksum [2022-05-24T15:44:04.014Z] 9f894cec8388: Download complete [2022-05-24T15:44:04.014Z] 1fe172e4850f: Download complete [2022-05-24T15:44:04.277Z] 1827001aaf11: Verifying Checksum [2022-05-24T15:44:04.277Z] 1827001aaf11: Download complete [2022-05-24T15:44:05.215Z] 1fe172e4850f: Pull complete [2022-05-24T15:44:05.475Z] caf521ccaac6: Pull complete [2022-05-24T15:44:06.046Z] 3ead6fa29328: Pull complete [2022-05-24T15:44:06.046Z] 5c2a1cbceb83: Pull complete [2022-05-24T15:44:06.307Z] a8d5f1318db7: Pull complete [2022-05-24T15:44:06.307Z] c427282e49a2: Pull complete [2022-05-24T15:44:08.217Z] 1827001aaf11: Pull complete [2022-05-24T15:44:08.217Z] 0714d37db230: Pull complete [2022-05-24T15:44:08.217Z] ac28cf19c067: Pull complete [2022-05-24T15:44:08.479Z] ca983d60f3e2: Pull complete [2022-05-24T15:44:08.479Z] 9f894cec8388: Pull complete [2022-05-24T15:44:08.479Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-24T15:44:08.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:44:08.479Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-24T15:44:08.556Z] prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container [2022-05-24T15:44:08.600Z] $ 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 [2022-05-24T15:44:10.282Z] $ docker top bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 -eo pid,comm [2022-05-24T15:44:10.339Z] 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). [2022-05-24T15:44:10.340Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T15:44:10.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:44:10.374Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:44:10.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:44:10.519Z] $ docker exec bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent [2022-05-24T15:44:10.640Z] SSH_AUTH_SOCK=/tmp/ssh-ys2pJ3C9a7fb/agent.34 [2022-05-24T15:44:10.640Z] SSH_AGENT_PID=40 [2022-05-24T15:44:10.646Z] Running ssh-add (command line suppressed) [2022-05-24T15:44:10.762Z] 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) [2022-05-24T15:44:10.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:44:11.064Z] + git tag --points-at HEAD [Pipeline] } [2022-05-24T15:44:11.083Z] $ docker exec --env ******** --env ******** bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent -k [2022-05-24T15:44:11.187Z] unset SSH_AUTH_SOCK; [2022-05-24T15:44:11.188Z] unset SSH_AGENT_PID; [2022-05-24T15:44:11.188Z] echo Agent pid 40 killed; [2022-05-24T15:44:11.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-24T15:44:11.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:44:11.216Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:44:11.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:44:11.348Z] $ docker exec bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent [2022-05-24T15:44:11.474Z] SSH_AUTH_SOCK=/tmp/ssh-X7KDUSbgNcRd/agent.73 [2022-05-24T15:44:11.474Z] SSH_AGENT_PID=80 [2022-05-24T15:44:11.479Z] Running ssh-add (command line suppressed) [2022-05-24T15:44:11.597Z] 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) [2022-05-24T15:44:11.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:44:11.899Z] + git semver init [2022-05-24T15:44:12.160Z] 2022-05-24 15:44:12,113 [run_init] DEBUG init version:0.0.0 force:False [2022-05-24T15:44:12.160Z] 2022-05-24 15:44:12,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-67/.semver [2022-05-24T15:44:12.160Z] 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 [2022-05-24T15:44:12.160Z] 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) [2022-05-24T15:44:13.109Z] 2022-05-24 15:44:13,021 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-67/.git/info/exclude [2022-05-24T15:44:13.109Z] 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 [2022-05-24T15:44:13.109Z] 2022-05-24 15:44:13,021 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 [2022-05-24T15:44:13.109Z] 2022-05-24 15:44:13,025 [execute] INFO git cat-file --batch-check [2022-05-24T15:44:13.109Z] 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=) [2022-05-24T15:44:13.109Z] 2022-05-24 15:44:13,030 [execute] INFO git cat-file --batch [2022-05-24T15:44:13.109Z] 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=) [2022-05-24T15:44:13.109Z] 2022-05-24 15:44:13,033 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-67/.semver/issue-67 [2022-05-24T15:44:13.109Z] 0.0.0 [Pipeline] } [2022-05-24T15:44:13.125Z] $ docker exec --env ******** --env ******** bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 ssh-agent -k [2022-05-24T15:44:13.224Z] unset SSH_AUTH_SOCK; [2022-05-24T15:44:13.225Z] unset SSH_AGENT_PID; [2022-05-24T15:44:13.225Z] echo Agent pid 80 killed; [2022-05-24T15:44:13.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T15:44:13.545Z] + git semver [Pipeline] } [2022-05-24T15:44:13.828Z] $ docker stop --time=1 bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 [2022-05-24T15:44:15.310Z] $ docker rm -f bae0bed7d5d16a2a1b1d7465ccee152bdd7723d3428a82b8d130dc6c92616d06 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:44:15.671Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-24T15:44:15.980Z] Stashed 1 file(s) [Pipeline] echo [2022-05-24T15:44:15.984Z] [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 [2022-05-24T15:44:16.146Z] provisioning config files... [2022-05-24T15:44:16.155Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config7500414300568174740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:44:16.460Z] ---> docker-login.sh [2022-05-24T15:44:16.460Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:44:16.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:16.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:16.460Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:16.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:16.460Z] [2022-05-24T15:44:16.460Z] Login Succeeded [2022-05-24T15:44:16.460Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:44:16.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:16.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:16.720Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:16.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:16.720Z] [2022-05-24T15:44:16.720Z] Login Succeeded [2022-05-24T15:44:16.720Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:44:16.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:16.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:16.720Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:16.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:16.720Z] [2022-05-24T15:44:16.720Z] Login Succeeded [2022-05-24T15:44:16.720Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:44:16.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:16.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:16.720Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:16.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:16.720Z] [2022-05-24T15:44:16.720Z] Login Succeeded [2022-05-24T15:44:16.980Z] docker.io [2022-05-24T15:44:16.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:44:17.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:44:17.240Z] Configure a credential helper to remove this warning. See [2022-05-24T15:44:17.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:44:17.240Z] [2022-05-24T15:44:17.240Z] Login Succeeded [2022-05-24T15:44:17.240Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:44:17.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T15:44:17.312Z] [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:44:17.322Z] ========================================================= [2022-05-24T15:44:17.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-24T15:44:17.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:44:17.635Z] + 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 . [2022-05-24T15:44:17.635Z] Sending build context to Docker daemon 8.553MB [2022-05-24T15:44:17.635Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:44:17.635Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-24T15:44:17.635Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-24T15:44:17.635Z] 59bf1c3509f3: Pulling fs layer [2022-05-24T15:44:17.635Z] 666ba61612fd: Pulling fs layer [2022-05-24T15:44:17.635Z] 8ed8ca486205: Pulling fs layer [2022-05-24T15:44:17.635Z] 4fe6c5a15a65: Pulling fs layer [2022-05-24T15:44:17.635Z] 22a0e8bec74d: Pulling fs layer [2022-05-24T15:44:17.635Z] ca2b28591e48: Pulling fs layer [2022-05-24T15:44:17.635Z] a51346096db8: Pulling fs layer [2022-05-24T15:44:17.635Z] daebc70d1ce1: Pulling fs layer [2022-05-24T15:44:17.635Z] 0e18a0eac166: Pulling fs layer [2022-05-24T15:44:17.635Z] 4fe6c5a15a65: Waiting [2022-05-24T15:44:17.635Z] ca2b28591e48: Waiting [2022-05-24T15:44:17.635Z] a51346096db8: Waiting [2022-05-24T15:44:17.635Z] 0e18a0eac166: Waiting [2022-05-24T15:44:17.635Z] daebc70d1ce1: Waiting [2022-05-24T15:44:17.635Z] 22a0e8bec74d: Waiting [2022-05-24T15:44:17.635Z] 8ed8ca486205: Verifying Checksum [2022-05-24T15:44:17.635Z] 8ed8ca486205: Download complete [2022-05-24T15:44:17.896Z] 666ba61612fd: Verifying Checksum [2022-05-24T15:44:17.896Z] 666ba61612fd: Download complete [2022-05-24T15:44:17.896Z] 22a0e8bec74d: Verifying Checksum [2022-05-24T15:44:17.896Z] 22a0e8bec74d: Download complete [2022-05-24T15:44:17.896Z] ca2b28591e48: Verifying Checksum [2022-05-24T15:44:17.896Z] ca2b28591e48: Download complete [2022-05-24T15:44:17.896Z] 59bf1c3509f3: Download complete [2022-05-24T15:44:17.896Z] a51346096db8: Verifying Checksum [2022-05-24T15:44:17.896Z] a51346096db8: Download complete [2022-05-24T15:44:17.896Z] daebc70d1ce1: Verifying Checksum [2022-05-24T15:44:17.896Z] daebc70d1ce1: Download complete [2022-05-24T15:44:17.896Z] 59bf1c3509f3: Pull complete [2022-05-24T15:44:18.157Z] 666ba61612fd: Pull complete [2022-05-24T15:44:18.157Z] 8ed8ca486205: Pull complete [2022-05-24T15:44:18.417Z] 0e18a0eac166: Verifying Checksum [2022-05-24T15:44:18.417Z] 0e18a0eac166: Download complete [2022-05-24T15:44:18.417Z] 4fe6c5a15a65: Verifying Checksum [2022-05-24T15:44:18.417Z] 4fe6c5a15a65: Download complete [2022-05-24T15:44:22.616Z] 4fe6c5a15a65: Pull complete [2022-05-24T15:44:22.616Z] 22a0e8bec74d: Pull complete [2022-05-24T15:44:22.616Z] ca2b28591e48: Pull complete [2022-05-24T15:44:22.616Z] a51346096db8: Pull complete [2022-05-24T15:44:22.616Z] daebc70d1ce1: Pull complete [2022-05-24T15:44:24.528Z] 0e18a0eac166: Pull complete [2022-05-24T15:44:24.528Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-24T15:44:24.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-24T15:44:24.528Z] ---> f018257e8ee9 [2022-05-24T15:44:24.528Z] Step 3/13 : ARG MAKE="make build" [2022-05-24T15:44:26.444Z] ---> Running in 23408d1f53c9 [2022-05-24T15:44:26.444Z] Removing intermediate container 23408d1f53c9 [2022-05-24T15:44:26.444Z] ---> 8d01f4d668ea [2022-05-24T15:44:26.444Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:44:26.444Z] ---> Running in 5ef55d025846 [2022-05-24T15:44:26.444Z] Removing intermediate container 5ef55d025846 [2022-05-24T15:44:26.444Z] ---> 34b18fca306f [2022-05-24T15:44:26.444Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:44:26.444Z] ---> Running in 541caefd3fb0 [2022-05-24T15:44:26.444Z] Removing intermediate container 541caefd3fb0 [2022-05-24T15:44:26.444Z] ---> 46a9a58a3a97 [2022-05-24T15:44:26.444Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-24T15:44:26.444Z] ---> Running in f9079cba4853 [2022-05-24T15:44:26.704Z] Removing intermediate container f9079cba4853 [2022-05-24T15:44:26.704Z] ---> c271c7b1aa4b [2022-05-24T15:44:26.704Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:44:26.704Z] ---> Running in 7108202c8edd [2022-05-24T15:44:27.287Z] Removing intermediate container 7108202c8edd [2022-05-24T15:44:27.287Z] ---> 0404b86b8824 [2022-05-24T15:44:27.287Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:44:27.287Z] ---> Running in c4e937e42f88 [2022-05-24T15:44:27.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:44:28.488Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:44:28.749Z] OK: 221 MiB in 52 packages [2022-05-24T15:44:29.017Z] Removing intermediate container c4e937e42f88 [2022-05-24T15:44:29.017Z] ---> fb03efcfebb6 [2022-05-24T15:44:29.017Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-24T15:44:29.017Z] ---> Running in 6c841815ed5e [2022-05-24T15:44:29.017Z] Removing intermediate container 6c841815ed5e [2022-05-24T15:44:29.017Z] ---> 08485e5711c9 [2022-05-24T15:44:29.017Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-24T15:44:29.278Z] ---> 64f01b7767d5 [2022-05-24T15:44:29.278Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:44:29.278Z] ---> Running in 88e8c8eaddea [2022-05-24T15:44:31.100Z] Still waiting to schedule task [2022-05-24T15:44:31.100Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-64489’ is offline [2022-05-24T15:44:44.180Z] Removing intermediate container 88e8c8eaddea [2022-05-24T15:44:44.180Z] ---> d7836cbf33ac [2022-05-24T15:44:44.180Z] Step 12/13 : COPY . . [2022-05-24T15:44:44.180Z] ---> bd76e34d3087 [2022-05-24T15:44:44.180Z] Step 13/13 : RUN ${MAKE} [2022-05-24T15:44:44.180Z] ---> Running in 5fe67e5e0fe2 [2022-05-24T15:44:44.180Z] noop [2022-05-24T15:44:44.180Z] Removing intermediate container 5fe67e5e0fe2 [2022-05-24T15:44:44.180Z] ---> af5ef2e41a8c [2022-05-24T15:44:44.180Z] Successfully built af5ef2e41a8c [2022-05-24T15:44:44.180Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:44:44.481Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T15:44:44.481Z] . [Pipeline] withDockerContainer [2022-05-24T15:44:44.545Z] prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container [2022-05-24T15:44:44.587Z] $ 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 [2022-05-24T15:44:44.957Z] $ docker top 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:44:45.306Z] + go version [2022-05-24T15:44:45.306Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-24T15:44:45.331Z] $ docker stop --time=1 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af [2022-05-24T15:44:46.632Z] $ docker rm -f 2822e16549028cfdcb4f6fb74725c22fc248b87d806595373b4a2e8b22cde8af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:44:47.058Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T15:44:47.058Z] . [Pipeline] withDockerContainer [2022-05-24T15:44:47.144Z] prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container [2022-05-24T15:44:47.202Z] $ 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 [2022-05-24T15:44:47.574Z] $ docker top a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T15:44:47.945Z] + make test [2022-05-24T15:44:47.945Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-24T15:44:48.206Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-24T15:44:58.187Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-24T15:44:58.187Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.0% of statements [2022-05-24T15:45:04.773Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-24T15:45:08.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T15:45:08.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T15:45:08.976Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T15:45:09.559Z] [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T15:45:09.576Z] $ docker stop --time=1 a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 [2022-05-24T15:45:11.458Z] $ docker rm -f a2b444d8425547615e7b3104f06a717d80cc6090682b79081d84cd496b488328 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:45:11.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T15:45:11.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-24T15:45:12.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T15:45:12.771Z] + ls -al . [2022-05-24T15:45:12.771Z] total 216 [2022-05-24T15:45:12.771Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:45 . [2022-05-24T15:45:12.771Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 .. [2022-05-24T15:45:12.771Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:44 .git [2022-05-24T15:45:12.771Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 .github [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:43 .gitignore [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:43 .golangci.yml [2022-05-24T15:45:12.771Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:44 .semver [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:43 Attribution.txt [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:43 CHANGELOG.md [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:43 Dockerfile [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:43 GOVERNANCE.md [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:43 Jenkinsfile [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:43 LICENSE [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:43 Makefile [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:43 OWNERS.md [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:43 README.md [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 15:44 VERSION [2022-05-24T15:45:12.771Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:43 bin [2022-05-24T15:45:12.771Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 cmd [2022-05-24T15:45:12.771Z] -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:44 coverage.out [2022-05-24T15:45:12.771Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:43 doc [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:43 go.mod [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:43 go.sum [2022-05-24T15:45:12.771Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:43 internal [2022-05-24T15:45:12.771Z] -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:45:13.070Z] + 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 . [2022-05-24T15:45:13.070Z] Sending build context to Docker daemon 8.591MB [2022-05-24T15:45:13.070Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:45:13.070Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-24T15:45:13.070Z] ---> af5ef2e41a8c [2022-05-24T15:45:13.070Z] Step 3/26 : ARG MAKE="make build" [2022-05-24T15:45:13.070Z] ---> Running in cc2906f218c6 [2022-05-24T15:45:13.330Z] Removing intermediate container cc2906f218c6 [2022-05-24T15:45:13.330Z] ---> 359973f05ab4 [2022-05-24T15:45:13.330Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:45:13.330Z] ---> Running in 9723d8da9ca8 [2022-05-24T15:45:13.330Z] Removing intermediate container 9723d8da9ca8 [2022-05-24T15:45:13.330Z] ---> 2fa26ae9dd5e [2022-05-24T15:45:13.330Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:45:13.330Z] ---> Running in d9ceeccac295 [2022-05-24T15:45:13.590Z] Removing intermediate container d9ceeccac295 [2022-05-24T15:45:13.590Z] ---> 4d5b194a4c4a [2022-05-24T15:45:13.590Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-24T15:45:13.590Z] ---> Running in 0b9b57c1a827 [2022-05-24T15:45:13.590Z] Removing intermediate container 0b9b57c1a827 [2022-05-24T15:45:13.590Z] ---> 908c80d65fe5 [2022-05-24T15:45:13.590Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:45:13.590Z] ---> Running in fdb7be531f03 [2022-05-24T15:45:14.161Z] Removing intermediate container fdb7be531f03 [2022-05-24T15:45:14.161Z] ---> d41e57cb7c5a [2022-05-24T15:45:14.161Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:45:14.161Z] ---> Running in 48f006b21f56 [2022-05-24T15:45:14.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:45:17.728Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:45:21.027Z] OK: 221 MiB in 52 packages [2022-05-24T15:45:21.287Z] Removing intermediate container 48f006b21f56 [2022-05-24T15:45:21.287Z] ---> ee48a0850b7c [2022-05-24T15:45:21.287Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-24T15:45:21.287Z] ---> Running in 0d863833f0ac [2022-05-24T15:45:21.548Z] Removing intermediate container 0d863833f0ac [2022-05-24T15:45:21.548Z] ---> de20980cfc46 [2022-05-24T15:45:21.548Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-24T15:45:21.548Z] ---> 9d98e6fad780 [2022-05-24T15:45:21.548Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:45:21.548Z] ---> Running in 8dc47dff059b [2022-05-24T15:45:22.489Z] Removing intermediate container 8dc47dff059b [2022-05-24T15:45:22.490Z] ---> fc9d5bec074e [2022-05-24T15:45:22.490Z] Step 12/26 : COPY . . [2022-05-24T15:45:22.749Z] ---> 3c0fe31c1119 [2022-05-24T15:45:22.749Z] Step 13/26 : RUN ${MAKE} [2022-05-24T15:45:22.749Z] ---> Running in 5772e9d43a03 [2022-05-24T15:45:23.009Z] 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 [2022-05-24T15:45:44.952Z] Removing intermediate container 5772e9d43a03 [2022-05-24T15:45:44.952Z] ---> 99b06cb34baa [2022-05-24T15:45:44.952Z] Step 14/26 : FROM alpine:3.15 [2022-05-24T15:45:44.952Z] 3.15: Pulling from library/alpine [2022-05-24T15:45:44.952Z] df9b9388f04a: Pulling fs layer [2022-05-24T15:45:44.952Z] df9b9388f04a: Verifying Checksum [2022-05-24T15:45:44.952Z] df9b9388f04a: Download complete [2022-05-24T15:45:44.952Z] df9b9388f04a: Pull complete [2022-05-24T15:45:44.952Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T15:45:44.952Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T15:45:44.952Z] ---> 0ac33e5f5afa [2022-05-24T15:45:44.952Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T15:45:44.952Z] ---> Running in 406849275a28 [2022-05-24T15:45:44.952Z] Removing intermediate container 406849275a28 [2022-05-24T15:45:44.952Z] ---> 213b4317f69d [2022-05-24T15:45:44.952Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-24T15:45:44.952Z] ---> Running in f0285f973322 [2022-05-24T15:45:44.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:45:44.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:45:44.952Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-24T15:45:44.952Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T15:45:44.952Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-24T15:45:44.952Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T15:45:44.952Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-24T15:45:44.952Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-24T15:45:44.952Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T15:45:44.952Z] OK: 8 MiB in 20 packages [2022-05-24T15:45:44.952Z] Removing intermediate container f0285f973322 [2022-05-24T15:45:44.952Z] ---> 2d7cebaf6fd2 [2022-05-24T15:45:44.952Z] Step 17/26 : WORKDIR / [2022-05-24T15:45:44.952Z] ---> Running in 474e6312b365 [2022-05-24T15:45:44.952Z] Removing intermediate container 474e6312b365 [2022-05-24T15:45:44.952Z] ---> e5971e800110 [2022-05-24T15:45:44.952Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-24T15:45:45.214Z] ---> 9f15f6e32ec0 [2022-05-24T15:45:45.214Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-24T15:45:45.475Z] ---> 0a9efa35b604 [2022-05-24T15:45:45.475Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-24T15:45:45.736Z] ---> a8ee116e29e9 [2022-05-24T15:45:45.736Z] Step 21/26 : EXPOSE 59984 [2022-05-24T15:45:45.736Z] ---> Running in 32174d61799f [2022-05-24T15:45:45.736Z] Removing intermediate container 32174d61799f [2022-05-24T15:45:45.736Z] ---> 7469a550de41 [2022-05-24T15:45:45.736Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-24T15:45:45.736Z] ---> Running in d441085234d3 [2022-05-24T15:45:45.998Z] Removing intermediate container d441085234d3 [2022-05-24T15:45:45.998Z] ---> 1cf9e68c1b05 [2022-05-24T15:45:45.998Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-24T15:45:45.998Z] ---> Running in 3fa71f7718ec [2022-05-24T15:45:45.998Z] Removing intermediate container 3fa71f7718ec [2022-05-24T15:45:45.998Z] ---> 5d443224da07 [2022-05-24T15:45:45.998Z] Step 24/26 : LABEL arch=amd64 [2022-05-24T15:45:45.998Z] ---> Running in dfb24cddd04a [2022-05-24T15:45:45.998Z] Removing intermediate container dfb24cddd04a [2022-05-24T15:45:45.998Z] ---> 78ccad735271 [2022-05-24T15:45:45.998Z] Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 [2022-05-24T15:45:46.259Z] ---> Running in 2a6326c60bd0 [2022-05-24T15:45:46.259Z] Removing intermediate container 2a6326c60bd0 [2022-05-24T15:45:46.259Z] ---> ed9cfcd020f5 [2022-05-24T15:45:46.259Z] Step 26/26 : LABEL version=0.0.0 [2022-05-24T15:45:46.259Z] ---> Running in 67b91be94314 [2022-05-24T15:45:46.259Z] Removing intermediate container 67b91be94314 [2022-05-24T15:45:46.259Z] ---> b84ca2493ce5 [2022-05-24T15:45:46.259Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T15:45:46.259Z] Successfully built b84ca2493ce5 [2022-05-24T15:45:46.259Z] 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 [2022-05-24T15:45:46.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:45:46.676Z] [2022-05-24T15:45:46.676Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:45:46.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:45:46.979Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-24T15:45:46.979Z] 5eb5b503b376: Pulling fs layer [2022-05-24T15:45:46.979Z] 5c69ac0246d0: Pulling fs layer [2022-05-24T15:45:46.979Z] ec43610c2a17: Pulling fs layer [2022-05-24T15:45:46.979Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-24T15:45:46.979Z] 33b1e0a273af: Pulling fs layer [2022-05-24T15:45:46.979Z] 5d3b04190fa2: Pulling fs layer [2022-05-24T15:45:46.979Z] 2f39f015ded8: Pulling fs layer [2022-05-24T15:45:46.979Z] 33b1e0a273af: Waiting [2022-05-24T15:45:46.979Z] 3a2ae6a8a46f: Waiting [2022-05-24T15:45:46.979Z] 5d3b04190fa2: Waiting [2022-05-24T15:45:46.979Z] 5c69ac0246d0: Download complete [2022-05-24T15:45:46.979Z] 3a2ae6a8a46f: Download complete [2022-05-24T15:45:46.979Z] 33b1e0a273af: Verifying Checksum [2022-05-24T15:45:46.979Z] 33b1e0a273af: Download complete [2022-05-24T15:45:46.979Z] 5d3b04190fa2: Verifying Checksum [2022-05-24T15:45:46.979Z] 5d3b04190fa2: Download complete [2022-05-24T15:45:46.979Z] ec43610c2a17: Verifying Checksum [2022-05-24T15:45:46.979Z] ec43610c2a17: Download complete [2022-05-24T15:45:47.239Z] 5eb5b503b376: Verifying Checksum [2022-05-24T15:45:47.239Z] 5eb5b503b376: Download complete [2022-05-24T15:45:47.808Z] 2f39f015ded8: Download complete [2022-05-24T15:45:48.376Z] 5eb5b503b376: Pull complete [2022-05-24T15:45:48.635Z] 5c69ac0246d0: Pull complete [2022-05-24T15:45:48.896Z] ec43610c2a17: Pull complete [2022-05-24T15:45:49.161Z] 3a2ae6a8a46f: Pull complete [2022-05-24T15:45:49.422Z] 33b1e0a273af: Pull complete [2022-05-24T15:45:49.422Z] 5d3b04190fa2: Pull complete [2022-05-24T15:45:53.614Z] 2f39f015ded8: Pull complete [2022-05-24T15:45:53.614Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-24T15:45:53.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:45:53.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-24T15:45:53.676Z] prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container [2022-05-24T15:45:53.716Z] $ 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 [2022-05-24T15:45:55.510Z] $ docker top 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:45:55.883Z] ---> job-cost.sh [2022-05-24T15:45:55.883Z] lf-activate-venv: SKIPPING [2022-05-24T15:45:55.883Z] INFO: No Stack... [2022-05-24T15:45:56.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T15:45:56.714Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T15:45:57.010Z] + cat /w/workspace/dry_device-onvif-camera_issue-67/archives/cost.csv [2022-05-24T15:45:57.010Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T15:45:57.025Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [2022-05-24T15:45:57.033Z] Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] did not exist. Created. [2022-05-24T15:45:57.034Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T15:45:57.342Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-24T15:45:57.365Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T15:45:57.375Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T15:45:57.402Z] $ docker stop --time=1 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 [2022-05-24T15:45:58.566Z] $ docker rm -f 35b3c25c5a4fce1e95ea15379b6ada3329f680f28d0128ca727b9aeb0db79611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T15:46:57.494Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64494 in /w/workspace/dry_device-onvif-camera_issue-67 [Pipeline] { [Pipeline] ws [2022-05-24T15:46:57.507Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-05-24T15:46:57.767Z] Selected Git installation does not exist. Using Default [2022-05-24T15:46:57.768Z] The recommended git tool is: NONE [2022-05-24T15:47:02.649Z] using credential edgex-jenkins-ssh [2022-05-24T15:47:02.666Z] Cloning the remote Git repository [2022-05-24T15:47:02.737Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-24T15:47:03.981Z] Avoid second fetch [2022-05-24T15:47:03.982Z] Checking out Revision 5518966bb045a49db7429c9a60a74b84fd8139d7 (issue-67) [2022-05-24T15:47:02.838Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-05-24T15:47:02.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-05-24T15:47:02.951Z] > git --version # timeout=10 [2022-05-24T15:47:02.969Z] > git --version # 'git version 2.25.1' [2022-05-24T15:47:02.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T15:47:03.079Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T15:47:03.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-05-24T15:47:03.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T15:47:04.009Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T15:47:04.036Z] > git checkout -f 5518966bb045a49db7429c9a60a74b84fd8139d7 # timeout=10 [2022-05-24T15:47:08.298Z] 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 [2022-05-24T15:47:09.154Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-24T15:47:09.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T15:47:09.154Z] Dload Upload Total Spent Left Speed [2022-05-24T15:47:09.154Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh [2022-05-24T15:47:09.684Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-24T15:47:10.030Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-24T15:47:10.030Z] + sudo tee /etc/docker/daemon.new [2022-05-24T15:47:10.030Z] { [2022-05-24T15:47:10.030Z] "registry-mirrors": [ [2022-05-24T15:47:10.030Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-24T15:47:10.030Z] ], [2022-05-24T15:47:10.030Z] "bip": "10.250.0.254/24", [2022-05-24T15:47:10.030Z] "hosts": [ [2022-05-24T15:47:10.030Z] "tcp://0.0.0.0:5555", [2022-05-24T15:47:10.030Z] "unix:///var/run/docker.sock" [2022-05-24T15:47:10.030Z] ], [2022-05-24T15:47:10.030Z] "mtu": 1458, [2022-05-24T15:47:10.030Z] "selinux-enabled": true, [2022-05-24T15:47:10.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-24T15:47:10.030Z] } [Pipeline] sh [2022-05-24T15:47:10.382Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-24T15:47:10.743Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:47:29.092Z] provisioning config files... [2022-05-24T15:47:29.119Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config9200918073992003571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:47:29.502Z] ---> docker-login.sh [2022-05-24T15:47:29.502Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:47:30.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:47:30.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:47:30.374Z] Configure a credential helper to remove this warning. See [2022-05-24T15:47:30.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:47:30.374Z] [2022-05-24T15:47:30.374Z] Login Succeeded [2022-05-24T15:47:30.374Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:47:31.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:47:31.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:47:31.047Z] Configure a credential helper to remove this warning. See [2022-05-24T15:47:31.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:47:31.047Z] [2022-05-24T15:47:31.047Z] Login Succeeded [2022-05-24T15:47:31.047Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:47:31.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:47:31.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:47:31.646Z] Configure a credential helper to remove this warning. See [2022-05-24T15:47:31.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:47:31.646Z] [2022-05-24T15:47:31.646Z] Login Succeeded [2022-05-24T15:47:31.646Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:47:31.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:47:32.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:47:32.190Z] Configure a credential helper to remove this warning. See [2022-05-24T15:47:32.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:47:32.190Z] [2022-05-24T15:47:32.190Z] Login Succeeded [2022-05-24T15:47:32.190Z] docker.io [2022-05-24T15:47:32.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:47:32.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:47:32.739Z] Configure a credential helper to remove this warning. See [2022-05-24T15:47:32.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:47:32.739Z] [2022-05-24T15:47:32.739Z] Login Succeeded [2022-05-24T15:47:32.739Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:47:32.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T15:47:33.253Z] [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:47:33.260Z] ========================================================= [2022-05-24T15:47:33.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-24T15:47:33.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:47:33.610Z] + 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 . [2022-05-24T15:47:33.883Z] Sending build context to Docker daemon 5.82MB [2022-05-24T15:47:33.883Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:47:33.883Z] Step 2/13 : FROM ${BASE} AS builder [2022-05-24T15:47:34.161Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-24T15:47:34.161Z] 9b3977197b4f: Pulling fs layer [2022-05-24T15:47:34.161Z] 1a89e8eeedd5: Pulling fs layer [2022-05-24T15:47:34.161Z] 94645a83ff95: Pulling fs layer [2022-05-24T15:47:34.161Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-24T15:47:34.161Z] 0c92f367c5e7: Pulling fs layer [2022-05-24T15:47:34.161Z] 3096ccb668a1: Pulling fs layer [2022-05-24T15:47:34.161Z] e8cf19c19ddd: Pulling fs layer [2022-05-24T15:47:34.161Z] a4caa8a26152: Pulling fs layer [2022-05-24T15:47:34.161Z] 3f3a8bcf1eab: Waiting [2022-05-24T15:47:34.161Z] 0c92f367c5e7: Waiting [2022-05-24T15:47:34.161Z] 3096ccb668a1: Waiting [2022-05-24T15:47:34.161Z] e8cf19c19ddd: Waiting [2022-05-24T15:47:34.161Z] a4caa8a26152: Waiting [2022-05-24T15:47:34.161Z] 94645a83ff95: Download complete [2022-05-24T15:47:34.161Z] 1a89e8eeedd5: Verifying Checksum [2022-05-24T15:47:34.161Z] 1a89e8eeedd5: Download complete [2022-05-24T15:47:34.161Z] 0c92f367c5e7: Verifying Checksum [2022-05-24T15:47:34.161Z] 0c92f367c5e7: Download complete [2022-05-24T15:47:34.161Z] 9b3977197b4f: Download complete [2022-05-24T15:47:34.435Z] 3096ccb668a1: Verifying Checksum [2022-05-24T15:47:34.435Z] 3096ccb668a1: Download complete [2022-05-24T15:47:34.435Z] e8cf19c19ddd: Verifying Checksum [2022-05-24T15:47:34.435Z] e8cf19c19ddd: Download complete [2022-05-24T15:47:35.039Z] 9b3977197b4f: Pull complete [2022-05-24T15:47:35.650Z] 1a89e8eeedd5: Pull complete [2022-05-24T15:47:35.930Z] 94645a83ff95: Pull complete [2022-05-24T15:47:36.527Z] a4caa8a26152: Verifying Checksum [2022-05-24T15:47:36.527Z] a4caa8a26152: Download complete [2022-05-24T15:47:37.127Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-24T15:47:37.127Z] 3f3a8bcf1eab: Download complete [2022-05-24T15:47:49.527Z] 3f3a8bcf1eab: Pull complete [2022-05-24T15:47:49.527Z] 0c92f367c5e7: Pull complete [2022-05-24T15:47:49.527Z] 3096ccb668a1: Pull complete [2022-05-24T15:47:49.800Z] e8cf19c19ddd: Pull complete [2022-05-24T15:47:56.534Z] a4caa8a26152: Pull complete [2022-05-24T15:47:56.534Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-24T15:47:56.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-24T15:47:56.534Z] ---> 725f1c02e7f9 [2022-05-24T15:47:56.534Z] Step 3/13 : ARG MAKE="make build" [2022-05-24T15:47:56.534Z] ---> Running in 8c743ca1788d [2022-05-24T15:47:56.808Z] Removing intermediate container 8c743ca1788d [2022-05-24T15:47:56.808Z] ---> da9121e50c94 [2022-05-24T15:47:56.808Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:47:57.087Z] ---> Running in 319c652614aa [2022-05-24T15:47:57.360Z] Removing intermediate container 319c652614aa [2022-05-24T15:47:57.360Z] ---> 9c761f12a5de [2022-05-24T15:47:57.360Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:47:57.360Z] ---> Running in df00558e53da [2022-05-24T15:47:57.634Z] Removing intermediate container df00558e53da [2022-05-24T15:47:57.634Z] ---> 0592b97939a7 [2022-05-24T15:47:57.634Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-05-24T15:47:57.909Z] ---> Running in 8df0f5d9060a [2022-05-24T15:47:58.200Z] Removing intermediate container 8df0f5d9060a [2022-05-24T15:47:58.200Z] ---> b4956de9bbbe [2022-05-24T15:47:58.200Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:47:58.200Z] ---> Running in 745ab4f656b2 [2022-05-24T15:48:00.186Z] Removing intermediate container 745ab4f656b2 [2022-05-24T15:48:00.186Z] ---> 4aa9ffd0ee68 [2022-05-24T15:48:00.186Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:48:00.186Z] ---> Running in e62e69a8e4b5 [2022-05-24T15:48:01.168Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:48:02.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:48:03.126Z] OK: 220 MiB in 52 packages [2022-05-24T15:48:03.735Z] Removing intermediate container e62e69a8e4b5 [2022-05-24T15:48:03.735Z] ---> 9f1a210b3afb [2022-05-24T15:48:03.735Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-05-24T15:48:03.735Z] ---> Running in 01a62d322b9b [2022-05-24T15:48:04.331Z] Removing intermediate container 01a62d322b9b [2022-05-24T15:48:04.331Z] ---> 2ee109d9ba26 [2022-05-24T15:48:04.331Z] Step 10/13 : COPY go.mod vendor* ./ [2022-05-24T15:48:04.606Z] ---> 3e373ec30383 [2022-05-24T15:48:04.606Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:48:04.887Z] ---> Running in 935f6be8cd9a [2022-05-24T15:49:01.577Z] Removing intermediate container 935f6be8cd9a [2022-05-24T15:49:01.577Z] ---> a67582c8179b [2022-05-24T15:49:01.577Z] Step 12/13 : COPY . . [2022-05-24T15:49:01.577Z] ---> 46154a7b072c [2022-05-24T15:49:01.577Z] Step 13/13 : RUN ${MAKE} [2022-05-24T15:49:01.577Z] ---> Running in 2e7c42f4024f [2022-05-24T15:49:01.577Z] noop [2022-05-24T15:49:01.577Z] Removing intermediate container 2e7c42f4024f [2022-05-24T15:49:01.577Z] ---> 76c410365a79 [2022-05-24T15:49:01.577Z] Successfully built 76c410365a79 [2022-05-24T15:49:01.577Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:49:02.135Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T15:49:02.135Z] . [Pipeline] withDockerContainer [2022-05-24T15:49:02.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container [2022-05-24T15:49:02.703Z] $ 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 [2022-05-24T15:49:04.016Z] $ docker top 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:49:04.933Z] + go version [2022-05-24T15:49:04.933Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-24T15:49:04.966Z] $ docker stop --time=1 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 [2022-05-24T15:49:06.648Z] $ docker rm -f 3e6908cc48e9e80944be4d2e7ded207b039df5d386e59e6b3430e2ee66915b80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:49:07.307Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T15:49:07.307Z] . [Pipeline] withDockerContainer [2022-05-24T15:49:07.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container [2022-05-24T15:49:07.650Z] $ 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 [2022-05-24T15:49:08.978Z] $ docker top 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T15:49:09.910Z] + make test [2022-05-24T15:49:09.910Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-24T15:49:11.910Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-05-24T15:50:48.829Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-05-24T15:50:48.829Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 1.0% of statements [2022-05-24T15:50:48.829Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-24T15:50:48.829Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-24T15:51:15.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T15:51:15.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T15:51:15.708Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T15:51:15.732Z] [edgeX.isLTS] Checking if [issue-67] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T15:51:15.754Z] $ docker stop --time=1 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb [2022-05-24T15:51:17.669Z] $ docker rm -f 40b299e49751722d9bea3559cc74c6e0867afcdd4981887ec0cbc9c71f04b7bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:51:18.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T15:51:18.799Z] Warning: overwriting stash ‘coverage-report’ [2022-05-24T15:51:19.397Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T15:51:19.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T15:51:20.162Z] + ls -al . [2022-05-24T15:51:20.162Z] total 212 [2022-05-24T15:51:20.162Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:51 . [2022-05-24T15:51:20.162Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:47 .. [2022-05-24T15:51:20.163Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:47 .git [2022-05-24T15:51:20.163Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 .github [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 352 May 24 15:47 .gitignore [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 15:47 .golangci.yml [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 9099 May 24 15:47 Attribution.txt [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 189 May 24 15:47 CHANGELOG.md [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 1667 May 24 15:47 Dockerfile [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:47 GOVERNANCE.md [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 660 May 24 15:47 Jenkinsfile [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 24 15:47 LICENSE [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 2473 May 24 15:47 Makefile [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 625 May 24 15:47 OWNERS.md [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 28742 May 24 15:47 README.md [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 15:44 VERSION [2022-05-24T15:51:20.163Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:47 bin [2022-05-24T15:51:20.163Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 cmd [2022-05-24T15:51:20.163Z] -rw-r--r-- 1 jenkins jenkins 37307 May 24 15:50 coverage.out [2022-05-24T15:51:20.163Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:47 doc [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 3546 May 24 15:47 go.mod [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 37264 May 24 15:47 go.sum [2022-05-24T15:51:20.163Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:47 internal [2022-05-24T15:51:20.163Z] -rw-rw-r-- 1 jenkins jenkins 236 May 24 15:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:51:20.512Z] + 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 . [2022-05-24T15:51:20.790Z] Sending build context to Docker daemon 5.858MB [2022-05-24T15:51:21.063Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:51:21.063Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-24T15:51:21.063Z] ---> 76c410365a79 [2022-05-24T15:51:21.063Z] Step 3/26 : ARG MAKE="make build" [2022-05-24T15:51:21.063Z] ---> Running in 40c884e16008 [2022-05-24T15:51:21.341Z] Removing intermediate container 40c884e16008 [2022-05-24T15:51:21.341Z] ---> dde873b1356a [2022-05-24T15:51:21.341Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:51:21.618Z] ---> Running in 92805f852d76 [2022-05-24T15:51:21.891Z] Removing intermediate container 92805f852d76 [2022-05-24T15:51:21.891Z] ---> 0b73eddb1457 [2022-05-24T15:51:21.891Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:51:21.891Z] ---> Running in b5a986126f16 [2022-05-24T15:51:22.164Z] Removing intermediate container b5a986126f16 [2022-05-24T15:51:22.164Z] ---> 234afaaa23ea [2022-05-24T15:51:22.164Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-05-24T15:51:22.452Z] ---> Running in 7f1d4bbaf293 [2022-05-24T15:51:22.725Z] Removing intermediate container 7f1d4bbaf293 [2022-05-24T15:51:22.725Z] ---> 791be53233ff [2022-05-24T15:51:22.725Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:51:22.725Z] ---> Running in ab3a2292c7c3 [2022-05-24T15:51:24.704Z] Removing intermediate container ab3a2292c7c3 [2022-05-24T15:51:24.704Z] ---> e50ac9254de4 [2022-05-24T15:51:24.704Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:51:24.704Z] ---> Running in 491f204a14e1 [2022-05-24T15:51:25.708Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:51:26.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:51:27.672Z] OK: 220 MiB in 52 packages [2022-05-24T15:51:28.288Z] Removing intermediate container 491f204a14e1 [2022-05-24T15:51:28.288Z] ---> 3a3b2df3009e [2022-05-24T15:51:28.288Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-05-24T15:51:28.562Z] ---> Running in 8593f1587bec [2022-05-24T15:51:28.835Z] Removing intermediate container 8593f1587bec [2022-05-24T15:51:28.835Z] ---> d6774f6e021e [2022-05-24T15:51:28.835Z] Step 10/26 : COPY go.mod vendor* ./ [2022-05-24T15:51:29.432Z] ---> 964c885d153d [2022-05-24T15:51:29.432Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:51:29.432Z] ---> Running in ff7ccd6c27be [2022-05-24T15:51:31.413Z] Removing intermediate container ff7ccd6c27be [2022-05-24T15:51:31.413Z] ---> c23bc8783b92 [2022-05-24T15:51:31.413Z] Step 12/26 : COPY . . [2022-05-24T15:51:32.393Z] ---> ca691418c839 [2022-05-24T15:51:32.393Z] Step 13/26 : RUN ${MAKE} [2022-05-24T15:51:32.667Z] ---> Running in b9163d374eab [2022-05-24T15:51:33.652Z] 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 [2022-05-24T15:53:55.918Z] Removing intermediate container b9163d374eab [2022-05-24T15:53:55.918Z] ---> b46e051dcd2e [2022-05-24T15:53:55.918Z] Step 14/26 : FROM alpine:3.15 [2022-05-24T15:53:55.918Z] 3.15: Pulling from library/alpine [2022-05-24T15:53:55.918Z] 9981e73032c8: Pulling fs layer [2022-05-24T15:53:55.918Z] 9981e73032c8: Verifying Checksum [2022-05-24T15:53:55.918Z] 9981e73032c8: Download complete [2022-05-24T15:53:55.918Z] 9981e73032c8: Pull complete [2022-05-24T15:53:55.918Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-05-24T15:53:55.918Z] Status: Downloaded newer image for alpine:3.15 [2022-05-24T15:53:55.918Z] ---> 3fb3c9af89a9 [2022-05-24T15:53:55.918Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-05-24T15:53:55.918Z] ---> Running in 9af9fade106e [2022-05-24T15:53:55.918Z] Removing intermediate container 9af9fade106e [2022-05-24T15:53:55.918Z] ---> 9c462c14cca3 [2022-05-24T15:53:55.918Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-24T15:53:55.918Z] ---> Running in 096c164d68ac [2022-05-24T15:53:55.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:53:55.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:53:55.918Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-24T15:53:55.918Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-05-24T15:53:55.918Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-24T15:53:55.918Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-05-24T15:53:55.918Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-24T15:53:55.918Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-24T15:53:55.918Z] Executing busybox-1.34.1-r5.trigger [2022-05-24T15:53:55.918Z] OK: 8 MiB in 20 packages [2022-05-24T15:53:55.918Z] Removing intermediate container 096c164d68ac [2022-05-24T15:53:55.918Z] ---> 69218a57b3c8 [2022-05-24T15:53:55.918Z] Step 17/26 : WORKDIR / [2022-05-24T15:53:55.918Z] ---> Running in c43540a271fb [2022-05-24T15:53:55.918Z] Removing intermediate container c43540a271fb [2022-05-24T15:53:55.918Z] ---> 90a5b0abc8b3 [2022-05-24T15:53:55.918Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-05-24T15:53:56.199Z] ---> 61c4c42bb8e0 [2022-05-24T15:53:56.199Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-05-24T15:53:56.796Z] ---> 2d27a2fced9e [2022-05-24T15:53:56.796Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-05-24T15:53:57.396Z] ---> ba4bb681d46c [2022-05-24T15:53:57.396Z] Step 21/26 : EXPOSE 59984 [2022-05-24T15:53:57.396Z] ---> Running in 77ecff1e944f [2022-05-24T15:53:57.670Z] Removing intermediate container 77ecff1e944f [2022-05-24T15:53:57.670Z] ---> c1e8ae182230 [2022-05-24T15:53:57.670Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-05-24T15:53:57.670Z] ---> Running in 5ddb05d7a4ea [2022-05-24T15:53:57.947Z] Removing intermediate container 5ddb05d7a4ea [2022-05-24T15:53:57.947Z] ---> f18341e6d5cd [2022-05-24T15:53:57.947Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-24T15:53:58.225Z] ---> Running in 6e5de0866f63 [2022-05-24T15:53:58.500Z] Removing intermediate container 6e5de0866f63 [2022-05-24T15:53:58.500Z] ---> e69603056639 [2022-05-24T15:53:58.500Z] Step 24/26 : LABEL arch=arm64 [2022-05-24T15:53:58.500Z] ---> Running in 236f560980c0 [2022-05-24T15:53:58.777Z] Removing intermediate container 236f560980c0 [2022-05-24T15:53:58.777Z] ---> 15ac48b01a0f [2022-05-24T15:53:58.777Z] Step 25/26 : LABEL git_sha=5518966bb045a49db7429c9a60a74b84fd8139d7 [2022-05-24T15:53:58.777Z] ---> Running in 134ffe3b1ae3 [2022-05-24T15:53:59.051Z] Removing intermediate container 134ffe3b1ae3 [2022-05-24T15:53:59.051Z] ---> f4be9e032a17 [2022-05-24T15:53:59.051Z] Step 26/26 : LABEL version=0.0.0 [2022-05-24T15:53:59.334Z] ---> Running in c4a908709fb7 [2022-05-24T15:53:59.616Z] Removing intermediate container c4a908709fb7 [2022-05-24T15:53:59.616Z] ---> 244ee7cbc6ef [2022-05-24T15:53:59.616Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T15:53:59.616Z] Successfully built 244ee7cbc6ef [2022-05-24T15:53:59.616Z] 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 [2022-05-24T15:54:00.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:54:00.065Z] [2022-05-24T15:54:00.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:54:00.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:54:00.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-24T15:54:00.701Z] 8998bd30e6a1: Pulling fs layer [2022-05-24T15:54:00.701Z] 04944245beec: Pulling fs layer [2022-05-24T15:54:00.701Z] 699f458cf7ca: Pulling fs layer [2022-05-24T15:54:00.701Z] 765212b225bb: Pulling fs layer [2022-05-24T15:54:00.701Z] f23df028b6ca: Pulling fs layer [2022-05-24T15:54:00.701Z] d65c8cfc05b1: Pulling fs layer [2022-05-24T15:54:00.701Z] 2437ff75d9bd: Pulling fs layer [2022-05-24T15:54:00.701Z] 765212b225bb: Waiting [2022-05-24T15:54:00.701Z] f23df028b6ca: Waiting [2022-05-24T15:54:00.701Z] d65c8cfc05b1: Waiting [2022-05-24T15:54:00.701Z] 2437ff75d9bd: Waiting [2022-05-24T15:54:00.701Z] 04944245beec: Verifying Checksum [2022-05-24T15:54:00.701Z] 04944245beec: Download complete [2022-05-24T15:54:00.701Z] 765212b225bb: Download complete [2022-05-24T15:54:00.701Z] f23df028b6ca: Verifying Checksum [2022-05-24T15:54:00.701Z] f23df028b6ca: Download complete [2022-05-24T15:54:00.701Z] d65c8cfc05b1: Verifying Checksum [2022-05-24T15:54:00.701Z] d65c8cfc05b1: Download complete [2022-05-24T15:54:00.976Z] 699f458cf7ca: Verifying Checksum [2022-05-24T15:54:00.976Z] 699f458cf7ca: Download complete [2022-05-24T15:54:01.252Z] 8998bd30e6a1: Verifying Checksum [2022-05-24T15:54:01.252Z] 8998bd30e6a1: Download complete [2022-05-24T15:54:03.885Z] 2437ff75d9bd: Verifying Checksum [2022-05-24T15:54:03.885Z] 2437ff75d9bd: Download complete [2022-05-24T15:54:05.902Z] 8998bd30e6a1: Pull complete [2022-05-24T15:54:06.175Z] 04944245beec: Pull complete [2022-05-24T15:54:07.616Z] 699f458cf7ca: Pull complete [2022-05-24T15:54:07.887Z] 765212b225bb: Pull complete [2022-05-24T15:54:08.484Z] f23df028b6ca: Pull complete [2022-05-24T15:54:08.761Z] d65c8cfc05b1: Pull complete [2022-05-24T15:54:23.884Z] 2437ff75d9bd: Pull complete [2022-05-24T15:54:23.884Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-24T15:54:23.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:54:23.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-24T15:54:24.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-64494 does not seem to be running inside a container [2022-05-24T15:54:24.255Z] $ 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 [2022-05-24T15:54:26.921Z] $ docker top 7fe80b772ade2a2ad6f7a1fdb10258da751abe6174f677f5132e94291895dd61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:27.836Z] ---> job-cost.sh [2022-05-24T15:54:27.836Z] lf-activate-venv: SKIPPING [2022-05-24T15:54:27.836Z] INFO: No Stack... [2022-05-24T15:54:28.107Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-24T15:54:29.686Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T15:54:30.358Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-05-24T15:54:30.358Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T15:54:30.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [2022-05-24T15:54:30.428Z] Resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] did not exist. Created. [2022-05-24T15:54:30.428Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T15:54:31.106Z] /w/workspace/device-onvif-camera/4@tmp/durable-6daeb120/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-24T15:54:31.776Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-24T15:54:31.797Z] Warning: overwriting stash ‘stack-cost’ [2022-05-24T15:54:31.845Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T15:54:31.855Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-67-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T15:54:31.878Z] $ docker stop --time=1 7fe80b772ade2a2ad6f7a1fdb10258da751abe6174f677f5132e94291895dd61 [2022-05-24T15:54:33.362Z] $ 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 [2022-05-24T15:54:33.856Z] provisioning config files... [2022-05-24T15:54:33.866Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config8297072495543402807tmp [Pipeline] { [Pipeline] sh [2022-05-24T15:54:34.159Z] + set +x [2022-05-24T15:54:34.159Z] + curl -s https://codecov.io/bash [2022-05-24T15:54:34.159Z] + bash -s -- [2022-05-24T15:54:34.159Z] [2022-05-24T15:54:34.159Z] _____ _ [2022-05-24T15:54:34.159Z] / ____| | | [2022-05-24T15:54:34.159Z] | | ___ __| | ___ ___ _____ __ [2022-05-24T15:54:34.159Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-24T15:54:34.159Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-24T15:54:34.159Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-24T15:54:34.159Z] Bash-1.0.6 [2022-05-24T15:54:34.159Z] [2022-05-24T15:54:34.159Z] [2022-05-24T15:54:34.159Z] ==> git version 2.25.1 found [2022-05-24T15:54:34.159Z] ==> 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 [2022-05-24T15:54:34.159Z] Release-Date: 2020-01-08 [2022-05-24T15:54:34.159Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-24T15:54:34.159Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-24T15:54:34.159Z] ==> Jenkins CI detected. [2022-05-24T15:54:34.159Z] current dir:  /w/workspace/dry_device-onvif-camera_issue-67 [2022-05-24T15:54:34.159Z] project root: . [2022-05-24T15:54:34.159Z] --> token set from env [2022-05-24T15:54:34.159Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-24T15:54:34.159Z] ==> Running gcov in . (disable via -X gcov) [2022-05-24T15:54:34.159Z] ==> Python coveragepy not found [2022-05-24T15:54:34.159Z] ==> Searching for coverage reports in: [2022-05-24T15:54:34.159Z] + . [2022-05-24T15:54:34.159Z] -> Found 1 reports [2022-05-24T15:54:34.159Z] ==> Detecting git/mercurial file structure [2022-05-24T15:54:34.159Z] ==> Reading reports [2022-05-24T15:54:34.159Z] + ./coverage.out bytes=37307 [2022-05-24T15:54:34.159Z] ==> Appending adjustments [2022-05-24T15:54:34.159Z] https://docs.codecov.io/docs/fixing-reports [2022-05-24T15:54:34.419Z] + Found adjustments [2022-05-24T15:54:34.419Z] ==> Gzipping contents [2022-05-24T15:54:34.419Z] 8.0K /tmp/codecov.1UQ2ZG.gz [2022-05-24T15:54:34.419Z] ==> Uploading reports [2022-05-24T15:54:34.419Z] url: https://codecov.io [2022-05-24T15:54:34.419Z] 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= [2022-05-24T15:54:34.419Z] -> Pinging Codecov [2022-05-24T15:54:34.419Z] 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= [2022-05-24T15:54:34.679Z] -> Uploading to [2022-05-24T15:54:34.679Z] 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 [2022-05-24T15:54:34.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T15:54:34.679Z] Dload Upload Total Spent Left Speed [2022-05-24T15:54:34.940Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4601 0 0 100 4601 0 19831 --:--:-- --:--:-- --:--:-- 19831 [2022-05-24T15:54:34.940Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/5518966bb045a49db7429c9a60a74b84fd8139d7 [Pipeline] } [2022-05-24T15:54:34.949Z] 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 [2022-05-24T15:54:35.611Z] + [ -d /w/workspace/dry_device-onvif-camera_issue-67/archives ] [2022-05-24T15:54:35.611Z] + ls -al /w/workspace/dry_device-onvif-camera_issue-67/archives [2022-05-24T15:54:35.611Z] total 16 [2022-05-24T15:54:35.611Z] drwxr-xr-x 3 root root 4096 May 24 15:45 . [2022-05-24T15:54:35.611Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:45 .. [2022-05-24T15:54:35.611Z] drwxr-xr-x 2 root root 4096 May 24 15:45 cost [2022-05-24T15:54:35.611Z] -rw-r--r-- 1 root root 92 May 24 15:45 cost.csv [2022-05-24T15:54:35.611Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-67/archives [2022-05-24T15:54:35.611Z] + ls -al /w/workspace/dry_device-onvif-camera_issue-67/archives [2022-05-24T15:54:35.611Z] total 16 [2022-05-24T15:54:35.611Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:45 . [2022-05-24T15:54:35.611Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:45 .. [2022-05-24T15:54:35.611Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:45 cost [2022-05-24T15:54:35.611Z] -rw-r--r-- 1 jenkins jenkins 92 May 24 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:35.911Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:36.779Z] ---> package-listing.sh [2022-05-24T15:54:36.779Z] ++ facter osfamily [2022-05-24T15:54:36.779Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-24T15:54:37.038Z] + OS_FAMILY=debian [2022-05-24T15:54:37.038Z] + workspace=/w/workspace/dry_device-onvif-camera_issue-67 [2022-05-24T15:54:37.038Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-24T15:54:37.038Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-24T15:54:37.038Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-24T15:54:37.038Z] + PACKAGES=/tmp/packages_start.txt [2022-05-24T15:54:37.038Z] + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' [2022-05-24T15:54:37.038Z] + PACKAGES=/tmp/packages_end.txt [2022-05-24T15:54:37.038Z] + case "${OS_FAMILY}" in [2022-05-24T15:54:37.038Z] + dpkg -l [2022-05-24T15:54:37.038Z] + grep '^ii' [2022-05-24T15:54:37.038Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-24T15:54:37.038Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-24T15:54:37.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-24T15:54:37.038Z] + '[' /w/workspace/dry_device-onvif-camera_issue-67 ']' [2022-05-24T15:54:37.038Z] + mkdir -p /w/workspace/dry_device-onvif-camera_issue-67/archives/ [2022-05-24T15:54:37.038Z] + 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 [2022-05-24T15:54:37.050Z] 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 [2022-05-24T15:54:37.332Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:54:37.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:54:37.886Z] . [Pipeline] withDockerContainer [2022-05-24T15:54:37.951Z] prd-ubuntu20.04-docker-8c-8g-64491 does not seem to be running inside a container [2022-05-24T15:54:37.990Z] $ 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 [2022-05-24T15:54:38.190Z] $ docker top 90f5e169f061e9d7dfd1cf297fc5f24079faa93f6876288943239950368677bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:54:38.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-24T15:54:38.840Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-24T15:54:39.130Z] + ls /var/log/sa-host [2022-05-24T15:54:39.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:54:39.207Z] provisioning config files... [2022-05-24T15:54:39.216Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-67@tmp/config6824522299397819028tmp [Pipeline] { [Pipeline] echo [2022-05-24T15:54:39.232Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:39.518Z] ---> create-netrc.sh [Pipeline] } [2022-05-24T15:54:39.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:39.846Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-24T15:54:39.857Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:40.146Z] ---> sudo-logs.sh [2022-05-24T15:54:40.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-24T15:54:40.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:40.457Z] ---> job-cost.sh [2022-05-24T15:54:40.457Z] lf-activate-venv: SKIPPING [2022-05-24T15:54:40.457Z] DEBUG: total: 0.2199999988079071 [2022-05-24T15:54:40.457Z] INFO: Retrieving Stack Cost... [2022-05-24T15:54:40.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T15:54:41.287Z] INFO: Archiving Costs [Pipeline] echo [2022-05-24T15:54:41.302Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:54:41.587Z] ---> logs-deploy.sh [2022-05-24T15:54:41.587Z] lf-activate-venv: SKIPPING [2022-05-24T15:54:41.587Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-67/4 [2022-05-24T15:54:41.587Z] INFO: archiving workspace using pattern(s): [2022-05-24T15:54:42.526Z] Archives upload complete. [2022-05-24T15:54:42.526Z] INFO: archiving logs to Nexus