Pull request #172 updated 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 edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 00390c5193602e0a0613b5ae301e8851446d9856 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh8966219118462703456.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12249049800304514866.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11298840318121464059.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10943469601319755789.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10164425473973402308.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7211’ Running on prd-ubuntu20.04-docker-8c-8g-7217 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 00390c5193602e0a0613b5ae301e8851446d9856 Merge succeeded, producing 00390c5193602e0a0613b5ae301e8851446d9856 Checking out Revision 00390c5193602e0a0613b5ae301e8851446d9856 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f 00390c5193602e0a0613b5ae301e8851446d9856 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00390c5193602e0a0613b5ae301e8851446d9856 # timeout=10 Commit message: "Update onvifdiscovery.go" > git rev-list --no-walk 206e92f4cbba2007935e7ec6729c5f5686b3fe9f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T01:25:18.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T01:25:18.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T01:25:18.992Z] ========================================================= [2022-10-06T01:25:18.992Z] EdgeX Global Pipelines Version Info [2022-10-06T01:25:18.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:25:19.702Z] ------------------- [2022-10-06T01:25:19.702Z] stable info: [2022-10-06T01:25:19.702Z] ------------------- [2022-10-06T01:25:19.702Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T01:25:19.702Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:25:19.702Z] Message: update stable to v1.0.239 [2022-10-06T01:25:20.272Z] ------------------- [2022-10-06T01:25:20.272Z] experimental info: [2022-10-06T01:25:20.272Z] ------------------- [2022-10-06T01:25:20.272Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T01:25:20.272Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:25:20.272Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T01:25:20.403Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-06T01:25:20.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-06T01:25:20.427Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T01:25:20.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T01:25:20.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T01:25:20.462Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T01:25:20.470Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T01:25:20.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T01:25:20.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T01:25:20.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T01:25:20.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T01:25:20.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-06T01:25:20.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T01:25:20.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T01:25:20.556Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:25:20.568Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:25:20.579Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:25:20.592Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:25:20.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T01:25:20.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T01:25:20.625Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T01:25:20.639Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-06T01:25:20.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T01:25:20.664Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T01:25:20.676Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T01:25:20.686Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T01:25:20.699Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T01:25:20.713Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:25:20.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:25:20.736Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-06T01:25:20.750Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00390c5193602e0a0613b5ae301e8851446d9856 [Pipeline] echo [2022-10-06T01:25:20.759Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00390c5 [Pipeline] echo [2022-10-06T01:25:20.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:25:20.817Z] provisioning config files... [2022-10-06T01:25:20.829Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config8246324516303159713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:25:21.122Z] ---> docker-login.sh [2022-10-06T01:25:21.122Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:25:21.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:21.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:21.385Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:21.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:21.385Z] [2022-10-06T01:25:21.385Z] Login Succeeded [2022-10-06T01:25:21.385Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:25:21.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:21.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:21.385Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:21.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:21.385Z] [2022-10-06T01:25:21.385Z] Login Succeeded [2022-10-06T01:25:21.385Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:25:21.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:21.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:21.644Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:21.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:21.644Z] [2022-10-06T01:25:21.644Z] Login Succeeded [2022-10-06T01:25:21.644Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:25:21.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:21.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:21.644Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:21.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:21.644Z] [2022-10-06T01:25:21.644Z] Login Succeeded [2022-10-06T01:25:21.644Z] docker.io [2022-10-06T01:25:21.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:22.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:22.214Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:22.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:22.214Z] [2022-10-06T01:25:22.214Z] Login Succeeded [2022-10-06T01:25:22.214Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:25:22.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T01:25:22.573Z] + git rev-list -1 --merges 00390c5193602e0a0613b5ae301e8851446d9856~1..00390c5193602e0a0613b5ae301e8851446d9856 [Pipeline] echo [2022-10-06T01:25:22.605Z] -----------> git rev-list -1 --merges 00390c5193602e0a0613b5ae301e8851446d9856~1..00390c5193602e0a0613b5ae301e8851446d9856 00390c5193602e0a0613b5ae301e8851446d9856 [false] [Pipeline] sh [2022-10-06T01:25:22.892Z] + git log --format=format:%s -1 00390c5193602e0a0613b5ae301e8851446d9856 [Pipeline] echo [2022-10-06T01:25:22.908Z] ========================================================= [2022-10-06T01:25:22.908Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T01:25:22.908Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:25:23.242Z] + git log --format=format:%s -1 00390c5193602e0a0613b5ae301e8851446d9856 [Pipeline] echo [2022-10-06T01:25:23.253Z] [semverPrep] GIT_COMMIT: 00390c5193602e0a0613b5ae301e8851446d9856, Commit Message: Update onvifdiscovery.go [Pipeline] echo [2022-10-06T01:25:23.262Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T01:25:23.631Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T01:25:23.631Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T01:25:23.631Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T01:25:23.631Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T01:25:23.631Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T01:25:23.631Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T01:25:23.631Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:25:24.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:25:24.049Z] [2022-10-06T01:25:24.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:25:24.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:25:24.356Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T01:25:24.356Z] b85a868b505f: Pulling fs layer [2022-10-06T01:25:24.356Z] e2be974225ed: Pulling fs layer [2022-10-06T01:25:24.356Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T01:25:24.356Z] 988bab9f4d93: Pulling fs layer [2022-10-06T01:25:24.356Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T01:25:24.356Z] eaf3925da568: Pulling fs layer [2022-10-06T01:25:24.356Z] bab4dde63d76: Pulling fs layer [2022-10-06T01:25:24.356Z] bde34c3a00c8: Pulling fs layer [2022-10-06T01:25:24.356Z] b352a97aabf1: Pulling fs layer [2022-10-06T01:25:24.356Z] 4872d77fe225: Pulling fs layer [2022-10-06T01:25:24.356Z] 5851b861e8e6: Pulling fs layer [2022-10-06T01:25:24.356Z] 988bab9f4d93: Waiting [2022-10-06T01:25:24.356Z] 1469e6f7b9e6: Waiting [2022-10-06T01:25:24.356Z] bab4dde63d76: Waiting [2022-10-06T01:25:24.356Z] bde34c3a00c8: Waiting [2022-10-06T01:25:24.356Z] b352a97aabf1: Waiting [2022-10-06T01:25:24.356Z] eaf3925da568: Waiting [2022-10-06T01:25:24.356Z] 4872d77fe225: Waiting [2022-10-06T01:25:24.356Z] 5851b861e8e6: Waiting [2022-10-06T01:25:24.356Z] e2be974225ed: Verifying Checksum [2022-10-06T01:25:24.356Z] e2be974225ed: Download complete [2022-10-06T01:25:24.356Z] 988bab9f4d93: Verifying Checksum [2022-10-06T01:25:24.356Z] 988bab9f4d93: Download complete [2022-10-06T01:25:24.616Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T01:25:24.616Z] 1469e6f7b9e6: Download complete [2022-10-06T01:25:24.616Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T01:25:24.616Z] 339a4e72a1f5: Download complete [2022-10-06T01:25:24.616Z] eaf3925da568: Verifying Checksum [2022-10-06T01:25:24.616Z] eaf3925da568: Download complete [2022-10-06T01:25:24.616Z] bde34c3a00c8: Download complete [2022-10-06T01:25:24.616Z] b352a97aabf1: Download complete [2022-10-06T01:25:24.616Z] 4872d77fe225: Verifying Checksum [2022-10-06T01:25:24.616Z] 4872d77fe225: Download complete [2022-10-06T01:25:24.616Z] 5851b861e8e6: Verifying Checksum [2022-10-06T01:25:24.616Z] 5851b861e8e6: Download complete [2022-10-06T01:25:24.616Z] b85a868b505f: Verifying Checksum [2022-10-06T01:25:24.616Z] b85a868b505f: Download complete [2022-10-06T01:25:24.875Z] bab4dde63d76: Verifying Checksum [2022-10-06T01:25:24.875Z] bab4dde63d76: Download complete [2022-10-06T01:25:25.871Z] b85a868b505f: Pull complete [2022-10-06T01:25:25.871Z] e2be974225ed: Pull complete [2022-10-06T01:25:26.437Z] 339a4e72a1f5: Pull complete [2022-10-06T01:25:26.437Z] 988bab9f4d93: Pull complete [2022-10-06T01:25:26.695Z] 1469e6f7b9e6: Pull complete [2022-10-06T01:25:26.695Z] eaf3925da568: Pull complete [2022-10-06T01:25:28.603Z] bab4dde63d76: Pull complete [2022-10-06T01:25:28.603Z] bde34c3a00c8: Pull complete [2022-10-06T01:25:28.603Z] b352a97aabf1: Pull complete [2022-10-06T01:25:28.603Z] 4872d77fe225: Pull complete [2022-10-06T01:25:28.603Z] 5851b861e8e6: Pull complete [2022-10-06T01:25:28.603Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T01:25:28.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:25:28.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:25:28.692Z] prd-ubuntu20.04-docker-8c-8g-7217 does not seem to be running inside a container [2022-10-06T01:25:28.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T01:25:30.876Z] $ docker top 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b -eo pid,comm [2022-10-06T01:25:30.940Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-06T01:25:30.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T01:25:30.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:25:30.979Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:25:31.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:25:31.084Z] $ docker exec 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b ssh-agent [2022-10-06T01:25:31.202Z] SSH_AUTH_SOCK=/tmp/ssh-zCvIk4qKe3yx/agent.32 [2022-10-06T01:25:31.202Z] SSH_AGENT_PID=38 [2022-10-06T01:25:31.209Z] Running ssh-add (command line suppressed) [2022-10-06T01:25:31.298Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_1556546676810159432.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_1556546676810159432.key) [2022-10-06T01:25:31.320Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:25:31.606Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T01:25:31.608Z] $ docker exec --env ******** --env ******** 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b ssh-agent -k [2022-10-06T01:25:31.703Z] unset SSH_AUTH_SOCK; [2022-10-06T01:25:31.703Z] unset SSH_AGENT_PID; [2022-10-06T01:25:31.704Z] echo Agent pid 38 killed; [2022-10-06T01:25:31.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T01:25:31.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:25:31.744Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:25:31.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:25:31.844Z] $ docker exec 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b ssh-agent [2022-10-06T01:25:31.955Z] SSH_AUTH_SOCK=/tmp/ssh-aqxO1GWPCOgA/agent.71 [2022-10-06T01:25:31.955Z] SSH_AGENT_PID=77 [2022-10-06T01:25:31.959Z] Running ssh-add (command line suppressed) [2022-10-06T01:25:32.056Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17378143576177942176.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17378143576177942176.key) [2022-10-06T01:25:32.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:25:32.360Z] + git semver init [2022-10-06T01:25:32.619Z] 2022-10-06 01:25:32,523 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T01:25:32.619Z] 2022-10-06 01:25:32,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T01:25:32.619Z] 2022-10-06 01:25:32,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T01:25:32.619Z] 2022-10-06 01:25:32,525 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,585 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,586 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,589 [execute] INFO git cat-file --batch-check [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,594 [execute] INFO git cat-file --batch [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,595 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T01:25:33.998Z] 2022-10-06 01:25:33,600 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:25:33.998Z] 0.0.0 [Pipeline] } [2022-10-06T01:25:34.002Z] $ docker exec --env ******** --env ******** 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b ssh-agent -k [2022-10-06T01:25:34.097Z] unset SSH_AUTH_SOCK; [2022-10-06T01:25:34.098Z] unset SSH_AGENT_PID; [2022-10-06T01:25:34.098Z] echo Agent pid 77 killed; [2022-10-06T01:25:34.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T01:25:34.422Z] + git semver [Pipeline] } [2022-10-06T01:25:34.688Z] $ docker stop --time=1 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b [2022-10-06T01:25:35.964Z] $ docker rm -f 0825101c56255743fc6dcd66e26d7ac52a9d962d55e50f0d06c7752bf7d59e4b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T01:25:36.301Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T01:25:36.459Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T01:25:36.461Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:25:36.578Z] provisioning config files... [2022-10-06T01:25:36.587Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config12968712364811244013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:25:36.877Z] ---> docker-login.sh [2022-10-06T01:25:36.877Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:25:36.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:36.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:36.877Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:36.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:36.877Z] [2022-10-06T01:25:36.877Z] Login Succeeded [2022-10-06T01:25:36.877Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:25:36.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:36.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:36.877Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:36.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:36.877Z] [2022-10-06T01:25:36.877Z] Login Succeeded [2022-10-06T01:25:36.877Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:25:37.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:37.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:37.136Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:37.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:37.136Z] [2022-10-06T01:25:37.136Z] Login Succeeded [2022-10-06T01:25:37.136Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:25:37.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:37.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:37.136Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:37.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:37.136Z] [2022-10-06T01:25:37.136Z] Login Succeeded [2022-10-06T01:25:37.136Z] docker.io [2022-10-06T01:25:37.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:25:37.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:25:37.703Z] Configure a credential helper to remove this warning. See [2022-10-06T01:25:37.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:25:37.703Z] [2022-10-06T01:25:37.703Z] Login Succeeded [2022-10-06T01:25:37.703Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:25:37.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:25:37.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:25:37.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:25:37.796Z] ========================================================= [2022-10-06T01:25:37.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T01:25:37.796Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:25:38.115Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T01:25:38.115Z] Sending build context to Docker daemon 20.85MB [2022-10-06T01:25:38.115Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:25:38.115Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:25:38.379Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T01:25:38.379Z] 2408cc74d12b: Pulling fs layer [2022-10-06T01:25:38.379Z] ea60b727a1ce: Pulling fs layer [2022-10-06T01:25:38.379Z] 30c4a7721957: Pulling fs layer [2022-10-06T01:25:38.379Z] 370296b7ddb6: Pulling fs layer [2022-10-06T01:25:38.379Z] 7c6cee850709: Pulling fs layer [2022-10-06T01:25:38.379Z] aa9baa53a306: Pulling fs layer [2022-10-06T01:25:38.379Z] 8b309c321861: Pulling fs layer [2022-10-06T01:25:38.379Z] d8d76fd02f46: Pulling fs layer [2022-10-06T01:25:38.379Z] 7c6cee850709: Waiting [2022-10-06T01:25:38.379Z] aa9baa53a306: Waiting [2022-10-06T01:25:38.379Z] 370296b7ddb6: Waiting [2022-10-06T01:25:38.379Z] 8b309c321861: Waiting [2022-10-06T01:25:38.379Z] fa31f396de31: Pulling fs layer [2022-10-06T01:25:38.379Z] d8d76fd02f46: Waiting [2022-10-06T01:25:38.379Z] fa31f396de31: Waiting [2022-10-06T01:25:38.379Z] 30c4a7721957: Download complete [2022-10-06T01:25:38.379Z] ea60b727a1ce: Verifying Checksum [2022-10-06T01:25:38.379Z] ea60b727a1ce: Download complete [2022-10-06T01:25:38.379Z] 7c6cee850709: Verifying Checksum [2022-10-06T01:25:38.379Z] 7c6cee850709: Download complete [2022-10-06T01:25:38.379Z] aa9baa53a306: Verifying Checksum [2022-10-06T01:25:38.379Z] aa9baa53a306: Download complete [2022-10-06T01:25:38.379Z] 2408cc74d12b: Verifying Checksum [2022-10-06T01:25:38.379Z] 2408cc74d12b: Download complete [2022-10-06T01:25:38.379Z] 8b309c321861: Verifying Checksum [2022-10-06T01:25:38.379Z] 8b309c321861: Download complete [2022-10-06T01:25:38.379Z] 2408cc74d12b: Pull complete [2022-10-06T01:25:38.649Z] ea60b727a1ce: Pull complete [2022-10-06T01:25:38.649Z] 30c4a7721957: Pull complete [2022-10-06T01:25:38.910Z] fa31f396de31: Verifying Checksum [2022-10-06T01:25:38.910Z] fa31f396de31: Download complete [2022-10-06T01:25:38.910Z] d8d76fd02f46: Verifying Checksum [2022-10-06T01:25:38.910Z] d8d76fd02f46: Download complete [2022-10-06T01:25:39.169Z] 370296b7ddb6: Verifying Checksum [2022-10-06T01:25:39.169Z] 370296b7ddb6: Download complete [2022-10-06T01:25:42.452Z] 370296b7ddb6: Pull complete [2022-10-06T01:25:42.452Z] 7c6cee850709: Pull complete [2022-10-06T01:25:42.452Z] aa9baa53a306: Pull complete [2022-10-06T01:25:42.452Z] 8b309c321861: Pull complete [2022-10-06T01:25:44.355Z] d8d76fd02f46: Pull complete [2022-10-06T01:25:44.920Z] fa31f396de31: Pull complete [2022-10-06T01:25:44.920Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T01:25:44.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T01:25:44.920Z] ---> cef68f9685f8 [2022-10-06T01:25:44.920Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:25:49.113Z] ---> Running in 299ba8c339b3 [2022-10-06T01:25:49.113Z] Removing intermediate container 299ba8c339b3 [2022-10-06T01:25:49.113Z] ---> a5e6a9e37084 [2022-10-06T01:25:49.113Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:25:49.113Z] ---> Running in 03952ca410d1 [2022-10-06T01:25:49.113Z] Removing intermediate container 03952ca410d1 [2022-10-06T01:25:49.113Z] ---> 457b24a33a50 [2022-10-06T01:25:49.113Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:25:49.113Z] ---> Running in 194012fbe3d4 [2022-10-06T01:25:49.113Z] Removing intermediate container 194012fbe3d4 [2022-10-06T01:25:49.113Z] ---> 788b8ef9f7a4 [2022-10-06T01:25:49.113Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:25:49.113Z] ---> Running in 072ff55bc0ee [2022-10-06T01:25:49.113Z] Removing intermediate container 072ff55bc0ee [2022-10-06T01:25:49.113Z] ---> fb8f22e1b9f1 [2022-10-06T01:25:49.113Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:25:49.113Z] ---> Running in 85a3b8ce2640 [2022-10-06T01:25:49.113Z] Removing intermediate container 85a3b8ce2640 [2022-10-06T01:25:49.113Z] ---> 26ee4ce5de90 [2022-10-06T01:25:49.113Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:25:49.113Z] ---> Running in e6c568b322b1 [2022-10-06T01:25:49.679Z] Removing intermediate container e6c568b322b1 [2022-10-06T01:25:49.679Z] ---> b360f98ab3b8 [2022-10-06T01:25:49.679Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:25:49.679Z] ---> Running in 773f39fc0951 [2022-10-06T01:25:49.938Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T01:25:50.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T01:25:51.131Z] OK: 211 MiB in 51 packages [2022-10-06T01:25:51.390Z] Removing intermediate container 773f39fc0951 [2022-10-06T01:25:51.390Z] ---> 0ba52f82e4f7 [2022-10-06T01:25:51.390Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:25:51.540Z] Still waiting to schedule task [2022-10-06T01:25:51.541Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7215’ [2022-10-06T01:25:51.647Z] ---> Running in 9dcb6d9ed5c9 [2022-10-06T01:25:51.647Z] Removing intermediate container 9dcb6d9ed5c9 [2022-10-06T01:25:51.647Z] ---> dc6d1398701a [2022-10-06T01:25:51.647Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:25:51.647Z] ---> 01044c82cd7f [2022-10-06T01:25:51.647Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:25:51.647Z] ---> Running in 47fa49b483ac [2022-10-06T01:26:13.599Z] Removing intermediate container 47fa49b483ac [2022-10-06T01:26:13.599Z] ---> 0829aa7ab135 [2022-10-06T01:26:13.599Z] Step 13/14 : COPY . . [2022-10-06T01:26:13.857Z] ---> 9fb44edb5a34 [2022-10-06T01:26:13.857Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:26:13.857Z] ---> Running in a8f6e4c2b41f [2022-10-06T01:26:14.115Z] noop [2022-10-06T01:26:14.374Z] Removing intermediate container a8f6e4c2b41f [2022-10-06T01:26:14.374Z] ---> 366f793b456d [2022-10-06T01:26:14.374Z] Successfully built 366f793b456d [2022-10-06T01:26:14.374Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:26:14.685Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:26:14.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:26:14.747Z] prd-ubuntu20.04-docker-8c-8g-7217 does not seem to be running inside a container [2022-10-06T01:26:14.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** ci-base-image-x86_64 cat [2022-10-06T01:26:15.119Z] $ docker top 0efed69f44f717b64b25354ae3a09013e19bfdf2d48fdb8ac1b68b8c6bf8d6ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:26:15.448Z] + go version [2022-10-06T01:26:15.448Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T01:26:15.466Z] $ docker stop --time=1 0efed69f44f717b64b25354ae3a09013e19bfdf2d48fdb8ac1b68b8c6bf8d6ea [2022-10-06T01:26:16.749Z] $ docker rm -f 0efed69f44f717b64b25354ae3a09013e19bfdf2d48fdb8ac1b68b8c6bf8d6ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:26:17.118Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:26:17.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:26:17.184Z] prd-ubuntu20.04-docker-8c-8g-7217 does not seem to be running inside a container [2022-10-06T01:26:17.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** ci-base-image-x86_64 cat [2022-10-06T01:26:17.559Z] $ docker top 3540a28f6ad55b15810f7fc34728fe0f99db157c0078b2b75f6c9e8547e68c89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:26:17.886Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:26:18.181Z] + make test [2022-10-06T01:26:18.182Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:26:18.441Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T01:26:28.405Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T01:26:28.972Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 28.2% of statements [2022-10-06T01:26:28.972Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T01:26:28.972Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.182s coverage: 86.5% of statements [2022-10-06T01:26:37.085Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-06T01:26:37.085Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T01:26:39.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T01:26:39.612Z] ./internal/driver/onvifdiscovery.go [2022-10-06T01:26:39.612Z] ./internal/driver/driver.go [2022-10-06T01:26:39.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T01:26:39.612Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T01:26:39.632Z] $ docker stop --time=1 3540a28f6ad55b15810f7fc34728fe0f99db157c0078b2b75f6c9e8547e68c89 [2022-10-06T01:26:41.719Z] $ docker rm -f 3540a28f6ad55b15810f7fc34728fe0f99db157c0078b2b75f6c9e8547e68c89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:26:42.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:26:42.299Z] [2022-10-06T01:26:42.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:26:42.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:26:42.599Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T01:26:42.599Z] 5eb5b503b376: Pulling fs layer [2022-10-06T01:26:42.599Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T01:26:42.599Z] ec43610c2a17: Pulling fs layer [2022-10-06T01:26:42.599Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T01:26:42.599Z] 33b1e0a273af: Pulling fs layer [2022-10-06T01:26:42.599Z] 3a2ae6a8a46f: Waiting [2022-10-06T01:26:42.599Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T01:26:42.599Z] 2f39f015ded8: Pulling fs layer [2022-10-06T01:26:42.599Z] 2f39f015ded8: Waiting [2022-10-06T01:26:42.599Z] 5c69ac0246d0: Download complete [2022-10-06T01:26:42.599Z] 3a2ae6a8a46f: Download complete [2022-10-06T01:26:42.858Z] 33b1e0a273af: Verifying Checksum [2022-10-06T01:26:42.858Z] 33b1e0a273af: Download complete [2022-10-06T01:26:42.858Z] 5d3b04190fa2: Verifying Checksum [2022-10-06T01:26:42.858Z] 5d3b04190fa2: Download complete [2022-10-06T01:26:42.858Z] ec43610c2a17: Verifying Checksum [2022-10-06T01:26:42.858Z] ec43610c2a17: Download complete [2022-10-06T01:26:42.858Z] 5eb5b503b376: Verifying Checksum [2022-10-06T01:26:42.858Z] 5eb5b503b376: Download complete [2022-10-06T01:26:43.791Z] 2f39f015ded8: Download complete [2022-10-06T01:26:44.050Z] 5eb5b503b376: Pull complete [2022-10-06T01:26:44.308Z] 5c69ac0246d0: Pull complete [2022-10-06T01:26:44.874Z] ec43610c2a17: Pull complete [2022-10-06T01:26:44.874Z] 3a2ae6a8a46f: Pull complete [2022-10-06T01:26:44.874Z] 33b1e0a273af: Pull complete [2022-10-06T01:26:45.132Z] 5d3b04190fa2: Pull complete [2022-10-06T01:26:49.363Z] 2f39f015ded8: Pull complete [2022-10-06T01:26:49.363Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T01:26:49.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:26:49.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:26:49.451Z] prd-ubuntu20.04-docker-8c-8g-7217 does not seem to be running inside a container [2022-10-06T01:26:49.487Z] $ 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/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 [2022-10-06T01:26:51.673Z] $ docker top d04a3f370c3e91befc7cf3aedb8da51e0c5a796bd16ddd887734a8a0649f4cec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:26:52.056Z] ---> job-cost.sh [2022-10-06T01:26:52.056Z] lf-activate-venv: SKIPPING [2022-10-06T01:26:52.056Z] INFO: No Stack... [2022-10-06T01:26:52.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T01:26:52.885Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T01:26:53.170Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-06T01:26:53.170Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T01:26:53.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [2022-10-06T01:26:53.190Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] did not exist. Created. [2022-10-06T01:26:53.190Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T01:26:53.493Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T01:26:53.532Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T01:26:53.539Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T01:26:53.563Z] $ docker stop --time=1 d04a3f370c3e91befc7cf3aedb8da51e0c5a796bd16ddd887734a8a0649f4cec [2022-10-06T01:26:54.717Z] $ docker rm -f d04a3f370c3e91befc7cf3aedb8da51e0c5a796bd16ddd887734a8a0649f4cec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T01:26:54.812Z] Failed in branch amd64 [2022-10-06T01:29:16.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7219 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-06T01:29:16.929Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-10-06T01:29:16.960Z] The recommended git tool is: git [2022-10-06T01:29:23.036Z] using credential edgex-jenkins-ssh [2022-10-06T01:29:23.057Z] Cloning the remote Git repository [2022-10-06T01:29:23.118Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:29:23.211Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-10-06T01:29:23.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:29:23.413Z] > git --version # timeout=10 [2022-10-06T01:29:23.440Z] > git --version # 'git version 2.25.1' [2022-10-06T01:29:23.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:29:23.506Z] Verifying host key using known hosts file [2022-10-06T01:29:23.786Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:29:23.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:29:25.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:29:25.260Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:29:26.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:29:26.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:29:26.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:29:26.497Z] Verifying host key using known hosts file [2022-10-06T01:29:26.504Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:29:26.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-06T01:29:27.192Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 00390c5193602e0a0613b5ae301e8851446d9856 [2022-10-06T01:29:27.628Z] Merge succeeded, producing 00390c5193602e0a0613b5ae301e8851446d9856 [2022-10-06T01:29:27.629Z] Checking out Revision 00390c5193602e0a0613b5ae301e8851446d9856 (PR-172) [2022-10-06T01:29:27.214Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:29:27.239Z] > git checkout -f 00390c5193602e0a0613b5ae301e8851446d9856 # timeout=10 [2022-10-06T01:29:27.494Z] > git remote # timeout=10 [2022-10-06T01:29:27.519Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T01:29:27.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:29:27.561Z] Verifying host key using known hosts file [2022-10-06T01:29:27.565Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T01:29:27.579Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-06T01:29:27.608Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T01:29:27.634Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:29:27.651Z] > git checkout -f 00390c5193602e0a0613b5ae301e8851446d9856 # timeout=10 [2022-10-06T01:29:31.495Z] Commit message: "Update onvifdiscovery.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:29:32.370Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T01:29:32.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T01:29:32.370Z] Dload Upload Total Spent Left Speed [2022-10-06T01:29:32.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-10-06T01:29:33.138Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T01:29:33.477Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T01:29:33.477Z] + sudo tee /etc/docker/daemon.new [2022-10-06T01:29:33.477Z] { [2022-10-06T01:29:33.477Z] "registry-mirrors": [ [2022-10-06T01:29:33.477Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T01:29:33.477Z] ], [2022-10-06T01:29:33.477Z] "bip": "10.250.0.254/24", [2022-10-06T01:29:33.477Z] "hosts": [ [2022-10-06T01:29:33.477Z] "tcp://0.0.0.0:5555", [2022-10-06T01:29:33.477Z] "unix:///var/run/docker.sock" [2022-10-06T01:29:33.477Z] ], [2022-10-06T01:29:33.477Z] "mtu": 1458, [2022-10-06T01:29:33.477Z] "selinux-enabled": true, [2022-10-06T01:29:33.477Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T01:29:33.477Z] } [Pipeline] sh [2022-10-06T01:29:33.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T01:29:34.165Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:29:52.470Z] provisioning config files... [2022-10-06T01:29:52.501Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config13932018497143867662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:29:52.862Z] ---> docker-login.sh [2022-10-06T01:29:52.862Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:29:53.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:29:53.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:29:53.453Z] Configure a credential helper to remove this warning. See [2022-10-06T01:29:53.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:29:53.453Z] [2022-10-06T01:29:53.453Z] Login Succeeded [2022-10-06T01:29:53.453Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:29:53.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:29:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:29:53.994Z] Configure a credential helper to remove this warning. See [2022-10-06T01:29:53.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:29:53.994Z] [2022-10-06T01:29:53.994Z] Login Succeeded [2022-10-06T01:29:53.994Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:29:54.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:29:54.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:29:54.263Z] Configure a credential helper to remove this warning. See [2022-10-06T01:29:54.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:29:54.263Z] [2022-10-06T01:29:54.263Z] Login Succeeded [2022-10-06T01:29:54.263Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:29:54.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:29:54.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:29:54.806Z] Configure a credential helper to remove this warning. See [2022-10-06T01:29:54.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:29:54.806Z] [2022-10-06T01:29:54.806Z] Login Succeeded [2022-10-06T01:29:54.806Z] docker.io [2022-10-06T01:29:55.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:29:55.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:29:55.350Z] Configure a credential helper to remove this warning. See [2022-10-06T01:29:55.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:29:55.350Z] [2022-10-06T01:29:55.350Z] Login Succeeded [2022-10-06T01:29:55.350Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:29:55.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:29:55.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:29:55.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:29:55.598Z] ========================================================= [2022-10-06T01:29:55.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T01:29:55.598Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:29:55.955Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-06T01:29:56.548Z] Sending build context to Docker daemon 14.27MB [2022-10-06T01:29:56.548Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:29:56.548Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:29:56.838Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T01:29:56.838Z] b3c136eddcbf: Pulling fs layer [2022-10-06T01:29:56.838Z] c0a3192eca97: Pulling fs layer [2022-10-06T01:29:56.838Z] a050256f5b6f: Pulling fs layer [2022-10-06T01:29:56.838Z] 656be50a0ddc: Pulling fs layer [2022-10-06T01:29:56.838Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T01:29:56.838Z] f607e4fc86c3: Pulling fs layer [2022-10-06T01:29:56.838Z] 4d572c569a2c: Pulling fs layer [2022-10-06T01:29:56.838Z] fcf976331f73: Pulling fs layer [2022-10-06T01:29:56.838Z] f607e4fc86c3: Waiting [2022-10-06T01:29:56.838Z] 656be50a0ddc: Waiting [2022-10-06T01:29:56.838Z] 4d572c569a2c: Waiting [2022-10-06T01:29:56.838Z] 2bbca73fdf42: Waiting [2022-10-06T01:29:56.838Z] fcf976331f73: Waiting [2022-10-06T01:29:56.838Z] a050256f5b6f: Verifying Checksum [2022-10-06T01:29:56.838Z] a050256f5b6f: Download complete [2022-10-06T01:29:56.838Z] c0a3192eca97: Verifying Checksum [2022-10-06T01:29:56.838Z] c0a3192eca97: Download complete [2022-10-06T01:29:56.838Z] 2bbca73fdf42: Download complete [2022-10-06T01:29:56.838Z] f607e4fc86c3: Verifying Checksum [2022-10-06T01:29:56.838Z] f607e4fc86c3: Download complete [2022-10-06T01:29:56.838Z] b3c136eddcbf: Verifying Checksum [2022-10-06T01:29:56.838Z] b3c136eddcbf: Download complete [2022-10-06T01:29:58.285Z] b3c136eddcbf: Pull complete [2022-10-06T01:29:58.285Z] fcf976331f73: Verifying Checksum [2022-10-06T01:29:58.285Z] fcf976331f73: Download complete [2022-10-06T01:29:58.885Z] c0a3192eca97: Pull complete [2022-10-06T01:29:59.166Z] a050256f5b6f: Pull complete [2022-10-06T01:29:59.436Z] 4d572c569a2c: Verifying Checksum [2022-10-06T01:29:59.436Z] 4d572c569a2c: Download complete [2022-10-06T01:30:00.404Z] 656be50a0ddc: Verifying Checksum [2022-10-06T01:30:00.404Z] 656be50a0ddc: Download complete [2022-10-06T01:30:12.747Z] 656be50a0ddc: Pull complete [2022-10-06T01:30:12.747Z] 2bbca73fdf42: Pull complete [2022-10-06T01:30:12.747Z] f607e4fc86c3: Pull complete [2022-10-06T01:30:19.450Z] 4d572c569a2c: Pull complete [2022-10-06T01:30:21.403Z] fcf976331f73: Pull complete [2022-10-06T01:30:21.403Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T01:30:21.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T01:30:21.403Z] ---> 3970a7415f9e [2022-10-06T01:30:21.403Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:30:22.365Z] ---> Running in 3345b5fbedea [2022-10-06T01:30:22.365Z] Removing intermediate container 3345b5fbedea [2022-10-06T01:30:22.365Z] ---> 669fb444c979 [2022-10-06T01:30:22.365Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:30:22.633Z] ---> Running in d94316303257 [2022-10-06T01:30:22.903Z] Removing intermediate container d94316303257 [2022-10-06T01:30:22.903Z] ---> a77f76fd86bc [2022-10-06T01:30:22.903Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:30:22.903Z] ---> Running in 75664469c84f [2022-10-06T01:30:23.183Z] Removing intermediate container 75664469c84f [2022-10-06T01:30:23.183Z] ---> 046487d7280c [2022-10-06T01:30:23.183Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:30:23.451Z] ---> Running in 105125abfea3 [2022-10-06T01:30:23.719Z] Removing intermediate container 105125abfea3 [2022-10-06T01:30:23.719Z] ---> ed66fc469409 [2022-10-06T01:30:23.719Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:30:23.719Z] ---> Running in 07afef62abc9 [2022-10-06T01:30:23.989Z] Removing intermediate container 07afef62abc9 [2022-10-06T01:30:23.989Z] ---> dab40fb13fbd [2022-10-06T01:30:23.989Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:30:24.259Z] ---> Running in bf41351cfc1a [2022-10-06T01:30:26.213Z] Removing intermediate container bf41351cfc1a [2022-10-06T01:30:26.213Z] ---> 2b73f6b9b8b1 [2022-10-06T01:30:26.213Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:30:26.213Z] ---> Running in 263b99ec84bc [2022-10-06T01:30:27.176Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T01:30:28.138Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T01:30:29.099Z] OK: 221 MiB in 51 packages [2022-10-06T01:30:30.059Z] Removing intermediate container 263b99ec84bc [2022-10-06T01:30:30.059Z] ---> 1d6d7321e316 [2022-10-06T01:30:30.059Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:30:30.059Z] ---> Running in 89ff8f09b918 [2022-10-06T01:30:30.327Z] Removing intermediate container 89ff8f09b918 [2022-10-06T01:30:30.327Z] ---> 12c79324ad1f [2022-10-06T01:30:30.327Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:30:31.753Z] ---> 97c936ee3f7e [2022-10-06T01:30:31.753Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:30:31.753Z] ---> Running in 3107b2b5d969 [2022-10-06T01:31:28.213Z] Removing intermediate container 3107b2b5d969 [2022-10-06T01:31:28.213Z] ---> 8cb3ea87b1f7 [2022-10-06T01:31:28.213Z] Step 13/14 : COPY . . [2022-10-06T01:31:28.213Z] ---> f4ad12bd59e7 [2022-10-06T01:31:28.213Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:31:28.213Z] ---> Running in d099a16c9887 [2022-10-06T01:31:28.213Z] noop [2022-10-06T01:31:28.213Z] Removing intermediate container d099a16c9887 [2022-10-06T01:31:28.213Z] ---> 91c291842642 [2022-10-06T01:31:28.213Z] Successfully built 91c291842642 [2022-10-06T01:31:28.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:31:28.577Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:31:28.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:31:28.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-7219 does not seem to be running inside a container [2022-10-06T01:31:28.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-10-06T01:31:30.189Z] $ docker top 12d36510184c8efeb27fdf48368359ad4158b8c7126d7d252e57ba38d124960f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:31:31.049Z] + go version [2022-10-06T01:31:31.049Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T01:31:31.079Z] $ docker stop --time=1 12d36510184c8efeb27fdf48368359ad4158b8c7126d7d252e57ba38d124960f [2022-10-06T01:31:32.765Z] $ docker rm -f 12d36510184c8efeb27fdf48368359ad4158b8c7126d7d252e57ba38d124960f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:31:33.299Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:31:33.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:31:33.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-7219 does not seem to be running inside a container [2022-10-06T01:31:33.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2022-10-06T01:31:34.888Z] $ docker top 5118ce535e0a84e52580ebb24139b5150e3928a27bf7089ab2a06a3492c6c00f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:31:35.728Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:31:36.378Z] + make test [2022-10-06T01:31:36.379Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:31:38.326Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T01:33:14.978Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T01:33:21.647Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.193s coverage: 28.2% of statements [2022-10-06T01:33:21.647Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T01:33:39.882Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.157s coverage: 86.5% of statements [2022-10-06T01:33:39.882Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T01:33:39.882Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T01:34:12.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T01:34:12.142Z] ./internal/driver/onvifdiscovery.go [2022-10-06T01:34:12.142Z] ./internal/driver/driver.go [2022-10-06T01:34:12.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T01:34:12.142Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T01:34:12.169Z] $ docker stop --time=1 5118ce535e0a84e52580ebb24139b5150e3928a27bf7089ab2a06a3492c6c00f [2022-10-06T01:34:14.065Z] $ docker rm -f 5118ce535e0a84e52580ebb24139b5150e3928a27bf7089ab2a06a3492c6c00f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:34:15.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:34:15.118Z] [2022-10-06T01:34:15.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:34:15.439Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:34:15.706Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T01:34:15.706Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T01:34:15.706Z] 04944245beec: Pulling fs layer [2022-10-06T01:34:15.706Z] 699f458cf7ca: Pulling fs layer [2022-10-06T01:34:15.706Z] 765212b225bb: Pulling fs layer [2022-10-06T01:34:15.706Z] f23df028b6ca: Pulling fs layer [2022-10-06T01:34:15.706Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T01:34:15.706Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T01:34:15.706Z] 765212b225bb: Waiting [2022-10-06T01:34:15.706Z] f23df028b6ca: Waiting [2022-10-06T01:34:15.706Z] d65c8cfc05b1: Waiting [2022-10-06T01:34:15.706Z] 2437ff75d9bd: Waiting [2022-10-06T01:34:15.706Z] 04944245beec: Verifying Checksum [2022-10-06T01:34:15.706Z] 04944245beec: Download complete [2022-10-06T01:34:15.706Z] 765212b225bb: Verifying Checksum [2022-10-06T01:34:15.706Z] 765212b225bb: Download complete [2022-10-06T01:34:15.974Z] f23df028b6ca: Verifying Checksum [2022-10-06T01:34:15.974Z] f23df028b6ca: Download complete [2022-10-06T01:34:15.974Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T01:34:15.974Z] d65c8cfc05b1: Download complete [2022-10-06T01:34:15.974Z] 699f458cf7ca: Verifying Checksum [2022-10-06T01:34:15.974Z] 699f458cf7ca: Download complete [2022-10-06T01:34:16.564Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T01:34:16.564Z] 8998bd30e6a1: Download complete [2022-10-06T01:34:19.922Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T01:34:19.922Z] 2437ff75d9bd: Download complete [2022-10-06T01:34:25.273Z] 8998bd30e6a1: Pull complete [2022-10-06T01:34:26.685Z] 04944245beec: Pull complete [2022-10-06T01:34:29.388Z] 699f458cf7ca: Pull complete [2022-10-06T01:34:29.388Z] 765212b225bb: Pull complete [2022-10-06T01:34:30.532Z] f23df028b6ca: Pull complete [2022-10-06T01:34:30.532Z] d65c8cfc05b1: Pull complete [2022-10-06T01:34:45.638Z] 2437ff75d9bd: Pull complete [2022-10-06T01:34:45.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T01:34:45.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:34:45.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:34:45.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-7219 does not seem to be running inside a container [2022-10-06T01:34:45.915Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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:arm64 cat [2022-10-06T01:34:48.655Z] $ docker top 142466e9adfb2a49b3c37b4622e3fca5a4308b802c1f2d1b0eb351b676e82d19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:34:49.495Z] ---> job-cost.sh [2022-10-06T01:34:49.495Z] lf-activate-venv: SKIPPING [2022-10-06T01:34:49.495Z] INFO: No Stack... [2022-10-06T01:34:49.765Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T01:34:50.726Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T01:34:51.366Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-10-06T01:34:51.366Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T01:34:51.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [2022-10-06T01:34:51.453Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] did not exist. Created. [2022-10-06T01:34:51.453Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T01:34:52.116Z] /w/workspace/device-onvif-camera/2@tmp/durable-ff493def/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T01:34:52.781Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T01:34:52.806Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T01:34:53.258Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T01:34:53.269Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T01:34:53.301Z] $ docker stop --time=1 142466e9adfb2a49b3c37b4622e3fca5a4308b802c1f2d1b0eb351b676e82d19 [2022-10-06T01:34:54.845Z] $ docker rm -f 142466e9adfb2a49b3c37b4622e3fca5a4308b802c1f2d1b0eb351b676e82d19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T01:34:55.118Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-06T01:34:55.875Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-06T01:34:55.876Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:34:55.876Z] total 16 [2022-10-06T01:34:55.876Z] drwxr-xr-x 3 root root 4096 Oct 6 01:26 . [2022-10-06T01:34:55.876Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:26 .. [2022-10-06T01:34:55.876Z] drwxr-xr-x 2 root root 4096 Oct 6 01:26 cost [2022-10-06T01:34:55.876Z] -rw-r--r-- 1 root root 91 Oct 6 01:26 cost.csv [2022-10-06T01:34:55.876Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:34:55.876Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:34:55.876Z] total 16 [2022-10-06T01:34:55.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 01:26 . [2022-10-06T01:34:55.876Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:26 .. [2022-10-06T01:34:55.876Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 01:26 cost [2022-10-06T01:34:55.876Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 6 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:34:56.167Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:34:57.028Z] ---> package-listing.sh [2022-10-06T01:34:57.028Z] ++ facter osfamily [2022-10-06T01:34:57.028Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T01:34:57.287Z] + OS_FAMILY=debian [2022-10-06T01:34:57.287Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-06T01:34:57.287Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T01:34:57.287Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T01:34:57.287Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T01:34:57.287Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T01:34:57.287Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T01:34:57.287Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T01:34:57.287Z] + case "${OS_FAMILY}" in [2022-10-06T01:34:57.287Z] + dpkg -l [2022-10-06T01:34:57.287Z] + grep '^ii' [2022-10-06T01:34:57.287Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T01:34:57.287Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T01:34:57.287Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T01:34:57.287Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T01:34:57.287Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-06T01:34:57.287Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-06T01:34:57.299Z] 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/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-06T01:34:57.575Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:34:57.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:34:57.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:34:57.934Z] prd-ubuntu20.04-docker-8c-8g-7217 does not seem to be running inside a container [2022-10-06T01:34:57.969Z] $ 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/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T01:34:58.165Z] $ docker top eaea8ee0a4e7d09913c01a66d5a45882b8b83f31151c785711054931ed3355a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:34:58.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T01:34:58.766Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T01:34:59.051Z] + ls /var/log/sa-host [2022-10-06T01:34:59.051Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:34:59.209Z] provisioning config files... [2022-10-06T01:34:59.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config9747443872595438555tmp [Pipeline] { [Pipeline] echo [2022-10-06T01:34:59.228Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:34:59.510Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T01:34:59.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:34:59.861Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T01:34:59.869Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:35:00.156Z] ---> sudo-logs.sh [2022-10-06T01:35:00.156Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T01:35:00.185Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:35:00.466Z] ---> job-cost.sh [2022-10-06T01:35:00.466Z] lf-activate-venv: SKIPPING [2022-10-06T01:35:00.466Z] DEBUG: total: 0.2199999988079071 [2022-10-06T01:35:00.466Z] INFO: Retrieving Stack Cost... [2022-10-06T01:35:01.034Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T01:35:01.297Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T01:35:01.308Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:35:01.589Z] ---> logs-deploy.sh [2022-10-06T01:35:01.589Z] lf-activate-venv: SKIPPING [2022-10-06T01:35:01.589Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/2 [2022-10-06T01:35:01.589Z] INFO: archiving workspace using pattern(s): [2022-10-06T01:35:02.525Z] Archives upload complete. [2022-10-06T01:35:02.525Z] INFO: archiving logs to Nexus