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 835ed35e5784934c353deac8e760aac808b8aaf8 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-ssh14454327831751608525.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-ssh17608174516448698086.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-ssh1038306361113519540.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-ssh13908190375211645342.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-ssh5683251716677165890.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-7239’ Running on prd-ubuntu20.04-docker-8c-8g-7241 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 835ed35e5784934c353deac8e760aac808b8aaf8 Merge succeeded, producing 835ed35e5784934c353deac8e760aac808b8aaf8 Checking out Revision 835ed35e5784934c353deac8e760aac808b8aaf8 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f 835ed35e5784934c353deac8e760aac808b8aaf8 # 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 835ed35e5784934c353deac8e760aac808b8aaf8 # timeout=10 Commit message: "fix issue discovery mode netscan not work from docker-compose #172" > git rev-list --no-walk f38a481477b2af14cdf4ed3ed60998a429af99ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T04:01:21.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T04:01:21.156Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T04:01:21.172Z] ========================================================= [2022-10-06T04:01:21.173Z] EdgeX Global Pipelines Version Info [2022-10-06T04:01:21.173Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:01:21.881Z] ------------------- [2022-10-06T04:01:21.881Z] stable info: [2022-10-06T04:01:21.881Z] ------------------- [2022-10-06T04:01:21.881Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T04:01:21.881Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T04:01:21.881Z] Message: update stable to v1.0.239 [2022-10-06T04:01:22.450Z] ------------------- [2022-10-06T04:01:22.450Z] experimental info: [2022-10-06T04:01:22.450Z] ------------------- [2022-10-06T04:01:22.450Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T04:01:22.450Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T04:01:22.450Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T04:01:22.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-06T04:01:22.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-06T04:01:22.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T04:01:22.663Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T04:01:22.674Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T04:01:22.688Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T04:01:22.704Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T04:01:22.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T04:01:22.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T04:01:22.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T04:01:22.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T04:01:22.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-06T04:01:22.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T04:01:22.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T04:01:22.804Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T04:01:22.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T04:01:22.827Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T04:01:22.837Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T04:01:22.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T04:01:22.853Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T04:01:22.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T04:01:22.869Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-06T04:01:22.876Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T04:01:22.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T04:01:22.892Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T04:01:22.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T04:01:22.908Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T04:01:22.917Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-06T04:01:22.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-06T04:01:22.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-06T04:01:22.949Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 835ed35e5784934c353deac8e760aac808b8aaf8 [Pipeline] echo [2022-10-06T04:01:22.957Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 835ed35 [Pipeline] echo [2022-10-06T04:01:22.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:01:22.994Z] provisioning config files... [2022-10-06T04:01:23.009Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config15532741347574370818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:01:23.314Z] ---> docker-login.sh [2022-10-06T04:01:23.314Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:01:23.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:23.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:23.833Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:23.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:23.833Z] [2022-10-06T04:01:23.833Z] Login Succeeded [2022-10-06T04:01:23.833Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:01:23.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:23.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:23.834Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:23.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:23.834Z] [2022-10-06T04:01:23.834Z] Login Succeeded [2022-10-06T04:01:23.834Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:01:23.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:24.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:24.092Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:24.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:24.092Z] [2022-10-06T04:01:24.092Z] Login Succeeded [2022-10-06T04:01:24.092Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:01:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:24.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:24.092Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:24.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:24.092Z] [2022-10-06T04:01:24.092Z] Login Succeeded [2022-10-06T04:01:24.092Z] docker.io [2022-10-06T04:01:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:24.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:24.352Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:24.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:24.352Z] [2022-10-06T04:01:24.352Z] Login Succeeded [2022-10-06T04:01:24.352Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:01:24.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T04:01:24.709Z] + git rev-list -1 --merges 835ed35e5784934c353deac8e760aac808b8aaf8~1..835ed35e5784934c353deac8e760aac808b8aaf8 [Pipeline] echo [2022-10-06T04:01:24.739Z] -----------> git rev-list -1 --merges 835ed35e5784934c353deac8e760aac808b8aaf8~1..835ed35e5784934c353deac8e760aac808b8aaf8 835ed35e5784934c353deac8e760aac808b8aaf8 [false] [Pipeline] sh [2022-10-06T04:01:25.025Z] + git log --format=format:%s -1 835ed35e5784934c353deac8e760aac808b8aaf8 [Pipeline] echo [2022-10-06T04:01:25.040Z] ========================================================= [2022-10-06T04:01:25.040Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T04:01:25.040Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T04:01:25.406Z] + git log --format=format:%s -1 835ed35e5784934c353deac8e760aac808b8aaf8 [Pipeline] echo [2022-10-06T04:01:25.417Z] [semverPrep] GIT_COMMIT: 835ed35e5784934c353deac8e760aac808b8aaf8, Commit Message: fix issue discovery mode netscan not work from docker-compose #172 [Pipeline] echo [2022-10-06T04:01:25.426Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T04:01:25.756Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T04:01:25.756Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T04:01:25.756Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T04:01:25.756Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T04:01:25.756Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T04:01:25.756Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T04:01:25.756Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:01:26.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:01:26.096Z] [2022-10-06T04:01:26.096Z] 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-06T04:01:26.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:01:26.393Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T04:01:26.393Z] b85a868b505f: Pulling fs layer [2022-10-06T04:01:26.393Z] e2be974225ed: Pulling fs layer [2022-10-06T04:01:26.393Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T04:01:26.393Z] 988bab9f4d93: Pulling fs layer [2022-10-06T04:01:26.393Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T04:01:26.393Z] 988bab9f4d93: Waiting [2022-10-06T04:01:26.393Z] eaf3925da568: Pulling fs layer [2022-10-06T04:01:26.393Z] bab4dde63d76: Pulling fs layer [2022-10-06T04:01:26.393Z] 1469e6f7b9e6: Waiting [2022-10-06T04:01:26.393Z] bde34c3a00c8: Pulling fs layer [2022-10-06T04:01:26.393Z] b352a97aabf1: Pulling fs layer [2022-10-06T04:01:26.393Z] 4872d77fe225: Pulling fs layer [2022-10-06T04:01:26.393Z] 5851b861e8e6: Pulling fs layer [2022-10-06T04:01:26.393Z] bde34c3a00c8: Waiting [2022-10-06T04:01:26.393Z] b352a97aabf1: Waiting [2022-10-06T04:01:26.393Z] 4872d77fe225: Waiting [2022-10-06T04:01:26.393Z] 5851b861e8e6: Waiting [2022-10-06T04:01:26.393Z] e2be974225ed: Verifying Checksum [2022-10-06T04:01:26.393Z] e2be974225ed: Download complete [2022-10-06T04:01:26.393Z] 988bab9f4d93: Verifying Checksum [2022-10-06T04:01:26.393Z] 988bab9f4d93: Download complete [2022-10-06T04:01:26.654Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T04:01:26.654Z] 339a4e72a1f5: Download complete [2022-10-06T04:01:26.654Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T04:01:26.654Z] 1469e6f7b9e6: Download complete [2022-10-06T04:01:26.654Z] eaf3925da568: Verifying Checksum [2022-10-06T04:01:26.654Z] eaf3925da568: Download complete [2022-10-06T04:01:26.654Z] bde34c3a00c8: Verifying Checksum [2022-10-06T04:01:26.654Z] bde34c3a00c8: Download complete [2022-10-06T04:01:26.654Z] b352a97aabf1: Verifying Checksum [2022-10-06T04:01:26.654Z] b352a97aabf1: Download complete [2022-10-06T04:01:26.654Z] 4872d77fe225: Download complete [2022-10-06T04:01:26.654Z] 5851b861e8e6: Download complete [2022-10-06T04:01:26.654Z] b85a868b505f: Download complete [2022-10-06T04:01:26.914Z] bab4dde63d76: Verifying Checksum [2022-10-06T04:01:26.914Z] bab4dde63d76: Download complete [2022-10-06T04:01:28.290Z] b85a868b505f: Pull complete [2022-10-06T04:01:28.290Z] e2be974225ed: Pull complete [2022-10-06T04:01:28.550Z] 339a4e72a1f5: Pull complete [2022-10-06T04:01:28.550Z] 988bab9f4d93: Pull complete [2022-10-06T04:01:29.122Z] 1469e6f7b9e6: Pull complete [2022-10-06T04:01:29.122Z] eaf3925da568: Pull complete [2022-10-06T04:01:31.026Z] bab4dde63d76: Pull complete [2022-10-06T04:01:31.026Z] bde34c3a00c8: Pull complete [2022-10-06T04:01:31.026Z] b352a97aabf1: Pull complete [2022-10-06T04:01:31.026Z] 4872d77fe225: Pull complete [2022-10-06T04:01:31.026Z] 5851b861e8e6: Pull complete [2022-10-06T04:01:31.285Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T04:01:31.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T04:01:31.285Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:01:31.365Z] prd-ubuntu20.04-docker-8c-8g-7241 does not seem to be running inside a container [2022-10-06T04:01:31.398Z] $ 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-06T04:01:32.607Z] $ docker top e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 -eo pid,comm [2022-10-06T04:01:32.659Z] 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-06T04:01:32.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T04:01:32.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T04:01:32.697Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T04:01:32.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T04:01:32.818Z] $ docker exec e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 ssh-agent [2022-10-06T04:01:32.935Z] SSH_AUTH_SOCK=/tmp/ssh-tX3IDPwS4Fb8/agent.32 [2022-10-06T04:01:32.935Z] SSH_AGENT_PID=38 [2022-10-06T04:01:32.942Z] Running ssh-add (command line suppressed) [2022-10-06T04:01:33.046Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_10114656915722505715.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_10114656915722505715.key) [2022-10-06T04:01:33.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T04:01:33.344Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T04:01:33.357Z] $ docker exec --env ******** --env ******** e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 ssh-agent -k [2022-10-06T04:01:33.459Z] unset SSH_AUTH_SOCK; [2022-10-06T04:01:33.459Z] unset SSH_AGENT_PID; [2022-10-06T04:01:33.459Z] echo Agent pid 38 killed; [2022-10-06T04:01:33.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T04:01:33.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T04:01:33.488Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T04:01:33.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T04:01:33.594Z] $ docker exec e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 ssh-agent [2022-10-06T04:01:33.706Z] SSH_AUTH_SOCK=/tmp/ssh-6I4ca0Z41UA0/agent.71 [2022-10-06T04:01:33.706Z] SSH_AGENT_PID=78 [2022-10-06T04:01:33.711Z] Running ssh-add (command line suppressed) [2022-10-06T04:01:33.819Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2455024460231668620.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2455024460231668620.key) [2022-10-06T04:01:33.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T04:01:34.115Z] + git semver init [2022-10-06T04:01:34.374Z] 2022-10-06 04:01:34,302 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T04:01:34.374Z] 2022-10-06 04:01:34,303 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T04:01:34.374Z] 2022-10-06 04:01:34,303 [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-06T04:01:34.374Z] 2022-10-06 04:01:34,304 [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-06T04:01:35.312Z] 2022-10-06 04:01:35,229 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-06T04:01:35.312Z] 2022-10-06 04:01:35,230 [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-06T04:01:35.312Z] 2022-10-06 04:01:35,230 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T04:01:35.312Z] 2022-10-06 04:01:35,234 [execute] INFO git cat-file --batch-check [2022-10-06T04:01:35.312Z] 2022-10-06 04:01:35,235 [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-06T04:01:35.312Z] 2022-10-06 04:01:35,242 [execute] INFO git cat-file --batch [2022-10-06T04:01:35.312Z] 2022-10-06 04:01:35,242 [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-06T04:01:35.312Z] 2022-10-06 04:01:35,249 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T04:01:35.312Z] 0.0.0 [Pipeline] } [2022-10-06T04:01:35.324Z] $ docker exec --env ******** --env ******** e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 ssh-agent -k [2022-10-06T04:01:35.416Z] unset SSH_AUTH_SOCK; [2022-10-06T04:01:35.416Z] unset SSH_AGENT_PID; [2022-10-06T04:01:35.416Z] echo Agent pid 78 killed; [2022-10-06T04:01:35.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T04:01:35.721Z] + git semver [Pipeline] } [2022-10-06T04:01:35.994Z] $ docker stop --time=1 e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 [2022-10-06T04:01:37.295Z] $ docker rm -f e2b7b19bce557141fec324406aaed36e15ae0e6e4f7e3bf398c8854236cff762 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T04:01:37.634Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T04:01:37.802Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T04:01:37.805Z] [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-06T04:01:37.950Z] provisioning config files... [2022-10-06T04:01:37.959Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config17374764863675385555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:01:38.253Z] ---> docker-login.sh [2022-10-06T04:01:38.253Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:01:38.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:38.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:38.253Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:38.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:38.253Z] [2022-10-06T04:01:38.253Z] Login Succeeded [2022-10-06T04:01:38.253Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:01:38.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:38.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:38.253Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:38.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:38.253Z] [2022-10-06T04:01:38.253Z] Login Succeeded [2022-10-06T04:01:38.253Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:01:38.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:38.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:38.511Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:38.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:38.511Z] [2022-10-06T04:01:38.511Z] Login Succeeded [2022-10-06T04:01:38.511Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:01:38.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:38.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:38.511Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:38.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:38.511Z] [2022-10-06T04:01:38.511Z] Login Succeeded [2022-10-06T04:01:38.511Z] docker.io [2022-10-06T04:01:38.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:01:39.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:01:39.028Z] Configure a credential helper to remove this warning. See [2022-10-06T04:01:39.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:01:39.028Z] [2022-10-06T04:01:39.028Z] Login Succeeded [2022-10-06T04:01:39.028Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:01:39.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T04:01:39.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:01:39.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:01:39.125Z] ========================================================= [2022-10-06T04:01:39.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T04:01:39.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:01:39.452Z] + 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-06T04:01:39.452Z] Sending build context to Docker daemon 20.97MB [2022-10-06T04:01:39.452Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:01:39.452Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T04:01:39.452Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T04:01:39.452Z] 2408cc74d12b: Pulling fs layer [2022-10-06T04:01:39.452Z] ea60b727a1ce: Pulling fs layer [2022-10-06T04:01:39.452Z] 30c4a7721957: Pulling fs layer [2022-10-06T04:01:39.452Z] 370296b7ddb6: Pulling fs layer [2022-10-06T04:01:39.452Z] 7c6cee850709: Pulling fs layer [2022-10-06T04:01:39.452Z] 370296b7ddb6: Waiting [2022-10-06T04:01:39.452Z] aa9baa53a306: Pulling fs layer [2022-10-06T04:01:39.452Z] 8b309c321861: Pulling fs layer [2022-10-06T04:01:39.452Z] d8d76fd02f46: Pulling fs layer [2022-10-06T04:01:39.452Z] 7c6cee850709: Waiting [2022-10-06T04:01:39.452Z] fa31f396de31: Pulling fs layer [2022-10-06T04:01:39.452Z] aa9baa53a306: Waiting [2022-10-06T04:01:39.452Z] d8d76fd02f46: Waiting [2022-10-06T04:01:39.452Z] 8b309c321861: Waiting [2022-10-06T04:01:39.452Z] fa31f396de31: Waiting [2022-10-06T04:01:39.710Z] 30c4a7721957: Verifying Checksum [2022-10-06T04:01:39.710Z] 30c4a7721957: Download complete [2022-10-06T04:01:39.710Z] ea60b727a1ce: Verifying Checksum [2022-10-06T04:01:39.710Z] 7c6cee850709: Verifying Checksum [2022-10-06T04:01:39.710Z] 7c6cee850709: Download complete [2022-10-06T04:01:39.710Z] aa9baa53a306: Verifying Checksum [2022-10-06T04:01:39.710Z] aa9baa53a306: Download complete [2022-10-06T04:01:39.710Z] 2408cc74d12b: Verifying Checksum [2022-10-06T04:01:39.710Z] 2408cc74d12b: Download complete [2022-10-06T04:01:39.710Z] 8b309c321861: Download complete [2022-10-06T04:01:39.710Z] 2408cc74d12b: Pull complete [2022-10-06T04:01:39.969Z] ea60b727a1ce: Pull complete [2022-10-06T04:01:39.969Z] 30c4a7721957: Pull complete [2022-10-06T04:01:40.537Z] fa31f396de31: Verifying Checksum [2022-10-06T04:01:40.537Z] fa31f396de31: Download complete [2022-10-06T04:01:40.802Z] 370296b7ddb6: Verifying Checksum [2022-10-06T04:01:40.802Z] 370296b7ddb6: Download complete [2022-10-06T04:01:41.061Z] d8d76fd02f46: Verifying Checksum [2022-10-06T04:01:41.061Z] d8d76fd02f46: Download complete [2022-10-06T04:01:45.249Z] 370296b7ddb6: Pull complete [2022-10-06T04:01:45.249Z] 7c6cee850709: Pull complete [2022-10-06T04:01:45.249Z] aa9baa53a306: Pull complete [2022-10-06T04:01:45.249Z] 8b309c321861: Pull complete [2022-10-06T04:01:47.157Z] d8d76fd02f46: Pull complete [2022-10-06T04:01:47.722Z] fa31f396de31: Pull complete [2022-10-06T04:01:47.722Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T04:01:47.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T04:01:47.722Z] ---> cef68f9685f8 [2022-10-06T04:01:47.722Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T04:01:49.099Z] ---> Running in 9216ac23985a [2022-10-06T04:01:49.099Z] Removing intermediate container 9216ac23985a [2022-10-06T04:01:49.099Z] ---> 30cfea2912b1 [2022-10-06T04:01:49.099Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T04:01:49.099Z] ---> Running in 0ea782090a5a [2022-10-06T04:01:49.358Z] Removing intermediate container 0ea782090a5a [2022-10-06T04:01:49.358Z] ---> a368c781ce0b [2022-10-06T04:01:49.358Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T04:01:49.358Z] ---> Running in c6fe4b87858d [2022-10-06T04:01:49.358Z] Removing intermediate container c6fe4b87858d [2022-10-06T04:01:49.358Z] ---> d4b5a6fcbf3c [2022-10-06T04:01:49.358Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T04:01:49.617Z] ---> Running in d4a37bdb0149 [2022-10-06T04:01:49.617Z] Removing intermediate container d4a37bdb0149 [2022-10-06T04:01:49.617Z] ---> 8a9642425abb [2022-10-06T04:01:49.617Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T04:01:49.617Z] ---> Running in a1816466d22a [2022-10-06T04:01:49.617Z] Removing intermediate container a1816466d22a [2022-10-06T04:01:49.617Z] ---> e69be951b709 [2022-10-06T04:01:49.617Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:01:49.617Z] ---> Running in 545e778a653d [2022-10-06T04:01:50.184Z] Removing intermediate container 545e778a653d [2022-10-06T04:01:50.184Z] ---> 959ef240297b [2022-10-06T04:01:50.184Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T04:01:50.442Z] ---> Running in 546d00d2ee41 [2022-10-06T04:01:50.700Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T04:01:51.642Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T04:01:51.902Z] OK: 211 MiB in 51 packages [2022-10-06T04:01:52.162Z] Removing intermediate container 546d00d2ee41 [2022-10-06T04:01:52.162Z] ---> 81d0788b96e0 [2022-10-06T04:01:52.162Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T04:01:52.162Z] ---> Running in ab05b6820bda [2022-10-06T04:01:52.162Z] Removing intermediate container ab05b6820bda [2022-10-06T04:01:52.162Z] ---> 80220068777d [2022-10-06T04:01:52.162Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T04:01:52.420Z] ---> 75ceb3a93a35 [2022-10-06T04:01:52.420Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:01:52.420Z] ---> Running in 1a6f9384a7fb [2022-10-06T04:01:52.908Z] Still waiting to schedule task [2022-10-06T04:01:52.908Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7240’ [2022-10-06T04:02:07.304Z] Removing intermediate container 1a6f9384a7fb [2022-10-06T04:02:07.304Z] ---> 679ddbb0a61f [2022-10-06T04:02:07.304Z] Step 13/14 : COPY . . [2022-10-06T04:02:07.304Z] ---> 696a87021bf6 [2022-10-06T04:02:07.304Z] Step 14/14 : RUN ${MAKE} [2022-10-06T04:02:07.304Z] ---> Running in c60eb1f79548 [2022-10-06T04:02:07.562Z] noop [2022-10-06T04:02:07.821Z] Removing intermediate container c60eb1f79548 [2022-10-06T04:02:07.821Z] ---> b5f401dff5dc [2022-10-06T04:02:07.821Z] Successfully built b5f401dff5dc [2022-10-06T04:02:07.821Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:02:08.134Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T04:02:08.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:02:08.200Z] prd-ubuntu20.04-docker-8c-8g-7241 does not seem to be running inside a container [2022-10-06T04:02:08.232Z] $ 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-06T04:02:08.586Z] $ docker top ce340bbae8b7431d89e1105e85fff2392efc9369cd2c96795a5d37c75fcaa027 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:02:08.929Z] + go version [2022-10-06T04:02:08.929Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T04:02:08.939Z] $ docker stop --time=1 ce340bbae8b7431d89e1105e85fff2392efc9369cd2c96795a5d37c75fcaa027 [2022-10-06T04:02:10.226Z] $ docker rm -f ce340bbae8b7431d89e1105e85fff2392efc9369cd2c96795a5d37c75fcaa027 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:02:10.624Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T04:02:10.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:02:10.683Z] prd-ubuntu20.04-docker-8c-8g-7241 does not seem to be running inside a container [2022-10-06T04:02:10.710Z] $ 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-06T04:02:11.043Z] $ docker top 67abd24e296ada1c6230f93d8170800ad298b1a2d6331157416ce961b58e8956 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:02:11.386Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-06T04:02:11.681Z] + make test [2022-10-06T04:02:11.682Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T04:02:11.939Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T04:02:21.906Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T04:02:23.283Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 28.2% of statements [2022-10-06T04:02:23.283Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T04:02:23.283Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.485s coverage: 86.5% of statements [2022-10-06T04:02:31.392Z] 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-06T04:02:31.392Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T04:02:33.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T04:02:33.919Z] ./internal/driver/onvifdiscovery.go [2022-10-06T04:02:33.919Z] ./internal/driver/driver.go [2022-10-06T04:02:33.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T04:02:33.919Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T04:02:33.931Z] $ docker stop --time=1 67abd24e296ada1c6230f93d8170800ad298b1a2d6331157416ce961b58e8956 [2022-10-06T04:02:35.611Z] $ docker rm -f 67abd24e296ada1c6230f93d8170800ad298b1a2d6331157416ce961b58e8956 [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-06T04:02:36.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:02:36.175Z] [2022-10-06T04:02:36.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:02:36.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:02:36.470Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T04:02:36.470Z] 5eb5b503b376: Pulling fs layer [2022-10-06T04:02:36.470Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T04:02:36.470Z] ec43610c2a17: Pulling fs layer [2022-10-06T04:02:36.470Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T04:02:36.470Z] 33b1e0a273af: Pulling fs layer [2022-10-06T04:02:36.470Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T04:02:36.470Z] 2f39f015ded8: Pulling fs layer [2022-10-06T04:02:36.470Z] 3a2ae6a8a46f: Waiting [2022-10-06T04:02:36.470Z] 33b1e0a273af: Waiting [2022-10-06T04:02:36.470Z] 5d3b04190fa2: Waiting [2022-10-06T04:02:36.470Z] 2f39f015ded8: Waiting [2022-10-06T04:02:36.470Z] 5c69ac0246d0: Verifying Checksum [2022-10-06T04:02:36.470Z] 5c69ac0246d0: Download complete [2022-10-06T04:02:36.470Z] 3a2ae6a8a46f: Download complete [2022-10-06T04:02:36.470Z] 33b1e0a273af: Download complete [2022-10-06T04:02:36.470Z] 5d3b04190fa2: Verifying Checksum [2022-10-06T04:02:36.470Z] 5d3b04190fa2: Download complete [2022-10-06T04:02:36.728Z] ec43610c2a17: Verifying Checksum [2022-10-06T04:02:36.728Z] ec43610c2a17: Download complete [2022-10-06T04:02:36.728Z] 5eb5b503b376: Verifying Checksum [2022-10-06T04:02:36.728Z] 5eb5b503b376: Download complete [2022-10-06T04:02:37.295Z] 2f39f015ded8: Download complete [2022-10-06T04:02:37.860Z] 5eb5b503b376: Pull complete [2022-10-06T04:02:37.860Z] 5c69ac0246d0: Pull complete [2022-10-06T04:02:38.426Z] ec43610c2a17: Pull complete [2022-10-06T04:02:38.426Z] 3a2ae6a8a46f: Pull complete [2022-10-06T04:02:38.426Z] 33b1e0a273af: Pull complete [2022-10-06T04:02:38.684Z] 5d3b04190fa2: Pull complete [2022-10-06T04:02:42.866Z] 2f39f015ded8: Pull complete [2022-10-06T04:02:42.866Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T04:02:42.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:02:42.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:02:42.934Z] prd-ubuntu20.04-docker-8c-8g-7241 does not seem to be running inside a container [2022-10-06T04:02:42.968Z] $ 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-06T04:02:44.272Z] $ docker top 70b395626292c721521135c7952796818ee0d569223cb004add6759b4470b8d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:02:44.656Z] ---> job-cost.sh [2022-10-06T04:02:44.657Z] lf-activate-venv: SKIPPING [2022-10-06T04:02:44.657Z] INFO: No Stack... [2022-10-06T04:02:44.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T04:02:45.174Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T04:02:45.463Z] + + cut -d, -f6 [2022-10-06T04:02:45.463Z] cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [Pipeline] lock [2022-10-06T04:02:45.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [2022-10-06T04:02:45.482Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] did not exist. Created. [2022-10-06T04:02:45.482Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T04:02:45.776Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T04:02:45.818Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T04:02:45.824Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T04:02:45.844Z] $ docker stop --time=1 70b395626292c721521135c7952796818ee0d569223cb004add6759b4470b8d9 [2022-10-06T04:02:47.004Z] $ docker rm -f 70b395626292c721521135c7952796818ee0d569223cb004add6759b4470b8d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T04:02:47.095Z] Failed in branch amd64 [2022-10-06T04:05:19.126Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7243 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-06T04:05:19.139Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-10-06T04:05:19.175Z] The recommended git tool is: git [2022-10-06T04:05:24.354Z] using credential edgex-jenkins-ssh [2022-10-06T04:05:24.370Z] Cloning the remote Git repository [2022-10-06T04:05:24.412Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T04:05:24.488Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-10-06T04:05:24.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T04:05:24.632Z] > git --version # timeout=10 [2022-10-06T04:05:24.653Z] > git --version # 'git version 2.25.1' [2022-10-06T04:05:24.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:05:24.696Z] Verifying host key using known hosts file [2022-10-06T04:05:24.903Z] 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-06T04:05:24.914Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T04:05:26.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T04:05:26.578Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T04:05:27.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T04:05:27.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T04:05:27.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:05:27.409Z] Verifying host key using known hosts file [2022-10-06T04:05:27.415Z] 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-06T04:05:27.425Z] > 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-06T04:05:28.088Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 835ed35e5784934c353deac8e760aac808b8aaf8 [2022-10-06T04:05:28.470Z] Merge succeeded, producing 835ed35e5784934c353deac8e760aac808b8aaf8 [2022-10-06T04:05:28.471Z] Checking out Revision 835ed35e5784934c353deac8e760aac808b8aaf8 (PR-172) [2022-10-06T04:05:28.107Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T04:05:28.142Z] > git checkout -f 835ed35e5784934c353deac8e760aac808b8aaf8 # timeout=10 [2022-10-06T04:05:28.366Z] > git remote # timeout=10 [2022-10-06T04:05:28.389Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T04:05:28.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T04:05:28.416Z] Verifying host key using known hosts file [2022-10-06T04:05:28.422Z] 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-06T04:05:28.430Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-06T04:05:28.453Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T04:05:28.476Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T04:05:28.489Z] > git checkout -f 835ed35e5784934c353deac8e760aac808b8aaf8 # timeout=10 [2022-10-06T04:05:32.248Z] Commit message: "fix issue discovery mode netscan not work from docker-compose #172" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T04:05:33.067Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T04:05:33.067Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T04:05:33.067Z] Dload Upload Total Spent Left Speed [2022-10-06T04:05:33.067Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2022-10-06T04:05:33.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T04:05:34.105Z] + sudo tee /etc/docker/daemon.new [2022-10-06T04:05:34.105Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T04:05:34.105Z] { [2022-10-06T04:05:34.105Z] "registry-mirrors": [ [2022-10-06T04:05:34.105Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T04:05:34.105Z] ], [2022-10-06T04:05:34.105Z] "bip": "10.250.0.254/24", [2022-10-06T04:05:34.105Z] "hosts": [ [2022-10-06T04:05:34.105Z] "tcp://0.0.0.0:5555", [2022-10-06T04:05:34.105Z] "unix:///var/run/docker.sock" [2022-10-06T04:05:34.105Z] ], [2022-10-06T04:05:34.105Z] "mtu": 1458, [2022-10-06T04:05:34.105Z] "selinux-enabled": true, [2022-10-06T04:05:34.105Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T04:05:34.105Z] } [Pipeline] sh [2022-10-06T04:05:34.442Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T04:05:34.792Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:05:53.077Z] provisioning config files... [2022-10-06T04:05:53.102Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config18038368971387669632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:05:53.450Z] ---> docker-login.sh [2022-10-06T04:05:53.451Z] nexus3.edgexfoundry.org:10001 [2022-10-06T04:05:53.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:05:53.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:05:53.989Z] Configure a credential helper to remove this warning. See [2022-10-06T04:05:53.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:05:53.989Z] [2022-10-06T04:05:53.989Z] Login Succeeded [2022-10-06T04:05:53.989Z] nexus3.edgexfoundry.org:10002 [2022-10-06T04:05:54.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:05:54.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:05:54.258Z] Configure a credential helper to remove this warning. See [2022-10-06T04:05:54.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:05:54.258Z] [2022-10-06T04:05:54.258Z] Login Succeeded [2022-10-06T04:05:54.258Z] nexus3.edgexfoundry.org:10003 [2022-10-06T04:05:54.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:05:54.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:05:54.795Z] Configure a credential helper to remove this warning. See [2022-10-06T04:05:54.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:05:54.795Z] [2022-10-06T04:05:54.795Z] Login Succeeded [2022-10-06T04:05:54.795Z] nexus3.edgexfoundry.org:10004 [2022-10-06T04:05:54.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:05:55.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:05:55.063Z] Configure a credential helper to remove this warning. See [2022-10-06T04:05:55.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:05:55.063Z] [2022-10-06T04:05:55.063Z] Login Succeeded [2022-10-06T04:05:55.063Z] docker.io [2022-10-06T04:05:55.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T04:05:55.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T04:05:55.603Z] Configure a credential helper to remove this warning. See [2022-10-06T04:05:55.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T04:05:55.603Z] [2022-10-06T04:05:55.603Z] Login Succeeded [2022-10-06T04:05:55.603Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T04:05:55.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T04:05:55.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:05:55.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T04:05:55.804Z] ========================================================= [2022-10-06T04:05:55.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T04:05:55.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:05:56.154Z] + 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-06T04:05:56.742Z] Sending build context to Docker daemon 14.41MB [2022-10-06T04:05:56.742Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T04:05:56.742Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T04:05:57.011Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T04:05:57.011Z] b3c136eddcbf: Pulling fs layer [2022-10-06T04:05:57.011Z] c0a3192eca97: Pulling fs layer [2022-10-06T04:05:57.011Z] a050256f5b6f: Pulling fs layer [2022-10-06T04:05:57.011Z] 656be50a0ddc: Pulling fs layer [2022-10-06T04:05:57.011Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T04:05:57.011Z] f607e4fc86c3: Pulling fs layer [2022-10-06T04:05:57.011Z] 4d572c569a2c: Pulling fs layer [2022-10-06T04:05:57.011Z] fcf976331f73: Pulling fs layer [2022-10-06T04:05:57.011Z] 656be50a0ddc: Waiting [2022-10-06T04:05:57.011Z] 2bbca73fdf42: Waiting [2022-10-06T04:05:57.011Z] f607e4fc86c3: Waiting [2022-10-06T04:05:57.011Z] 4d572c569a2c: Waiting [2022-10-06T04:05:57.011Z] fcf976331f73: Waiting [2022-10-06T04:05:57.011Z] a050256f5b6f: Verifying Checksum [2022-10-06T04:05:57.011Z] a050256f5b6f: Download complete [2022-10-06T04:05:57.011Z] c0a3192eca97: Verifying Checksum [2022-10-06T04:05:57.011Z] c0a3192eca97: Download complete [2022-10-06T04:05:57.011Z] 2bbca73fdf42: Verifying Checksum [2022-10-06T04:05:57.011Z] 2bbca73fdf42: Download complete [2022-10-06T04:05:57.011Z] f607e4fc86c3: Verifying Checksum [2022-10-06T04:05:57.011Z] f607e4fc86c3: Download complete [2022-10-06T04:05:57.011Z] b3c136eddcbf: Verifying Checksum [2022-10-06T04:05:57.011Z] b3c136eddcbf: Download complete [2022-10-06T04:05:57.984Z] b3c136eddcbf: Pull complete [2022-10-06T04:05:57.984Z] fcf976331f73: Verifying Checksum [2022-10-06T04:05:57.984Z] fcf976331f73: Download complete [2022-10-06T04:05:58.577Z] c0a3192eca97: Pull complete [2022-10-06T04:05:58.847Z] a050256f5b6f: Pull complete [2022-10-06T04:05:59.434Z] 4d572c569a2c: Verifying Checksum [2022-10-06T04:05:59.434Z] 4d572c569a2c: Download complete [2022-10-06T04:06:00.019Z] 656be50a0ddc: Verifying Checksum [2022-10-06T04:06:00.019Z] 656be50a0ddc: Download complete [2022-10-06T04:06:12.344Z] 656be50a0ddc: Pull complete [2022-10-06T04:06:12.345Z] 2bbca73fdf42: Pull complete [2022-10-06T04:06:12.345Z] f607e4fc86c3: Pull complete [2022-10-06T04:06:19.012Z] 4d572c569a2c: Pull complete [2022-10-06T04:06:20.436Z] fcf976331f73: Pull complete [2022-10-06T04:06:20.436Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T04:06:20.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T04:06:20.436Z] ---> 3970a7415f9e [2022-10-06T04:06:20.436Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T04:06:22.396Z] ---> Running in 181b690afbd5 [2022-10-06T04:06:22.663Z] Removing intermediate container 181b690afbd5 [2022-10-06T04:06:22.663Z] ---> e595513e8b8b [2022-10-06T04:06:22.663Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T04:06:22.930Z] ---> Running in aa4b53dc1a7a [2022-10-06T04:06:23.198Z] Removing intermediate container aa4b53dc1a7a [2022-10-06T04:06:23.198Z] ---> 76f09771318c [2022-10-06T04:06:23.198Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T04:06:23.198Z] ---> Running in d554a70ff374 [2022-10-06T04:06:23.466Z] Removing intermediate container d554a70ff374 [2022-10-06T04:06:23.466Z] ---> 46243eb448fe [2022-10-06T04:06:23.466Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T04:06:23.466Z] ---> Running in 07f35489a433 [2022-10-06T04:06:24.050Z] Removing intermediate container 07f35489a433 [2022-10-06T04:06:24.050Z] ---> 7dd5967d9879 [2022-10-06T04:06:24.050Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T04:06:24.050Z] ---> Running in 3210bc448344 [2022-10-06T04:06:24.318Z] Removing intermediate container 3210bc448344 [2022-10-06T04:06:24.318Z] ---> 21ea03a85df1 [2022-10-06T04:06:24.318Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T04:06:24.318Z] ---> Running in 3d5f5120e5d1 [2022-10-06T04:06:26.264Z] Removing intermediate container 3d5f5120e5d1 [2022-10-06T04:06:26.264Z] ---> 9193e112b777 [2022-10-06T04:06:26.264Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T04:06:26.264Z] ---> Running in 388a06dd9896 [2022-10-06T04:06:27.229Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T04:06:28.193Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T04:06:29.155Z] OK: 221 MiB in 51 packages [2022-10-06T04:06:29.744Z] Removing intermediate container 388a06dd9896 [2022-10-06T04:06:29.744Z] ---> f61b18212366 [2022-10-06T04:06:29.744Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T04:06:29.744Z] ---> Running in ad1ef187dffc [2022-10-06T04:06:30.333Z] Removing intermediate container ad1ef187dffc [2022-10-06T04:06:30.333Z] ---> 56e9bae2a553 [2022-10-06T04:06:30.333Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T04:06:30.919Z] ---> 1a2f2c39d221 [2022-10-06T04:06:30.919Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T04:06:30.919Z] ---> Running in c90b18db1450 [2022-10-06T04:07:27.366Z] Removing intermediate container c90b18db1450 [2022-10-06T04:07:27.366Z] ---> 4af2c408cb02 [2022-10-06T04:07:27.366Z] Step 13/14 : COPY . . [2022-10-06T04:07:27.366Z] ---> 33c75e46963a [2022-10-06T04:07:27.366Z] Step 14/14 : RUN ${MAKE} [2022-10-06T04:07:27.366Z] ---> Running in cb296ba94bf2 [2022-10-06T04:07:27.366Z] noop [2022-10-06T04:07:27.366Z] Removing intermediate container cb296ba94bf2 [2022-10-06T04:07:27.366Z] ---> f275966b49a7 [2022-10-06T04:07:27.367Z] Successfully built f275966b49a7 [2022-10-06T04:07:27.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:07:27.709Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T04:07:27.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:07:27.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-7243 does not seem to be running inside a container [2022-10-06T04:07:27.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-06T04:07:29.103Z] $ docker top bb8fd16d99ea0137b0d33b517007413a0ca44f66314bf97579745a13f83a118d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:07:30.026Z] + go version [2022-10-06T04:07:30.026Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T04:07:30.050Z] $ docker stop --time=1 bb8fd16d99ea0137b0d33b517007413a0ca44f66314bf97579745a13f83a118d [2022-10-06T04:07:31.658Z] $ docker rm -f bb8fd16d99ea0137b0d33b517007413a0ca44f66314bf97579745a13f83a118d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:07:32.161Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T04:07:32.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:07:32.315Z] prd-ubuntu20.04-docker-arm64-4c-16g-7243 does not seem to be running inside a container [2022-10-06T04:07:32.379Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-06T04:07:33.924Z] $ docker top 79445afdee7f315dd65e8ea8bfd0da473dba09dd9dd69f4213c720d4ab2fece0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:07:34.430Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-10-06T04:07:35.083Z] + make test [2022-10-06T04:07:35.083Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T04:07:37.025Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T04:09:13.681Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T04:09:20.345Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.213s coverage: 28.2% of statements [2022-10-06T04:09:20.345Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T04:09:38.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.750s coverage: 86.5% of statements [2022-10-06T04:09:38.586Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T04:09:38.586Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T04:10:17.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T04:10:17.487Z] ./internal/driver/onvifdiscovery.go [2022-10-06T04:10:17.487Z] ./internal/driver/driver.go [2022-10-06T04:10:17.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T04:10:17.487Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T04:10:17.517Z] $ docker stop --time=1 79445afdee7f315dd65e8ea8bfd0da473dba09dd9dd69f4213c720d4ab2fece0 [2022-10-06T04:10:19.494Z] $ docker rm -f 79445afdee7f315dd65e8ea8bfd0da473dba09dd9dd69f4213c720d4ab2fece0 [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-06T04:10:20.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:10:20.630Z] [2022-10-06T04:10:20.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:10:20.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:10:21.245Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T04:10:21.245Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T04:10:21.245Z] 04944245beec: Pulling fs layer [2022-10-06T04:10:21.245Z] 699f458cf7ca: Pulling fs layer [2022-10-06T04:10:21.245Z] 765212b225bb: Pulling fs layer [2022-10-06T04:10:21.245Z] f23df028b6ca: Pulling fs layer [2022-10-06T04:10:21.245Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T04:10:21.245Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T04:10:21.245Z] f23df028b6ca: Waiting [2022-10-06T04:10:21.245Z] d65c8cfc05b1: Waiting [2022-10-06T04:10:21.245Z] 2437ff75d9bd: Waiting [2022-10-06T04:10:21.245Z] 765212b225bb: Waiting [2022-10-06T04:10:21.245Z] 04944245beec: Verifying Checksum [2022-10-06T04:10:21.245Z] 04944245beec: Download complete [2022-10-06T04:10:21.245Z] 765212b225bb: Verifying Checksum [2022-10-06T04:10:21.245Z] 765212b225bb: Download complete [2022-10-06T04:10:21.515Z] f23df028b6ca: Download complete [2022-10-06T04:10:21.515Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T04:10:21.515Z] d65c8cfc05b1: Download complete [2022-10-06T04:10:21.515Z] 699f458cf7ca: Verifying Checksum [2022-10-06T04:10:21.515Z] 699f458cf7ca: Download complete [2022-10-06T04:10:22.106Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T04:10:22.106Z] 8998bd30e6a1: Download complete [2022-10-06T04:10:25.741Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T04:10:25.741Z] 2437ff75d9bd: Download complete [2022-10-06T04:10:28.387Z] 8998bd30e6a1: Pull complete [2022-10-06T04:10:29.347Z] 04944245beec: Pull complete [2022-10-06T04:10:32.710Z] 699f458cf7ca: Pull complete [2022-10-06T04:10:32.710Z] 765212b225bb: Pull complete [2022-10-06T04:10:34.662Z] f23df028b6ca: Pull complete [2022-10-06T04:10:34.662Z] d65c8cfc05b1: Pull complete [2022-10-06T04:10:52.933Z] 2437ff75d9bd: Pull complete [2022-10-06T04:10:52.933Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T04:10:52.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T04:10:52.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:10:53.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-7243 does not seem to be running inside a container [2022-10-06T04:10:53.202Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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-06T04:10:55.559Z] $ docker top c82eeda35075755927b5897b165d0b08d52d157f3a2c792d4e3d0c01c7a47942 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:10:56.429Z] ---> job-cost.sh [2022-10-06T04:10:56.430Z] lf-activate-venv: SKIPPING [2022-10-06T04:10:56.430Z] INFO: No Stack... [2022-10-06T04:10:56.696Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T04:10:57.654Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T04:10:58.291Z] + + catcut /w/workspace/device-onvif-camera/7/archives/cost.csv -d, [2022-10-06T04:10:58.291Z] -f6 [Pipeline] lock [2022-10-06T04:10:58.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [2022-10-06T04:10:58.363Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] did not exist. Created. [2022-10-06T04:10:58.363Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T04:10:59.017Z] /w/workspace/device-onvif-camera/7@tmp/durable-4781f97a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T04:10:59.666Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T04:10:59.688Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T04:11:00.108Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T04:11:00.114Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T04:11:00.139Z] $ docker stop --time=1 c82eeda35075755927b5897b165d0b08d52d157f3a2c792d4e3d0c01c7a47942 [2022-10-06T04:11:01.699Z] $ docker rm -f c82eeda35075755927b5897b165d0b08d52d157f3a2c792d4e3d0c01c7a47942 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T04:11:01.940Z] 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-06T04:11:02.578Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-06T04:11:02.578Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T04:11:02.578Z] total 16 [2022-10-06T04:11:02.578Z] drwxr-xr-x 3 root root 4096 Oct 6 04:02 . [2022-10-06T04:11:02.578Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 04:02 .. [2022-10-06T04:11:02.578Z] drwxr-xr-x 2 root root 4096 Oct 6 04:02 cost [2022-10-06T04:11:02.578Z] -rw-r--r-- 1 root root 91 Oct 6 04:02 cost.csv [2022-10-06T04:11:02.578Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T04:11:02.578Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T04:11:02.578Z] total 16 [2022-10-06T04:11:02.578Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:02 . [2022-10-06T04:11:02.578Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 04:02 .. [2022-10-06T04:11:02.578Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:02 cost [2022-10-06T04:11:02.578Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 6 04:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:02.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:03.722Z] ---> package-listing.sh [2022-10-06T04:11:03.723Z] ++ facter osfamily [2022-10-06T04:11:03.723Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T04:11:03.981Z] + OS_FAMILY=debian [2022-10-06T04:11:03.981Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-06T04:11:03.981Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T04:11:03.981Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T04:11:03.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T04:11:03.981Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T04:11:03.981Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T04:11:03.981Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T04:11:03.981Z] + case "${OS_FAMILY}" in [2022-10-06T04:11:03.981Z] + dpkg -l [2022-10-06T04:11:03.981Z] + grep '^ii' [2022-10-06T04:11:03.981Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T04:11:03.981Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T04:11:03.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T04:11:03.981Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T04:11:03.981Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-06T04:11:03.981Z] + 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-06T04:11:03.991Z] 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-06T04:11:04.267Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T04:11:04.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T04:11:04.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T04:11:04.895Z] prd-ubuntu20.04-docker-8c-8g-7241 does not seem to be running inside a container [2022-10-06T04:11:04.922Z] $ 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-06T04:11:05.140Z] $ docker top 9ff57aecbf5de6bb9f166b940c50e58a8c7e1c4e0884d8a7fd4be78a65c6f9e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T04:11:05.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T04:11:05.760Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T04:11:06.045Z] + ls /var/log/sa-host [2022-10-06T04:11:06.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T04:11:06.179Z] provisioning config files... [2022-10-06T04:11:06.187Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1753011463947330390tmp [Pipeline] { [Pipeline] echo [2022-10-06T04:11:06.197Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:06.476Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T04:11:06.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:06.802Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T04:11:06.809Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:07.091Z] ---> sudo-logs.sh [2022-10-06T04:11:07.091Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T04:11:07.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:07.396Z] ---> job-cost.sh [2022-10-06T04:11:07.396Z] lf-activate-venv: SKIPPING [2022-10-06T04:11:07.396Z] DEBUG: total: 0.2199999988079071 [2022-10-06T04:11:07.396Z] INFO: Retrieving Stack Cost... [2022-10-06T04:11:07.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T04:11:08.219Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T04:11:08.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T04:11:08.512Z] ---> logs-deploy.sh [2022-10-06T04:11:08.512Z] lf-activate-venv: SKIPPING [2022-10-06T04:11:08.512Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/7 [2022-10-06T04:11:08.512Z] INFO: archiving workspace using pattern(s): [2022-10-06T04:11:09.888Z] Archives upload complete. [2022-10-06T04:11:09.888Z] INFO: archiving logs to Nexus