Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ajcasagrande for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 276b854d0043017d2cd132a5df48fee36b7a1e4c rather than f92c7211e63df553c60284b71f5b9253c4ebb8b3 Obtained Jenkinsfile from 276b854d0043017d2cd132a5df48fee36b7a1e4c Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12163964196755835591.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-ssh8368995912453512959.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8908632910629044872.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8507134171403255224.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 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-ssh15707563263264966659.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17936536988025010380.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-122 in /w/workspace/oundry_device-onvif-camera_PR-65 [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/oundry_device-onvif-camera_PR-65 # 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 Merging remotes/origin/main commit 276b854d0043017d2cd132a5df48fee36b7a1e4c into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 Merge succeeded, producing 16c10b8b6338fde71f23404f4356a039771b1a1b Checking out Revision 16c10b8b6338fde71f23404f4356a039771b1a1b (PR-65) > 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 remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c10b8b6338fde71f23404f4356a039771b1a1b # timeout=10 Commit message: "Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD" > git rev-list --no-walk f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:11:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:11:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:11:16 ========================================================= 10:11:16 EdgeX Global Pipelines Version Info 10:11:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:11:17 ------------------- 10:11:17 stable info: 10:11:17 ------------------- 10:11:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:17 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:11:17 Message: update stable to v1.0.230 10:11:18 ------------------- 10:11:18 experimental info: 10:11:18 ------------------- 10:11:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:11:18 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:11:18 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16c10b8 [Pipeline] echo 10:11:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:18 provisioning config files... 10:11:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config1273271166505649198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:19 ---> docker-login.sh 10:11:19 nexus3.edgexfoundry.org:10001 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:19 Configure a credential helper to remove this warning. See 10:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:19 10:11:19 Login Succeeded 10:11:19 nexus3.edgexfoundry.org:10002 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:19 Configure a credential helper to remove this warning. See 10:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:19 10:11:19 Login Succeeded 10:11:19 nexus3.edgexfoundry.org:10003 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:19 Configure a credential helper to remove this warning. See 10:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:19 10:11:19 Login Succeeded 10:11:19 nexus3.edgexfoundry.org:10004 10:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 docker.io 10:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:20 Configure a credential helper to remove this warning. See 10:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:20 10:11:20 Login Succeeded 10:11:20 ---> docker-login.sh ends [Pipeline] } 10:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:11:20 + git rev-list -1 --merges 16c10b8b6338fde71f23404f4356a039771b1a1b~1..16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo 10:11:20 -----------> git rev-list -1 --merges 16c10b8b6338fde71f23404f4356a039771b1a1b~1..16c10b8b6338fde71f23404f4356a039771b1a1b 16c10b8b6338fde71f23404f4356a039771b1a1b 10:11:20 16c10b8b6338fde71f23404f4356a039771b1a1b [false] [Pipeline] sh 10:11:21 + git log --format=format:%s -1 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo 10:11:21 ========================================================= 10:11:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:11:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:21 + git log --format=format:%s -1 16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] echo 10:11:21 [semverPrep] GIT_COMMIT: 16c10b8b6338fde71f23404f4356a039771b1a1b, Commit Message: Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD [Pipeline] echo 10:11:21 [semverPrep] This is not a build commit. [Pipeline] sh 10:11:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:11:21 + grep -v github /etc/ssh/ssh_known_hosts 10:11:21 + [ -e /tmp/ssh_known_hosts ] 10:11:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:11:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:11:21 + sudo tee -a /etc/ssh/ssh_known_hosts 10:11:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:11:22 10:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:11:22 latest: Pulling from edgex-devops/py-git-semver 10:11:22 1fe172e4850f: Pulling fs layer 10:11:22 caf521ccaac6: Pulling fs layer 10:11:22 3ead6fa29328: Pulling fs layer 10:11:22 5c2a1cbceb83: Pulling fs layer 10:11:22 a8d5f1318db7: Pulling fs layer 10:11:22 5c2a1cbceb83: Waiting 10:11:22 c427282e49a2: Pulling fs layer 10:11:22 a8d5f1318db7: Waiting 10:11:22 1827001aaf11: Pulling fs layer 10:11:22 0714d37db230: Pulling fs layer 10:11:22 c427282e49a2: Waiting 10:11:22 ac28cf19c067: Pulling fs layer 10:11:22 1827001aaf11: Waiting 10:11:22 0714d37db230: Waiting 10:11:22 ac28cf19c067: Waiting 10:11:22 ca983d60f3e2: Pulling fs layer 10:11:22 ca983d60f3e2: Waiting 10:11:22 9f894cec8388: Pulling fs layer 10:11:22 9f894cec8388: Waiting 10:11:22 caf521ccaac6: Verifying Checksum 10:11:22 caf521ccaac6: Download complete 10:11:22 5c2a1cbceb83: Download complete 10:11:22 a8d5f1318db7: Verifying Checksum 10:11:22 a8d5f1318db7: Download complete 10:11:22 3ead6fa29328: Verifying Checksum 10:11:22 3ead6fa29328: Download complete 10:11:22 c427282e49a2: Verifying Checksum 10:11:22 c427282e49a2: Download complete 10:11:22 0714d37db230: Verifying Checksum 10:11:22 0714d37db230: Download complete 10:11:22 ac28cf19c067: Verifying Checksum 10:11:22 ac28cf19c067: Download complete 10:11:22 ca983d60f3e2: Verifying Checksum 10:11:22 ca983d60f3e2: Download complete 10:11:22 9f894cec8388: Verifying Checksum 10:11:22 9f894cec8388: Download complete 10:11:22 1fe172e4850f: Verifying Checksum 10:11:22 1fe172e4850f: Download complete 10:11:22 1827001aaf11: Verifying Checksum 10:11:22 1827001aaf11: Download complete 10:11:24 1fe172e4850f: Pull complete 10:11:24 caf521ccaac6: Pull complete 10:11:24 3ead6fa29328: Pull complete 10:11:24 5c2a1cbceb83: Pull complete 10:11:25 a8d5f1318db7: Pull complete 10:11:25 c427282e49a2: Pull complete 10:11:27 1827001aaf11: Pull complete 10:11:27 0714d37db230: Pull complete 10:11:27 ac28cf19c067: Pull complete 10:11:27 ca983d60f3e2: Pull complete 10:11:27 9f894cec8388: Pull complete 10:11:27 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:11:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:27 prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container 10:11:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:11:28 $ docker top 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a -eo pid,comm 10:11:28 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). 10:11:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:11:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:28 [ssh-agent] Looking for ssh-agent implementation... 10:11:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:28 $ docker exec 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent 10:11:28 SSH_AUTH_SOCK=/tmp/ssh-0v0YCkTQc2sc/agent.34 10:11:28 SSH_AGENT_PID=40 10:11:28 Running ssh-add (command line suppressed) 10:11:29 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2162943895119297540.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_2162943895119297540.key) 10:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:29 + git tag --points-at HEAD [Pipeline] } 10:11:29 $ docker exec --env ******** --env ******** 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent -k 10:11:29 unset SSH_AUTH_SOCK; 10:11:29 unset SSH_AGENT_PID; 10:11:29 echo Agent pid 40 killed; 10:11:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:11:29 [ssh-agent] Looking for ssh-agent implementation... 10:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:11:29 $ docker exec 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent 10:11:29 SSH_AUTH_SOCK=/tmp/ssh-H5Qz4pTlN3kD/agent.72 10:11:29 SSH_AGENT_PID=78 10:11:29 Running ssh-add (command line suppressed) 10:11:29 Identity added: /w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_527999684713018566.key (/w/workspace/oundry_device-onvif-camera_PR-65@tmp/private_key_527999684713018566.key) 10:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:11:30 + git semver init 10:11:30 2022-05-26 10:11:30,446 [run_init] DEBUG init version:0.0.0 force:False 10:11:30 2022-05-26 10:11:30,447 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-65/.semver 10:11:30 2022-05-26 10:11:30,447 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-65/.semver 10:11:30 2022-05-26 10:11:30,448 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-65/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-65, universal_newlines=False, shell=None, istream=None) 10:11:31 2022-05-26 10:11:31,111 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-65/.git/info/exclude 10:11:31 2022-05-26 10:11:31,111 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 with force:False 10:11:31 2022-05-26 10:11:31,111 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 10:11:31 2022-05-26 10:11:31,112 [write_version] DEBUG version is same as current version 0.0.0 10:11:31 2022-05-26 10:11:31,112 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-65/.semver/PR-65 10:11:31 0.0.0 [Pipeline] } 10:11:31 $ docker exec --env ******** --env ******** 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a ssh-agent -k 10:11:31 unset SSH_AUTH_SOCK; 10:11:31 unset SSH_AGENT_PID; 10:11:31 echo Agent pid 78 killed; 10:11:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:11:31 + git semver [Pipeline] } 10:11:32 $ docker stop --time=1 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a 10:11:33 $ docker rm -f 36e5922e039ef8efb447fcf19aa7b5e97acca91bda2d22462cd4bfbb344ed40a [Pipeline] // withDockerContainer [Pipeline] sh 10:11:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:11:34 Stashed 1 file(s) [Pipeline] echo 10:11:34 [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 10:11:34 provisioning config files... 10:11:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config2556273866693909567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:34 ---> docker-login.sh 10:11:34 nexus3.edgexfoundry.org:10001 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10002 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10003 10:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:34 Configure a credential helper to remove this warning. See 10:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:34 10:11:34 Login Succeeded 10:11:34 nexus3.edgexfoundry.org:10004 10:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:35 Configure a credential helper to remove this warning. See 10:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:35 10:11:35 Login Succeeded 10:11:35 docker.io 10:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:35 Configure a credential helper to remove this warning. See 10:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:35 10:11:35 Login Succeeded 10:11:35 ---> docker-login.sh ends [Pipeline] } 10:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:35 ========================================================= 10:11:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:11:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:35 + 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 . 10:11:35 Sending build context to Docker daemon 8.774MB 10:11:35 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:11:35 Step 2/13 : FROM ${BASE} AS builder 10:11:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:11:35 59bf1c3509f3: Pulling fs layer 10:11:35 666ba61612fd: Pulling fs layer 10:11:35 8ed8ca486205: Pulling fs layer 10:11:35 4fe6c5a15a65: Pulling fs layer 10:11:35 22a0e8bec74d: Pulling fs layer 10:11:35 ca2b28591e48: Pulling fs layer 10:11:35 a51346096db8: Pulling fs layer 10:11:35 daebc70d1ce1: Pulling fs layer 10:11:35 0e18a0eac166: Pulling fs layer 10:11:35 22a0e8bec74d: Waiting 10:11:35 4fe6c5a15a65: Waiting 10:11:35 a51346096db8: Waiting 10:11:35 0e18a0eac166: Waiting 10:11:35 ca2b28591e48: Waiting 10:11:35 8ed8ca486205: Verifying Checksum 10:11:35 8ed8ca486205: Download complete 10:11:35 666ba61612fd: Download complete 10:11:35 22a0e8bec74d: Verifying Checksum 10:11:35 22a0e8bec74d: Download complete 10:11:35 ca2b28591e48: Download complete 10:11:36 a51346096db8: Verifying Checksum 10:11:36 a51346096db8: Download complete 10:11:36 59bf1c3509f3: Verifying Checksum 10:11:36 59bf1c3509f3: Download complete 10:11:36 daebc70d1ce1: Verifying Checksum 10:11:36 daebc70d1ce1: Download complete 10:11:36 59bf1c3509f3: Pull complete 10:11:36 666ba61612fd: Pull complete 10:11:36 8ed8ca486205: Pull complete 10:11:36 0e18a0eac166: Verifying Checksum 10:11:36 0e18a0eac166: Download complete 10:11:36 4fe6c5a15a65: Verifying Checksum 10:11:36 4fe6c5a15a65: Download complete 10:11:41 4fe6c5a15a65: Pull complete 10:11:41 22a0e8bec74d: Pull complete 10:11:41 ca2b28591e48: Pull complete 10:11:41 a51346096db8: Pull complete 10:11:41 daebc70d1ce1: Pull complete 10:11:42 0e18a0eac166: Pull complete 10:11:42 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:11:42 ---> f018257e8ee9 10:11:42 Step 3/13 : ARG MAKE="make build" 10:11:44 ---> Running in d2494783b1cc 10:11:44 Removing intermediate container d2494783b1cc 10:11:44 ---> 51c721fac8d3 10:11:44 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:11:44 ---> Running in 1b2518fd9972 10:11:44 Removing intermediate container 1b2518fd9972 10:11:44 ---> b8b5442405a5 10:11:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:11:44 ---> Running in 910410c3000f 10:11:44 Removing intermediate container 910410c3000f 10:11:44 ---> 7d6efc866e89 10:11:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:11:44 ---> Running in 66ab306614c0 10:11:44 Removing intermediate container 66ab306614c0 10:11:44 ---> 7b7d19a13740 10:11:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:44 ---> Running in 335313f2289a 10:11:45 Removing intermediate container 335313f2289a 10:11:45 ---> 6354ac0888e2 10:11:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:45 ---> Running in 77d956c7d160 10:11:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:11:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:11:46 OK: 221 MiB in 52 packages 10:11:46 Removing intermediate container 77d956c7d160 10:11:46 ---> 06100fb20558 10:11:46 Step 9/13 : WORKDIR /device-onvif-camera 10:11:46 ---> Running in b832778a1f6c 10:11:46 Removing intermediate container b832778a1f6c 10:11:46 ---> 352f49c06202 10:11:46 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:11:47 ---> de059de10296 10:11:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:47 ---> Running in ecf1b5e886a1 10:11:48 Removing intermediate container ecf1b5e886a1 10:11:48 ---> 1096e66c2066 10:11:48 Step 12/13 : COPY . . 10:11:48 ---> 2604b7ac87e6 10:11:48 Step 13/13 : RUN ${MAKE} 10:11:48 ---> Running in 86a54652041a 10:11:48 noop 10:11:48 Removing intermediate container 86a54652041a 10:11:48 ---> 0a078b4a4fd8 10:11:48 Successfully built 0a078b4a4fd8 10:11:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:49 + docker inspect -f . ci-base-image-x86_64 10:11:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:49 Still waiting to schedule task 10:11:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-123’ is offline 10:11:49 prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container 10:11:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:49 $ docker top c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:50 + go version 10:11:50 go version go1.17.6 linux/amd64 [Pipeline] } 10:11:50 $ docker stop --time=1 c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 10:11:51 $ docker rm -f c6f1bdee860de98f9258bbea7a523df7c3af4c4f43476b0c8ee05f383c69fbe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:51 + docker inspect -f . ci-base-image-x86_64 10:11:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:51 prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container 10:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:11:52 $ docker top 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:11:52 + make test 10:11:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:52 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:11:52 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:11:53 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:11:53 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:11:53 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:11:53 go: downloading github.com/gorilla/mux v1.8.0 10:11:53 go: downloading github.com/stretchr/testify v1.7.1 10:11:53 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:11:53 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:11:53 go: downloading github.com/google/uuid v1.3.0 10:11:53 go: downloading github.com/beevik/etree v1.1.0 10:11:53 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:11:53 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:11:53 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:11:53 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:11:53 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:11:53 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:11:53 go: downloading github.com/pelletier/go-toml v1.9.4 10:11:53 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:11:53 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:11:53 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:11:53 go: downloading github.com/go-kit/log v0.2.0 10:11:53 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:11:53 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:11:53 go: downloading github.com/davecgh/go-spew v1.1.1 10:11:53 go: downloading github.com/pmezard/go-difflib v1.0.0 10:11:53 go: downloading github.com/hashicorp/errwrap v1.0.0 10:11:53 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:11:53 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:11:53 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:11:53 go: downloading github.com/hashicorp/consul/api v1.9.1 10:11:53 go: downloading github.com/go-playground/universal-translator v0.18.0 10:11:53 go: downloading github.com/leodido/go-urn v1.2.1 10:11:53 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:11:53 go: downloading golang.org/x/text v0.3.7 10:11:53 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:11:53 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:11:53 go: downloading github.com/x448/float16 v0.8.4 10:11:53 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:11:53 go: downloading github.com/pebbe/zmq4 v1.2.7 10:11:53 go: downloading github.com/go-playground/locales v0.14.0 10:11:53 go: downloading github.com/zeebo/errs v1.2.2 10:11:53 go: downloading google.golang.org/grpc v1.42.0 10:11:53 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:11:53 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:11:53 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:11:53 go: downloading github.com/hashicorp/serf v0.9.5 10:11:53 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:11:53 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:11:53 go: downloading github.com/mitchellh/copystructure v1.0.0 10:11:53 go: downloading github.com/gorilla/websocket v1.4.2 10:11:53 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:11:53 go: downloading google.golang.org/protobuf v1.27.1 10:11:53 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:11:53 go: downloading github.com/fatih/color v1.9.0 10:11:53 go: downloading github.com/mattn/go-isatty v0.0.12 10:11:53 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:11:53 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:11:53 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:11:53 go: downloading github.com/mattn/go-colorable v0.1.6 10:11:53 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:11:53 go: downloading github.com/golang/protobuf v1.5.2 10:11:53 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:11:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:12:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:12:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 0.9% of statements 10:12:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:12:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:12:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:12:18 ./bin/test-attribution-txt.sh 10:12:18 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 10:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:12:18 $ docker stop --time=1 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b 10:12:20 $ docker rm -f 17bdc4cd81134142f174d970ddfb8a3aa6e20bcb060b4b9f9ddb3d6d8b31fb1b [Pipeline] // withDockerContainer [Pipeline] sh 10:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:22 + ls -al . 10:12:22 total 224 10:12:22 drwxrwxr-x 10 jenkins jenkins 4096 May 26 10:12 . 10:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:11 .. 10:12:22 drwxrwxr-x 8 jenkins jenkins 4096 May 26 10:11 .git 10:12:22 drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:11 .github 10:12:22 -rw-rw-r-- 1 jenkins jenkins 352 May 26 10:11 .gitignore 10:12:22 -rw-rw-r-- 1 jenkins jenkins 42 May 26 10:11 .golangci.yml 10:12:22 drwxr-xr-x 3 jenkins jenkins 4096 May 26 10:11 .semver 10:12:22 -rw-rw-r-- 1 jenkins jenkins 9415 May 26 10:11 Attribution.txt 10:12:22 -rw-rw-r-- 1 jenkins jenkins 189 May 26 10:11 CHANGELOG.md 10:12:22 -rw-rw-r-- 1 jenkins jenkins 1686 May 26 10:11 Dockerfile 10:12:22 -rw-rw-r-- 1 jenkins jenkins 677 May 26 10:11 GOVERNANCE.md 10:12:22 -rw-rw-r-- 1 jenkins jenkins 660 May 26 10:11 Jenkinsfile 10:12:22 -rw-rw-r-- 1 jenkins jenkins 11348 May 26 10:11 LICENSE 10:12:22 -rw-rw-r-- 1 jenkins jenkins 2473 May 26 10:11 Makefile 10:12:22 -rw-rw-r-- 1 jenkins jenkins 625 May 26 10:11 OWNERS.md 10:12:22 -rw-rw-r-- 1 jenkins jenkins 28742 May 26 10:11 README.md 10:12:22 -rw-rw-r-- 1 jenkins jenkins 5 May 26 10:11 VERSION 10:12:22 drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:11 bin 10:12:22 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 cmd 10:12:22 -rw-r--r-- 1 jenkins jenkins 42596 May 26 10:12 coverage.out 10:12:22 drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:11 doc 10:12:22 -rw-rw-r-- 1 jenkins jenkins 3716 May 26 10:11 go.mod 10:12:22 -rw-rw-r-- 1 jenkins jenkins 37264 May 26 10:11 go.sum 10:12:22 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 internal 10:12:22 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:11 pkg 10:12:22 -rw-rw-r-- 1 jenkins jenkins 236 May 26 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:22 + 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=16c10b8b6338fde71f23404f4356a039771b1a1b --label arch=amd64 --label version=0.0.0 . 10:12:22 Sending build context to Docker daemon 8.817MB 10:12:22 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:12:22 Step 2/26 : FROM ${BASE} AS builder 10:12:22 ---> 0a078b4a4fd8 10:12:22 Step 3/26 : ARG MAKE="make build" 10:12:22 ---> Running in 057f96a5464a 10:12:22 Removing intermediate container 057f96a5464a 10:12:22 ---> c16bdae46142 10:12:22 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:12:22 ---> Running in a442fe4c85ec 10:12:22 Removing intermediate container a442fe4c85ec 10:12:22 ---> 1f55d161cda0 10:12:22 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:12:22 ---> Running in 18d5aaa7cadc 10:12:23 Removing intermediate container 18d5aaa7cadc 10:12:23 ---> 8d0a23d1fdfc 10:12:23 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:12:23 ---> Running in 3e844ccb504e 10:12:23 Removing intermediate container 3e844ccb504e 10:12:23 ---> f5c4112b1515 10:12:23 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:23 ---> Running in 855ef799fcca 10:12:23 Removing intermediate container 855ef799fcca 10:12:23 ---> 95c6d4caa750 10:12:23 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:23 ---> Running in ead5d6ab44b9 10:12:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:12:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:12:25 OK: 221 MiB in 52 packages 10:12:25 Removing intermediate container ead5d6ab44b9 10:12:25 ---> fa6fa9a03da7 10:12:25 Step 9/26 : WORKDIR /device-onvif-camera 10:12:25 ---> Running in dae0e8f3d9c2 10:12:25 Removing intermediate container dae0e8f3d9c2 10:12:25 ---> f403c2afcfda 10:12:25 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:12:25 ---> a99e5afb6617 10:12:25 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:25 ---> Running in 89e587dca4a4 10:12:26 Removing intermediate container 89e587dca4a4 10:12:26 ---> 78ad58df603f 10:12:26 Step 12/26 : COPY . . 10:12:26 ---> f509e00eadcb 10:12:26 Step 13/26 : RUN ${MAKE} 10:12:26 ---> Running in 3f48a787f36d 10:12:26 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 10:12:26 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:12:26 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:12:26 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:12:26 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:12:26 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:12:27 go: downloading github.com/gorilla/mux v1.8.0 10:12:27 go: downloading github.com/beevik/etree v1.1.0 10:12:27 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:12:27 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:12:27 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:12:27 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:12:27 go: downloading github.com/google/uuid v1.3.0 10:12:27 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:12:27 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:12:27 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:12:27 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:12:27 go: downloading github.com/pelletier/go-toml v1.9.4 10:12:27 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:12:27 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:12:27 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:12:27 go: downloading github.com/go-kit/log v0.2.0 10:12:27 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:12:27 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:12:27 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:12:27 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:12:27 go: downloading github.com/hashicorp/errwrap v1.0.0 10:12:27 go: downloading github.com/hashicorp/consul/api v1.9.1 10:12:27 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:12:27 go: downloading github.com/x448/float16 v0.8.4 10:12:27 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:12:27 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:12:27 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:12:27 go: downloading github.com/pebbe/zmq4 v1.2.7 10:12:27 go: downloading github.com/go-playground/universal-translator v0.18.0 10:12:27 go: downloading github.com/leodido/go-urn v1.2.1 10:12:27 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:12:27 go: downloading golang.org/x/text v0.3.7 10:12:27 go: downloading github.com/zeebo/errs v1.2.2 10:12:27 go: downloading google.golang.org/grpc v1.42.0 10:12:27 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:12:27 go: downloading github.com/mitchellh/copystructure v1.0.0 10:12:27 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:12:27 go: downloading github.com/go-playground/locales v0.14.0 10:12:27 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:12:27 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:12:27 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:12:27 go: downloading github.com/hashicorp/serf v0.9.5 10:12:27 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:12:27 go: downloading google.golang.org/protobuf v1.27.1 10:12:27 go: downloading github.com/gorilla/websocket v1.4.2 10:12:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:12:27 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:12:27 go: downloading github.com/fatih/color v1.9.0 10:12:27 go: downloading github.com/mattn/go-isatty v0.0.12 10:12:27 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:12:27 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:12:27 go: downloading github.com/mattn/go-colorable v0.1.6 10:12:27 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:12:27 go: downloading github.com/golang/protobuf v1.5.2 10:12:27 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:12:59 Removing intermediate container 3f48a787f36d 10:12:59 ---> f8745f371b2b 10:12:59 Step 14/26 : FROM alpine:3.15 10:12:59 3.15: Pulling from library/alpine 10:12:59 df9b9388f04a: Pulling fs layer 10:12:59 df9b9388f04a: Verifying Checksum 10:12:59 df9b9388f04a: Download complete 10:12:59 df9b9388f04a: Pull complete 10:12:59 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:12:59 Status: Downloaded newer image for alpine:3.15 10:12:59 ---> 0ac33e5f5afa 10:12:59 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:12:59 ---> Running in c722d3d463c4 10:12:59 Removing intermediate container c722d3d463c4 10:12:59 ---> e6d954c77b4b 10:12:59 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:12:59 ---> Running in 2be5bf703494 10:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:12:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:12:59 (1/6) Installing dumb-init (1.2.5-r1) 10:12:59 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:12:59 (3/6) Installing libsodium (1.0.18-r0) 10:12:59 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:12:59 (5/6) Installing libzmq (4.3.4-r0) 10:12:59 (6/6) Installing zeromq (4.3.4-r0) 10:12:59 Executing busybox-1.34.1-r5.trigger 10:12:59 OK: 8 MiB in 20 packages 10:12:59 Removing intermediate container 2be5bf703494 10:12:59 ---> a3c4730be673 10:12:59 Step 17/26 : WORKDIR / 10:12:59 ---> Running in f28b7ddb9dcb 10:12:59 Removing intermediate container f28b7ddb9dcb 10:12:59 ---> ccc59bfca6ac 10:12:59 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:12:59 ---> 5e52579016e5 10:12:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:12:59 ---> 1bfc40d63aca 10:12:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:12:59 ---> 9e071174d758 10:12:59 Step 21/26 : EXPOSE 59984 10:12:59 ---> Running in 3d5f7d5d4626 10:12:59 Removing intermediate container 3d5f7d5d4626 10:12:59 ---> 877d8aaa97be 10:12:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:12:59 ---> Running in b518aa318e85 10:12:59 Removing intermediate container b518aa318e85 10:12:59 ---> 0e7c6376074d 10:12:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:59 ---> Running in 7070d209b3e8 10:12:59 Removing intermediate container 7070d209b3e8 10:12:59 ---> 987eca103c86 10:12:59 Step 24/26 : LABEL arch=amd64 10:12:59 ---> Running in 614cb8a7e519 10:12:59 Removing intermediate container 614cb8a7e519 10:12:59 ---> e8c2036291f0 10:12:59 Step 25/26 : LABEL git_sha=16c10b8b6338fde71f23404f4356a039771b1a1b 10:12:59 ---> Running in 18cdd58faa55 10:12:59 Removing intermediate container 18cdd58faa55 10:12:59 ---> 1cf489db2e43 10:12:59 Step 26/26 : LABEL version=0.0.0 10:12:59 ---> Running in ffe67ec459e5 10:12:59 Removing intermediate container ffe67ec459e5 10:12:59 ---> 7c5f2e345a4c 10:12:59 [Warning] One or more build-args [ARCH] were not consumed 10:12:59 Successfully built 7c5f2e345a4c 10:12:59 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 10:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:00 10:13:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:00 latest: Pulling from edgex-lftools-log-publisher 10:13:00 5eb5b503b376: Pulling fs layer 10:13:00 5c69ac0246d0: Pulling fs layer 10:13:00 ec43610c2a17: Pulling fs layer 10:13:00 3a2ae6a8a46f: Pulling fs layer 10:13:00 33b1e0a273af: Pulling fs layer 10:13:00 5d3b04190fa2: Pulling fs layer 10:13:00 2f39f015ded8: Pulling fs layer 10:13:00 33b1e0a273af: Waiting 10:13:00 5d3b04190fa2: Waiting 10:13:00 2f39f015ded8: Waiting 10:13:00 3a2ae6a8a46f: Waiting 10:13:00 5c69ac0246d0: Download complete 10:13:00 3a2ae6a8a46f: Download complete 10:13:00 33b1e0a273af: Verifying Checksum 10:13:00 33b1e0a273af: Download complete 10:13:00 5d3b04190fa2: Download complete 10:13:00 ec43610c2a17: Download complete 10:13:00 5eb5b503b376: Verifying Checksum 10:13:00 5eb5b503b376: Download complete 10:13:01 2f39f015ded8: Download complete 10:13:01 5eb5b503b376: Pull complete 10:13:02 5c69ac0246d0: Pull complete 10:13:02 ec43610c2a17: Pull complete 10:13:02 3a2ae6a8a46f: Pull complete 10:13:02 33b1e0a273af: Pull complete 10:13:02 5d3b04190fa2: Pull complete 10:13:07 2f39f015ded8: Pull complete 10:13:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:07 prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container 10:13:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:13:08 $ docker top c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:09 ---> job-cost.sh 10:13:09 lf-activate-venv: SKIPPING 10:13:09 INFO: No Stack... 10:13:09 INFO: Retrieving Pricing Info for: v3-standard-8 10:13:10 INFO: Archiving Costs [Pipeline] sh 10:13:10 + + cat /w/workspace/oundry_device-onvif-camera_PR-65/archives/cost.csv 10:13:10 cut -d, -f6 [Pipeline] lock 10:13:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] 10:13:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] did not exist. Created. 10:13:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:11 + echo total: 0.2199999988079071 [Pipeline] stash 10:13:11 Stashed 1 file(s) [Pipeline] } 10:13:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:11 $ docker stop --time=1 c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 10:13:12 $ docker rm -f c77b9814c7726d697212d64dbc0bd95fa4c55cd9fddff61dc8bb7e79aaa911d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:14:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-124 in /w/workspace/oundry_device-onvif-camera_PR-65 [Pipeline] { [Pipeline] ws 10:14:22 Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout 10:14:22 Selected Git installation does not exist. Using Default 10:14:22 The recommended git tool is: NONE 10:14:29 using credential edgex-jenkins-ssh 10:14:29 Cloning the remote Git repository 10:14:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:14:29 > git init /w/workspace/device-onvif-camera/12 # timeout=10 10:14:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:29 > git --version # timeout=10 10:14:29 > git --version # 'git version 2.25.1' 10:14:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:31 Merging remotes/origin/main commit 276b854d0043017d2cd132a5df48fee36b7a1e4c into PR head commit f92c7211e63df553c60284b71f5b9253c4ebb8b3 10:14:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:14:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:14:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:14:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:14:31 > git config core.sparsecheckout # timeout=10 10:14:31 > git checkout -f f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 10:14:31 > git remote # timeout=10 10:14:31 > git config --get remote.origin.url # timeout=10 10:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:14:31 > git merge 276b854d0043017d2cd132a5df48fee36b7a1e4c # timeout=10 10:14:31 Merge succeeded, producing 807ec9d7b7af48af72e33211e43297a64da5e492 10:14:31 Checking out Revision 807ec9d7b7af48af72e33211e43297a64da5e492 (PR-65) 10:14:31 > git rev-parse HEAD^{commit} # timeout=10 10:14:31 > git config core.sparsecheckout # timeout=10 10:14:31 > git checkout -f 807ec9d7b7af48af72e33211e43297a64da5e492 # timeout=10 10:14:36 Commit message: "Merge commit '276b854d0043017d2cd132a5df48fee36b7a1e4c' into HEAD" 10:14:36 > git rev-list --no-walk f92c7211e63df553c60284b71f5b9253c4ebb8b3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:14:36 % Total % Received % Xferd Average Speed Time Time Time Current 10:14:36 Dload Upload Total Spent Left Speed 10:14:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 10:14:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:14:38 + sudo tee /etc/docker/daemon.new 10:14:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:14:38 { 10:14:38 "registry-mirrors": [ 10:14:38 "https://nexus3.edgexfoundry.org:10001" 10:14:38 ], 10:14:38 "bip": "10.250.0.254/24", 10:14:38 "hosts": [ 10:14:38 "tcp://0.0.0.0:5555", 10:14:38 "unix:///var/run/docker.sock" 10:14:38 ], 10:14:38 "mtu": 1458, 10:14:38 "selinux-enabled": true, 10:14:38 "seccomp-profile": "/etc/docker/seccomp.json" 10:14:38 } [Pipeline] sh 10:14:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:14:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:14:57 provisioning config files... 10:14:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config1225108309192960360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:14:57 ---> docker-login.sh 10:14:57 nexus3.edgexfoundry.org:10001 10:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:58 Configure a credential helper to remove this warning. See 10:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:58 10:14:58 Login Succeeded 10:14:58 nexus3.edgexfoundry.org:10002 10:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:59 Configure a credential helper to remove this warning. See 10:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:59 10:14:59 Login Succeeded 10:14:59 nexus3.edgexfoundry.org:10003 10:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:59 Configure a credential helper to remove this warning. See 10:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:59 10:14:59 Login Succeeded 10:14:59 nexus3.edgexfoundry.org:10004 10:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:14:59 Configure a credential helper to remove this warning. See 10:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:14:59 10:14:59 Login Succeeded 10:15:00 docker.io 10:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:15:00 Configure a credential helper to remove this warning. See 10:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:15:00 10:15:00 Login Succeeded 10:15:00 ---> docker-login.sh ends [Pipeline] } 10:15:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:15:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:15:01 ========================================================= 10:15:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:15:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:01 + 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 . 10:15:01 Sending build context to Docker daemon 6.057MB 10:15:01 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 10:15:01 Step 2/13 : FROM ${BASE} AS builder 10:15:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:15:01 9b3977197b4f: Pulling fs layer 10:15:01 1a89e8eeedd5: Pulling fs layer 10:15:01 94645a83ff95: Pulling fs layer 10:15:01 3f3a8bcf1eab: Pulling fs layer 10:15:01 0c92f367c5e7: Pulling fs layer 10:15:01 3096ccb668a1: Pulling fs layer 10:15:01 e8cf19c19ddd: Pulling fs layer 10:15:01 3f3a8bcf1eab: Waiting 10:15:01 0c92f367c5e7: Waiting 10:15:01 3096ccb668a1: Waiting 10:15:01 a4caa8a26152: Pulling fs layer 10:15:01 e8cf19c19ddd: Waiting 10:15:01 a4caa8a26152: Waiting 10:15:01 94645a83ff95: Verifying Checksum 10:15:01 94645a83ff95: Download complete 10:15:01 1a89e8eeedd5: Verifying Checksum 10:15:01 1a89e8eeedd5: Download complete 10:15:01 0c92f367c5e7: Download complete 10:15:01 3096ccb668a1: Verifying Checksum 10:15:01 3096ccb668a1: Download complete 10:15:01 9b3977197b4f: Download complete 10:15:02 e8cf19c19ddd: Verifying Checksum 10:15:02 e8cf19c19ddd: Download complete 10:15:02 9b3977197b4f: Pull complete 10:15:03 1a89e8eeedd5: Pull complete 10:15:03 94645a83ff95: Pull complete 10:15:04 a4caa8a26152: Verifying Checksum 10:15:04 a4caa8a26152: Download complete 10:15:04 3f3a8bcf1eab: Verifying Checksum 10:15:17 3f3a8bcf1eab: Pull complete 10:15:17 0c92f367c5e7: Pull complete 10:15:17 3096ccb668a1: Pull complete 10:15:17 e8cf19c19ddd: Pull complete 10:15:24 a4caa8a26152: Pull complete 10:15:24 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:15:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:15:24 ---> 725f1c02e7f9 10:15:24 Step 3/13 : ARG MAKE="make build" 10:15:25 ---> Running in 1b8c8bcbcad3 10:15:25 Removing intermediate container 1b8c8bcbcad3 10:15:25 ---> 67f01ec86d57 10:15:25 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:15:25 ---> Running in 7801b7398051 10:15:25 Removing intermediate container 7801b7398051 10:15:25 ---> 2cbf63ff93ad 10:15:25 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 10:15:25 ---> Running in 67900cb2fb6d 10:15:26 Removing intermediate container 67900cb2fb6d 10:15:26 ---> 970580552922 10:15:26 Step 6/13 : LABEL Name=edgex-device-onvif-camera 10:15:26 ---> Running in c8cbee8d4e2c 10:15:26 Removing intermediate container c8cbee8d4e2c 10:15:26 ---> 4882e4c0bf0e 10:15:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:26 ---> Running in c302b9f56ec9 10:15:28 Removing intermediate container c302b9f56ec9 10:15:28 ---> 2b2b84f8deda 10:15:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:28 ---> Running in 06f81b0a6c05 10:15:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:15:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:15:31 OK: 220 MiB in 52 packages 10:15:32 Removing intermediate container 06f81b0a6c05 10:15:32 ---> c3399077fef8 10:15:32 Step 9/13 : WORKDIR /device-onvif-camera 10:15:32 ---> Running in 9b9ec219e8f5 10:15:32 Removing intermediate container 9b9ec219e8f5 10:15:32 ---> 5bee9ed31806 10:15:32 Step 10/13 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:15:33 ---> 2fc33ed1e2d0 10:15:33 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:33 ---> Running in 0cd515992d1a 10:15:35 Removing intermediate container 0cd515992d1a 10:15:35 ---> 6b05539f416b 10:15:35 Step 12/13 : COPY . . 10:15:36 ---> edab27975f7b 10:15:36 Step 13/13 : RUN ${MAKE} 10:15:36 ---> Running in 386d355354e8 10:15:37 noop 10:15:38 Removing intermediate container 386d355354e8 10:15:38 ---> 82e4867c4987 10:15:38 Successfully built 82e4867c4987 10:15:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:38 + docker inspect -f . ci-base-image-arm64 10:15:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:38 prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container 10:15:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:15:40 $ docker top c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b -eo pid,comm [Pipeline] { [Pipeline] sh 10:15:41 + go version 10:15:41 go version go1.17.6 linux/arm64 [Pipeline] } 10:15:41 $ docker stop --time=1 c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b 10:15:42 $ docker rm -f c503df4ffc1da3721331827a439c0b255b6291f2f427a6ade1ee3ebdc7d87e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:15:43 + docker inspect -f . ci-base-image-arm64 10:15:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container 10:15:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:15:45 $ docker top ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:15:46 + make test 10:15:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:15:46 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:15:46 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:15:46 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:15:46 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:15:46 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:15:46 go: downloading github.com/gorilla/mux v1.8.0 10:15:46 go: downloading github.com/stretchr/testify v1.7.1 10:15:46 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:15:46 go: downloading github.com/beevik/etree v1.1.0 10:15:46 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:15:46 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:15:46 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:15:47 go: downloading github.com/google/uuid v1.3.0 10:15:47 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:15:47 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:15:47 go: downloading github.com/go-kit/log v0.2.0 10:15:47 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:15:47 go: downloading github.com/davecgh/go-spew v1.1.1 10:15:47 go: downloading github.com/pmezard/go-difflib v1.0.0 10:15:47 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:15:47 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:15:47 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:15:47 go: downloading github.com/pelletier/go-toml v1.9.4 10:15:47 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:15:47 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:15:47 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:15:47 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:15:47 go: downloading github.com/hashicorp/errwrap v1.0.0 10:15:47 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:15:47 go: downloading github.com/go-playground/universal-translator v0.18.0 10:15:47 go: downloading github.com/leodido/go-urn v1.2.1 10:15:47 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:15:47 go: downloading golang.org/x/text v0.3.7 10:15:48 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:15:48 go: downloading github.com/hashicorp/consul/api v1.9.1 10:15:48 go: downloading github.com/x448/float16 v0.8.4 10:15:48 go: downloading github.com/zeebo/errs v1.2.2 10:15:48 go: downloading google.golang.org/grpc v1.42.0 10:15:49 go: downloading github.com/go-playground/locales v0.14.0 10:15:49 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:15:49 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:15:49 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:15:49 go: downloading github.com/pebbe/zmq4 v1.2.7 10:15:49 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:15:49 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:15:50 go: downloading google.golang.org/protobuf v1.27.1 10:15:51 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:15:51 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:15:51 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:15:51 go: downloading github.com/hashicorp/serf v0.9.5 10:15:51 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:15:51 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:15:51 go: downloading github.com/gorilla/websocket v1.4.2 10:15:52 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:15:52 go: downloading github.com/mitchellh/copystructure v1.0.0 10:15:52 go: downloading github.com/fatih/color v1.9.0 10:15:52 go: downloading github.com/mattn/go-isatty v0.0.12 10:15:52 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:15:52 go: downloading github.com/golang/protobuf v1.5.2 10:15:52 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:15:52 go: downloading github.com/mattn/go-colorable v0.1.6 10:15:52 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:15:52 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:15:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:17:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 10:17:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.078s coverage: 0.9% of statements 10:17:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:17:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:17:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:58 ./bin/test-attribution-txt.sh 10:17:58 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 10:17:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:17:59 $ docker stop --time=1 ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 10:18:01 $ docker rm -f ac64a72ad2c3f715ee630a1b1b69af685e9cd8e8fd3bb9082f08ea1c96a0f296 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:18:04 Warning: overwriting stash ‘coverage-report’ 10:18:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:18:05 + ls -al . 10:18:05 total 220 10:18:05 drwxrwxr-x 9 jenkins jenkins 4096 May 26 10:17 . 10:18:05 drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:14 .. 10:18:05 drwxrwxr-x 8 jenkins jenkins 4096 May 26 10:14 .git 10:18:05 drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:14 .github 10:18:05 -rw-rw-r-- 1 jenkins jenkins 352 May 26 10:14 .gitignore 10:18:05 -rw-rw-r-- 1 jenkins jenkins 42 May 26 10:14 .golangci.yml 10:18:05 -rw-rw-r-- 1 jenkins jenkins 9415 May 26 10:14 Attribution.txt 10:18:05 -rw-rw-r-- 1 jenkins jenkins 189 May 26 10:14 CHANGELOG.md 10:18:05 -rw-rw-r-- 1 jenkins jenkins 1686 May 26 10:14 Dockerfile 10:18:05 -rw-rw-r-- 1 jenkins jenkins 677 May 26 10:14 GOVERNANCE.md 10:18:05 -rw-rw-r-- 1 jenkins jenkins 660 May 26 10:14 Jenkinsfile 10:18:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 26 10:14 LICENSE 10:18:05 -rw-rw-r-- 1 jenkins jenkins 2473 May 26 10:14 Makefile 10:18:05 -rw-rw-r-- 1 jenkins jenkins 625 May 26 10:14 OWNERS.md 10:18:05 -rw-rw-r-- 1 jenkins jenkins 28742 May 26 10:14 README.md 10:18:05 -rw-rw-r-- 1 jenkins jenkins 5 May 26 10:11 VERSION 10:18:05 drwxrwxr-x 2 jenkins jenkins 4096 May 26 10:14 bin 10:18:05 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 cmd 10:18:05 -rw-r--r-- 1 jenkins jenkins 42596 May 26 10:17 coverage.out 10:18:05 drwxrwxr-x 4 jenkins jenkins 4096 May 26 10:14 doc 10:18:05 -rw-rw-r-- 1 jenkins jenkins 3716 May 26 10:14 go.mod 10:18:05 -rw-rw-r-- 1 jenkins jenkins 37264 May 26 10:14 go.sum 10:18:05 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 internal 10:18:05 drwxrwxr-x 3 jenkins jenkins 4096 May 26 10:14 pkg 10:18:05 -rw-rw-r-- 1 jenkins jenkins 236 May 26 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:05 + 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=807ec9d7b7af48af72e33211e43297a64da5e492 --label arch=arm64 --label version=0.0.0 . 10:18:06 Sending build context to Docker daemon 6.101MB 10:18:06 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 10:18:06 Step 2/26 : FROM ${BASE} AS builder 10:18:06 ---> 82e4867c4987 10:18:06 Step 3/26 : ARG MAKE="make build" 10:18:06 ---> Running in 1eaa9fbf3d53 10:18:06 Removing intermediate container 1eaa9fbf3d53 10:18:06 ---> c646d9037e7d 10:18:06 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:18:06 ---> Running in 65dd36cf69b9 10:18:06 Removing intermediate container 65dd36cf69b9 10:18:06 ---> a7f9896c2e67 10:18:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 10:18:07 ---> Running in 800b2e75d560 10:18:07 Removing intermediate container 800b2e75d560 10:18:07 ---> 8fb15a7245c6 10:18:07 Step 6/26 : LABEL Name=edgex-device-onvif-camera 10:18:07 ---> Running in 343d13eef19f 10:18:07 Removing intermediate container 343d13eef19f 10:18:07 ---> f9566ab7e3e0 10:18:07 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:07 ---> Running in 692550061a21 10:18:09 Removing intermediate container 692550061a21 10:18:09 ---> 9d4d9aeb3871 10:18:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:09 ---> Running in d45c89edc220 10:18:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:18:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:18:12 OK: 220 MiB in 52 packages 10:18:13 Removing intermediate container d45c89edc220 10:18:13 ---> e0b95a6b5a79 10:18:13 Step 9/26 : WORKDIR /device-onvif-camera 10:18:13 ---> Running in 3b233949fc23 10:18:13 Removing intermediate container 3b233949fc23 10:18:13 ---> d13f81a95c04 10:18:13 Step 10/26 : COPY go.mod vendor* pkg/netscan/go.mod ./ 10:18:14 ---> fbb201e85d56 10:18:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:14 ---> Running in b6160993cfce 10:18:15 Removing intermediate container b6160993cfce 10:18:15 ---> 4d44a8bfbf5a 10:18:15 Step 12/26 : COPY . . 10:18:16 ---> 4cf6451b6c57 10:18:16 Step 13/26 : RUN ${MAKE} 10:18:16 ---> Running in 3bae3f9d716a 10:18:17 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 10:18:18 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.2.0 10:18:18 go: downloading github.com/IOTechSystems/onvif v0.1.1 10:18:19 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.2.0 10:18:19 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0 10:18:19 go: downloading github.com/gofrs/uuid v3.2.0+incompatible 10:18:19 go: downloading github.com/gorilla/mux v1.8.0 10:18:19 go: downloading github.com/beevik/etree v1.1.0 10:18:19 go: downloading github.com/elgs/gostrgen v0.0.0-20161222160715-9d61ae07eeae 10:18:19 go: downloading github.com/clbanning/mxj/v2 v2.3.2 10:18:19 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 10:18:19 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0 10:18:19 go: downloading github.com/google/uuid v1.3.0 10:18:19 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0 10:18:20 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:18:20 go: downloading github.com/go-kit/log v0.2.0 10:18:20 go: downloading github.com/go-playground/validator/v10 v10.10.1 10:18:20 go: downloading github.com/OneOfOne/xxhash v1.2.8 10:18:20 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0 10:18:20 go: downloading github.com/pelletier/go-toml v1.9.4 10:18:20 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 10:18:20 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0 10:18:20 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 10:18:20 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:18:20 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 10:18:20 go: downloading github.com/hashicorp/errwrap v1.0.0 10:18:20 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:18:20 go: downloading github.com/go-playground/universal-translator v0.18.0 10:18:20 go: downloading github.com/leodido/go-urn v1.2.1 10:18:20 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 10:18:20 go: downloading golang.org/x/text v0.3.7 10:18:21 go: downloading bitbucket.org/bertimus9/systemstat v0.5.0 10:18:21 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 10:18:21 go: downloading github.com/hashicorp/consul/api v1.9.1 10:18:21 go: downloading github.com/x448/float16 v0.8.4 10:18:21 go: downloading github.com/zeebo/errs v1.2.2 10:18:21 go: downloading google.golang.org/grpc v1.42.0 10:18:23 go: downloading github.com/go-playground/locales v0.14.0 10:18:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 10:18:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:18:23 go: downloading github.com/pebbe/zmq4 v1.2.7 10:18:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:18:23 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 10:18:23 go: downloading github.com/hashicorp/go-hclog v0.12.0 10:18:23 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:18:23 go: downloading github.com/hashicorp/serf v0.9.5 10:18:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 10:18:23 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 10:18:23 go: downloading google.golang.org/protobuf v1.27.1 10:18:24 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 10:18:24 go: downloading github.com/gorilla/websocket v1.4.2 10:18:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:18:24 go: downloading github.com/mitchellh/copystructure v1.0.0 10:18:24 go: downloading github.com/fatih/color v1.9.0 10:18:24 go: downloading github.com/mattn/go-isatty v0.0.12 10:18:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 10:18:24 go: downloading github.com/golang/protobuf v1.5.2 10:18:25 go: downloading github.com/mitchellh/reflectwalk v1.0.0 10:18:25 go: downloading github.com/mattn/go-colorable v0.1.6 10:18:25 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 10:18:25 go: downloading github.com/hashicorp/golang-lru v0.5.0 10:21:02 Removing intermediate container 3bae3f9d716a 10:21:02 ---> a092c350961d 10:21:02 Step 14/26 : FROM alpine:3.15 10:21:02 3.15: Pulling from library/alpine 10:21:02 9981e73032c8: Pulling fs layer 10:21:02 9981e73032c8: Verifying Checksum 10:21:02 9981e73032c8: Download complete 10:21:02 9981e73032c8: Pull complete 10:21:02 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:21:02 Status: Downloaded newer image for alpine:3.15 10:21:02 ---> 3fb3c9af89a9 10:21:02 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:21:02 ---> Running in 87820e649487 10:21:02 Removing intermediate container 87820e649487 10:21:02 ---> 1940a54d6edc 10:21:02 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:21:02 ---> Running in bf21a361362b 10:21:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:21:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:21:02 (1/6) Installing dumb-init (1.2.5-r1) 10:21:02 (2/6) Installing libgcc (10.3.1_git20211027-r0) 10:21:02 (3/6) Installing libsodium (1.0.18-r0) 10:21:02 (4/6) Installing libstdc++ (10.3.1_git20211027-r0) 10:21:02 (5/6) Installing libzmq (4.3.4-r0) 10:21:02 (6/6) Installing zeromq (4.3.4-r0) 10:21:02 Executing busybox-1.34.1-r5.trigger 10:21:02 OK: 8 MiB in 20 packages 10:21:02 Removing intermediate container bf21a361362b 10:21:02 ---> 0d073007a438 10:21:02 Step 17/26 : WORKDIR / 10:21:02 ---> Running in 526c11aac789 10:21:02 Removing intermediate container 526c11aac789 10:21:02 ---> e06a49dbefe7 10:21:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 10:21:02 ---> 4a63ae1c8f2d 10:21:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 10:21:02 ---> d59b892a6981 10:21:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:21:02 ---> dc608d204bbf 10:21:02 Step 21/26 : EXPOSE 59984 10:21:02 ---> Running in 9a1d2da72c73 10:21:02 Removing intermediate container 9a1d2da72c73 10:21:02 ---> ff3aa849ed2d 10:21:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 10:21:02 ---> Running in 096f530717d8 10:21:02 Removing intermediate container 096f530717d8 10:21:02 ---> 8058643b6b14 10:21:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:21:02 ---> Running in 163c33b2df09 10:21:02 Removing intermediate container 163c33b2df09 10:21:02 ---> ea300866e390 10:21:02 Step 24/26 : LABEL arch=arm64 10:21:02 ---> Running in 292319086aeb 10:21:02 Removing intermediate container 292319086aeb 10:21:02 ---> e2a934ebb26b 10:21:02 Step 25/26 : LABEL git_sha=807ec9d7b7af48af72e33211e43297a64da5e492 10:21:02 ---> Running in 264f0d9226d9 10:21:02 Removing intermediate container 264f0d9226d9 10:21:02 ---> e6d328b2fbaa 10:21:02 Step 26/26 : LABEL version=0.0.0 10:21:02 ---> Running in cc11f494242d 10:21:02 Removing intermediate container cc11f494242d 10:21:02 ---> c0ca3ac5d2a2 10:21:02 [Warning] One or more build-args [ARCH] were not consumed 10:21:02 Successfully built c0ca3ac5d2a2 10:21:02 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 10:21:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:02 10:21:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:02 arm64: Pulling from edgex-lftools-log-publisher 10:21:02 8998bd30e6a1: Pulling fs layer 10:21:02 04944245beec: Pulling fs layer 10:21:02 699f458cf7ca: Pulling fs layer 10:21:02 765212b225bb: Pulling fs layer 10:21:02 f23df028b6ca: Pulling fs layer 10:21:02 d65c8cfc05b1: Pulling fs layer 10:21:02 2437ff75d9bd: Pulling fs layer 10:21:02 765212b225bb: Waiting 10:21:02 f23df028b6ca: Waiting 10:21:02 d65c8cfc05b1: Waiting 10:21:02 2437ff75d9bd: Waiting 10:21:03 04944245beec: Verifying Checksum 10:21:03 04944245beec: Download complete 10:21:03 765212b225bb: Download complete 10:21:03 f23df028b6ca: Verifying Checksum 10:21:03 f23df028b6ca: Download complete 10:21:03 d65c8cfc05b1: Verifying Checksum 10:21:03 d65c8cfc05b1: Download complete 10:21:03 699f458cf7ca: Verifying Checksum 10:21:03 699f458cf7ca: Download complete 10:21:03 8998bd30e6a1: Verifying Checksum 10:21:03 8998bd30e6a1: Download complete 10:21:05 2437ff75d9bd: Verifying Checksum 10:21:05 2437ff75d9bd: Download complete 10:21:08 8998bd30e6a1: Pull complete 10:21:08 04944245beec: Pull complete 10:21:09 699f458cf7ca: Pull complete 10:21:10 765212b225bb: Pull complete 10:21:11 f23df028b6ca: Pull complete 10:21:11 d65c8cfc05b1: Pull complete 10:21:26 2437ff75d9bd: Pull complete 10:21:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:21:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:26 prd-ubuntu20.04-docker-arm64-4c-16g-124 does not seem to be running inside a container 10:21:26 $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:21:29 $ docker top add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:30 ---> job-cost.sh 10:21:30 lf-activate-venv: SKIPPING 10:21:30 INFO: No Stack... 10:21:30 INFO: Retrieving Pricing Info for: v3-standard-4 10:21:31 INFO: Archiving Costs [Pipeline] sh 10:21:32 + cat /w/workspace/device-onvif-camera/12/archives/cost.csv 10:21:32 + cut -d, -f6 [Pipeline] lock 10:21:32 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] 10:21:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] did not exist. Created. 10:21:32 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:21:33 /w/workspace/device-onvif-camera/12@tmp/durable-d6bb38ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:21:33 + echo total: 0.10999999940395355 [Pipeline] stash 10:21:33 Warning: overwriting stash ‘stack-cost’ 10:21:33 Stashed 1 file(s) [Pipeline] } 10:21:33 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-65-12-stack-cost] [Pipeline] // lock [Pipeline] } 10:21:33 $ docker stop --time=1 add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 10:21:35 $ docker rm -f add546e9085bd0c67914ac0c21ae9f6596d32064ad8015339b233c429d34cfd1 [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 10:21:35 provisioning config files... 10:21:35 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config8449153499472476069tmp [Pipeline] { [Pipeline] sh 10:21:35 + set +x 10:21:35 + curl -s https://codecov.io/bash 10:21:35 + bash -s -- 10:21:35 10:21:35 _____ _ 10:21:35 / ____| | | 10:21:35 | | ___ __| | ___ ___ _____ __ 10:21:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:21:35 | |___| (_) | (_| | __/ (_| (_) \ V / 10:21:35 \_____\___/ \__,_|\___|\___\___/ \_/ 10:21:35 Bash-1.0.6 10:21:35 10:21:35 10:21:35 ==> git version 2.25.1 found 10:21:35 ==> 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 10:21:35 Release-Date: 2020-01-08 10:21:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:21:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:21:35 ==> Jenkins CI detected. 10:21:35 current dir:  /w/workspace/oundry_device-onvif-camera_PR-65 10:21:35 project root: . 10:21:35 --> token set from env 10:21:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:21:35 ==> Running gcov in . (disable via -X gcov) 10:21:35 ==> Python coveragepy not found 10:21:35 ==> Searching for coverage reports in: 10:21:35 + . 10:21:35 -> Found 1 reports 10:21:35 ==> Detecting git/mercurial file structure 10:21:35 ==> Reading reports 10:21:35 + ./coverage.out bytes=42596 10:21:35 ==> Appending adjustments 10:21:35 https://docs.codecov.io/docs/fixing-reports 10:21:36 + Found adjustments 10:21:36 ==> Gzipping contents 10:21:36 8.0K /tmp/codecov.LQsXbG.gz 10:21:36 ==> Uploading reports 10:21:36 url: https://codecov.io 10:21:36 query: branch=PR-65&commit=16c10b8b6338fde71f23404f4356a039771b1a1b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 10:21:36 -> Pinging Codecov 10:21:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-65&commit=16c10b8b6338fde71f23404f4356a039771b1a1b&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-65%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=65&job=&cmd_args= 10:21:36 -> Uploading to 10:21:36 https://storage.googleapis.com/codecov/v4/raw/2022-05-26/F29A59C45E3A92E06B3E522C9905F8EF/16c10b8b6338fde71f23404f4356a039771b1a1b/2ec22af3-b356-41af-ba43-83f0a9afdc3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T102136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76338f5cb949ecb8c3662b5203e7f2a527936abf589287fb1840aad13bf3e745 10:21:36 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:36 Dload Upload Total Spent Left Speed 10:21:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5624 0 0 100 5624 0 24775 --:--:-- --:--:-- --:--:-- 24775 10:21:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/16c10b8b6338fde71f23404f4356a039771b1a1b [Pipeline] } 10:21:36 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 10:21:37 + [ -d /w/workspace/oundry_device-onvif-camera_PR-65/archives ] 10:21:37 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:21:37 total 16 10:21:37 drwxr-xr-x 3 root root 4096 May 26 10:13 . 10:21:37 drwxrwxr-x 11 jenkins jenkins 4096 May 26 10:13 .. 10:21:37 drwxr-xr-x 2 root root 4096 May 26 10:13 cost 10:21:37 -rw-r--r-- 1 root root 90 May 26 10:13 cost.csv 10:21:37 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:21:37 + ls -al /w/workspace/oundry_device-onvif-camera_PR-65/archives 10:21:37 total 16 10:21:37 drwxr-xr-x 3 jenkins jenkins 4096 May 26 10:13 . 10:21:37 drwxrwxr-x 11 jenkins jenkins 4096 May 26 10:13 .. 10:21:37 drwxr-xr-x 2 jenkins jenkins 4096 May 26 10:13 cost 10:21:37 -rw-r--r-- 1 jenkins jenkins 90 May 26 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:38 ---> package-listing.sh 10:21:38 ++ facter osfamily 10:21:38 ++ tr '[:upper:]' '[:lower:]' 10:21:38 + OS_FAMILY=debian 10:21:38 + workspace=/w/workspace/oundry_device-onvif-camera_PR-65 10:21:38 + START_PACKAGES=/tmp/packages_start.txt 10:21:38 + END_PACKAGES=/tmp/packages_end.txt 10:21:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:38 + PACKAGES=/tmp/packages_start.txt 10:21:38 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 10:21:38 + PACKAGES=/tmp/packages_end.txt 10:21:38 + case "${OS_FAMILY}" in 10:21:38 + dpkg -l 10:21:38 + grep '^ii' 10:21:38 + '[' -f /tmp/packages_start.txt ']' 10:21:38 + '[' -f /tmp/packages_end.txt ']' 10:21:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:38 + '[' /w/workspace/oundry_device-onvif-camera_PR-65 ']' 10:21:38 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-65/archives/ 10:21:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-65/archives/ [Pipeline] echo 10:21:38 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:21:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:39 prd-ubuntu20.04-docker-8c-8g-122 does not seem to be running inside a container 10:21:39 $ 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/oundry_device-onvif-camera_PR-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-65 -v /w/workspace/oundry_device-onvif-camera_PR-65:/w/workspace/oundry_device-onvif-camera_PR-65:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-65@tmp:/w/workspace/oundry_device-onvif-camera_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:21:39 $ docker top be8fe32e5edb2f7ce733428b459bc0f530e4e4176ab3bb7561bff665827a4d14 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:40 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:40 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:40 + ls /var/log/sa-host 10:21:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:40 provisioning config files... 10:21:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-65@tmp/config4651957233731682617tmp [Pipeline] { [Pipeline] echo 10:21:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:41 ---> create-netrc.sh [Pipeline] } 10:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:41 ---> python-tools-install.sh [Pipeline] echo 10:21:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:41 ---> sudo-logs.sh 10:21:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:42 ---> job-cost.sh 10:21:42 lf-activate-venv: SKIPPING 10:21:42 DEBUG: total: 0.2199999988079071 10:21:42 INFO: Retrieving Stack Cost... 10:21:43 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:43 INFO: Archiving Costs [Pipeline] echo 10:21:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:43 ---> logs-deploy.sh 10:21:43 lf-activate-venv: SKIPPING 10:21:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-65/12 10:21:43 INFO: archiving workspace using pattern(s): 10:21:44 Archives upload complete. 10:21:44 INFO: archiving logs to Nexus