Started by user Eric Ball Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e31f3c63a7c13e4139e385726734af4af68df4f0 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-ssh3738540182117170038.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10629130938026998134.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-38/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-38/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13675309110549195798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16732712005140303894.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-38/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/issue-38/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8238538850438605932.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64065’ Running on prd-ubuntu20.04-docker-8c-8g-64072 in /w/workspace/dry_device-onvif-camera_issue-38 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/dry_device-onvif-camera_issue-38 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e31f3c63a7c13e4139e385726734af4af68df4f0 (issue-38) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e31f3c63a7c13e4139e385726734af4af68df4f0 # timeout=10 Commit message: "feat: Improve BaseNotificationURL setting" > git rev-list --no-walk e31f3c63a7c13e4139e385726734af4af68df4f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:16:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:16:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:16:05 ========================================================= 02:16:05 EdgeX Global Pipelines Version Info 02:16:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:16:05 ------------------- 02:16:05 stable info: 02:16:05 ------------------- 02:16:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:16:05 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:16:05 Message: update stable to v1.0.230 02:16:06 ------------------- 02:16:06 experimental info: 02:16:06 ------------------- 02:16:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:16:06 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 02:16:06 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:16:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-38 [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-38 [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-38 [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31f3c63a7c13e4139e385726734af4af68df4f0 [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31f3c6 [Pipeline] echo 02:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:07 provisioning config files... 02:16:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-38@tmp/config1734929638626701109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:07 ---> docker-login.sh 02:16:07 nexus3.edgexfoundry.org:10001 02:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:07 Configure a credential helper to remove this warning. See 02:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:07 02:16:07 Login Succeeded 02:16:07 nexus3.edgexfoundry.org:10002 02:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:07 Configure a credential helper to remove this warning. See 02:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:07 02:16:07 Login Succeeded 02:16:07 nexus3.edgexfoundry.org:10003 02:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 nexus3.edgexfoundry.org:10004 02:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 docker.io 02:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:08 Configure a credential helper to remove this warning. See 02:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:08 02:16:08 Login Succeeded 02:16:08 ---> docker-login.sh ends [Pipeline] } 02:16:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:16:09 + git rev-list -1 --merges e31f3c63a7c13e4139e385726734af4af68df4f0~1..e31f3c63a7c13e4139e385726734af4af68df4f0 [Pipeline] echo 02:16:09 -----------> git rev-list -1 --merges e31f3c63a7c13e4139e385726734af4af68df4f0~1..e31f3c63a7c13e4139e385726734af4af68df4f0 e31f3c63a7c13e4139e385726734af4af68df4f0 [false] [Pipeline] sh 02:16:09 + git log --format=format:%s -1 e31f3c63a7c13e4139e385726734af4af68df4f0 [Pipeline] echo 02:16:09 ========================================================= 02:16:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:16:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:16:10 + git log --format=format:%s -1 e31f3c63a7c13e4139e385726734af4af68df4f0 [Pipeline] echo 02:16:10 [semverPrep] GIT_COMMIT: e31f3c63a7c13e4139e385726734af4af68df4f0, Commit Message: feat: Improve BaseNotificationURL setting [Pipeline] echo 02:16:10 [semverPrep] This is not a build commit. [Pipeline] sh 02:16:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:16:10 + grep -v github /etc/ssh/ssh_known_hosts 02:16:10 + [ -e /tmp/ssh_known_hosts ] 02:16:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:16:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:16:10 + sudo tee -a /etc/ssh/ssh_known_hosts 02:16:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:10 02:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:16:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:11 latest: Pulling from edgex-devops/py-git-semver 02:16:11 1fe172e4850f: Pulling fs layer 02:16:11 caf521ccaac6: Pulling fs layer 02:16:11 3ead6fa29328: Pulling fs layer 02:16:11 5c2a1cbceb83: Pulling fs layer 02:16:11 a8d5f1318db7: Pulling fs layer 02:16:11 c427282e49a2: Pulling fs layer 02:16:11 1827001aaf11: Pulling fs layer 02:16:11 0714d37db230: Pulling fs layer 02:16:11 ac28cf19c067: Pulling fs layer 02:16:11 ca983d60f3e2: Pulling fs layer 02:16:11 9f894cec8388: Pulling fs layer 02:16:11 0714d37db230: Waiting 02:16:11 ac28cf19c067: Waiting 02:16:11 ca983d60f3e2: Waiting 02:16:11 9f894cec8388: Waiting 02:16:11 5c2a1cbceb83: Waiting 02:16:11 a8d5f1318db7: Waiting 02:16:11 c427282e49a2: Waiting 02:16:11 1827001aaf11: Waiting 02:16:11 caf521ccaac6: Verifying Checksum 02:16:11 caf521ccaac6: Download complete 02:16:11 5c2a1cbceb83: Verifying Checksum 02:16:11 5c2a1cbceb83: Download complete 02:16:11 a8d5f1318db7: Verifying Checksum 02:16:11 a8d5f1318db7: Download complete 02:16:11 c427282e49a2: Verifying Checksum 02:16:11 c427282e49a2: Download complete 02:16:11 3ead6fa29328: Verifying Checksum 02:16:11 3ead6fa29328: Download complete 02:16:11 0714d37db230: Verifying Checksum 02:16:11 0714d37db230: Download complete 02:16:11 ac28cf19c067: Verifying Checksum 02:16:11 ca983d60f3e2: Verifying Checksum 02:16:11 ca983d60f3e2: Download complete 02:16:11 9f894cec8388: Verifying Checksum 02:16:11 9f894cec8388: Download complete 02:16:11 1fe172e4850f: Verifying Checksum 02:16:11 1fe172e4850f: Download complete 02:16:11 1827001aaf11: Verifying Checksum 02:16:11 1827001aaf11: Download complete 02:16:13 1fe172e4850f: Pull complete 02:16:13 caf521ccaac6: Pull complete 02:16:13 3ead6fa29328: Pull complete 02:16:13 5c2a1cbceb83: Pull complete 02:16:14 a8d5f1318db7: Pull complete 02:16:14 c427282e49a2: Pull complete 02:16:16 1827001aaf11: Pull complete 02:16:16 0714d37db230: Pull complete 02:16:16 ac28cf19c067: Pull complete 02:16:16 ca983d60f3e2: Pull complete 02:16:16 9f894cec8388: Pull complete 02:16:16 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:16:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:16:16 prd-ubuntu20.04-docker-8c-8g-64072 does not seem to be running inside a container 02:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_device-onvif-camera_issue-38 -v /w/workspace/dry_device-onvif-camera_issue-38:/w/workspace/dry_device-onvif-camera_issue-38:rw,z -v /w/workspace/dry_device-onvif-camera_issue-38@tmp:/w/workspace/dry_device-onvif-camera_issue-38@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:16:18 $ docker top eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 -eo pid,comm 02:16:18 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). 02:16:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:16:18 [ssh-agent] Looking for ssh-agent implementation... 02:16:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:16:18 $ docker exec eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 ssh-agent 02:16:18 SSH_AUTH_SOCK=/tmp/ssh-kofZVwg7FVV0/agent.34 02:16:18 SSH_AGENT_PID=40 02:16:18 Running ssh-add (command line suppressed) 02:16:19 Identity added: /w/workspace/dry_device-onvif-camera_issue-38@tmp/private_key_569805851376959141.key (/w/workspace/dry_device-onvif-camera_issue-38@tmp/private_key_569805851376959141.key) 02:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:16:19 + git tag --points-at HEAD [Pipeline] } 02:16:19 $ docker exec --env ******** --env ******** eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 ssh-agent -k 02:16:19 unset SSH_AUTH_SOCK; 02:16:19 unset SSH_AGENT_PID; 02:16:19 echo Agent pid 40 killed; 02:16:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:16:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:16:19 [ssh-agent] Looking for ssh-agent implementation... 02:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:16:19 $ docker exec eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 ssh-agent 02:16:19 SSH_AUTH_SOCK=/tmp/ssh-YMZ45I1bxE8S/agent.74 02:16:19 SSH_AGENT_PID=82 02:16:19 Running ssh-add (command line suppressed) 02:16:19 Identity added: /w/workspace/dry_device-onvif-camera_issue-38@tmp/private_key_2623865998831147820.key (/w/workspace/dry_device-onvif-camera_issue-38@tmp/private_key_2623865998831147820.key) 02:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:16:20 + git semver init 02:16:20 2022-05-19 02:16:20,478 [run_init] DEBUG init version:0.0.0 force:False 02:16:20 2022-05-19 02:16:20,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_device-onvif-camera_issue-38/.semver 02:16:20 2022-05-19 02:16:20,479 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/dry_device-onvif-camera_issue-38/.semver 02:16:20 2022-05-19 02:16:20,479 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/dry_device-onvif-camera_issue-38/.semver'], cwd=/w/workspace/dry_device-onvif-camera_issue-38, universal_newlines=False, shell=None, istream=None) 02:16:21 2022-05-19 02:16:21,158 [append_file] DEBUG append to file:/w/workspace/dry_device-onvif-camera_issue-38/.git/info/exclude 02:16:21 2022-05-19 02:16:21,159 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_device-onvif-camera_issue-38/.semver/issue-38 with force:False 02:16:21 2022-05-19 02:16:21,159 [write_file] DEBUG write to file:/w/workspace/dry_device-onvif-camera_issue-38/.semver/issue-38 02:16:21 2022-05-19 02:16:21,163 [execute] INFO git cat-file --batch-check 02:16:21 2022-05-19 02:16:21,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_device-onvif-camera_issue-38/.semver, universal_newlines=False, shell=None, istream=) 02:16:21 2022-05-19 02:16:21,169 [execute] INFO git cat-file --batch 02:16:21 2022-05-19 02:16:21,169 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_device-onvif-camera_issue-38/.semver, universal_newlines=False, shell=None, istream=) 02:16:21 2022-05-19 02:16:21,173 [read_version] DEBUG read version from /w/workspace/dry_device-onvif-camera_issue-38/.semver/issue-38 02:16:21 0.0.0 [Pipeline] } 02:16:21 $ docker exec --env ******** --env ******** eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 ssh-agent -k 02:16:21 unset SSH_AUTH_SOCK; 02:16:21 unset SSH_AGENT_PID; 02:16:21 echo Agent pid 82 killed; 02:16:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:16:21 + git semver [Pipeline] } 02:16:22 $ docker stop --time=1 eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 02:16:23 $ docker rm -f eaef3e575f5bb9769a567bdc07933f105469e8013e07d17f5384fba67cc0ef34 [Pipeline] // withDockerContainer [Pipeline] sh 02:16:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:16:24 Stashed 1 file(s) [Pipeline] echo 02:16:24 [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 02:16:24 provisioning config files... 02:16:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/dry_device-onvif-camera_issue-38@tmp/config6844317876980450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:25 ---> docker-login.sh 02:16:25 nexus3.edgexfoundry.org:10001 02:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:25 Configure a credential helper to remove this warning. See 02:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:25 02:16:25 Login Succeeded 02:16:25 nexus3.edgexfoundry.org:10002 02:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:25 Configure a credential helper to remove this warning. See 02:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:25 02:16:25 Login Succeeded 02:16:25 nexus3.edgexfoundry.org:10003 02:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:25 Configure a credential helper to remove this warning. See 02:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:25 02:16:25 Login Succeeded 02:16:25 nexus3.edgexfoundry.org:10004 02:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:25 Configure a credential helper to remove this warning. See 02:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:25 02:16:25 Login Succeeded 02:16:25 docker.io 02:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:25 Configure a credential helper to remove this warning. See 02:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:25 02:16:25 Login Succeeded 02:16:25 ---> docker-login.sh ends [Pipeline] } 02:16:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:16:25 [edgeX.isLTS] Checking if [issue-38] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:16:25 ========================================================= 02:16:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:16:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:16:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:16:26 Sending build context to Docker daemon 8.525MB 02:16:26 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:16:26 Step 2/13 : FROM ${BASE} AS builder 02:16:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:16:26 59bf1c3509f3: Pulling fs layer 02:16:26 666ba61612fd: Pulling fs layer 02:16:26 8ed8ca486205: Pulling fs layer 02:16:26 4fe6c5a15a65: Pulling fs layer 02:16:26 22a0e8bec74d: Pulling fs layer 02:16:26 ca2b28591e48: Pulling fs layer 02:16:26 a51346096db8: Pulling fs layer 02:16:26 daebc70d1ce1: Pulling fs layer 02:16:26 0e18a0eac166: Pulling fs layer 02:16:26 ca2b28591e48: Waiting 02:16:26 4fe6c5a15a65: Waiting 02:16:26 a51346096db8: Waiting 02:16:26 22a0e8bec74d: Waiting 02:16:26 daebc70d1ce1: Waiting 02:16:26 0e18a0eac166: Waiting 02:16:26 8ed8ca486205: Verifying Checksum 02:16:26 8ed8ca486205: Download complete 02:16:26 666ba61612fd: Verifying Checksum 02:16:26 666ba61612fd: Download complete 02:16:26 22a0e8bec74d: Download complete 02:16:26 ca2b28591e48: Verifying Checksum 02:16:26 ca2b28591e48: Download complete 02:16:26 59bf1c3509f3: Verifying Checksum 02:16:26 59bf1c3509f3: Download complete 02:16:26 a51346096db8: Verifying Checksum 02:16:26 a51346096db8: Download complete 02:16:26 daebc70d1ce1: Verifying Checksum 02:16:26 daebc70d1ce1: Download complete 02:16:26 59bf1c3509f3: Pull complete 02:16:26 666ba61612fd: Pull complete 02:16:26 8ed8ca486205: Pull complete 02:16:27 0e18a0eac166: Verifying Checksum 02:16:27 0e18a0eac166: Download complete 02:16:27 4fe6c5a15a65: Verifying Checksum 02:16:27 4fe6c5a15a65: Download complete 02:16:31 4fe6c5a15a65: Pull complete 02:16:31 22a0e8bec74d: Pull complete 02:16:31 ca2b28591e48: Pull complete 02:16:31 a51346096db8: Pull complete 02:16:31 daebc70d1ce1: Pull complete 02:16:34 0e18a0eac166: Pull complete 02:16:34 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:16:34 ---> f018257e8ee9 02:16:34 Step 3/13 : ARG MAKE="make build" 02:16:36 ---> Running in d044d2d8efa4 02:16:36 Removing intermediate container d044d2d8efa4 02:16:36 ---> 6475bc50ed8a 02:16:36 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:16:36 ---> Running in 2db5641047fb 02:16:36 Removing intermediate container 2db5641047fb 02:16:36 ---> 4a67742606bb 02:16:36 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:16:36 ---> Running in 84a91a5da34e 02:16:36 Removing intermediate container 84a91a5da34e 02:16:36 ---> 2518b45ec74d 02:16:36 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:16:36 ---> Running in cb0f92ce7f1e 02:16:36 Removing intermediate container cb0f92ce7f1e 02:16:36 ---> c513219df8f3 02:16:36 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:16:36 ---> Running in 3cc908069664 02:16:37 Removing intermediate container 3cc908069664 02:16:37 ---> 4c462c752092 02:16:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:37 ---> Running in 0c424c81d99f 02:16:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:16:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:16:38 OK: 221 MiB in 52 packages 02:16:39 Removing intermediate container 0c424c81d99f 02:16:39 ---> e89db44b1ca2 02:16:39 Step 9/13 : WORKDIR /device-onvif-camera 02:16:39 ---> Running in 35acdf2a66fa 02:16:39 Removing intermediate container 35acdf2a66fa 02:16:39 ---> 3e07cb60327d 02:16:39 Step 10/13 : COPY go.mod vendor* ./ 02:16:39 ---> 1d85bf4f7e07 02:16:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:39 ---> Running in a397e3360667 02:16:39 Still waiting to schedule task 02:16:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64069’ is offline 02:17:11 Removing intermediate container a397e3360667 02:17:11 ---> 3edc98cd0b80 02:17:11 Step 12/13 : COPY . . 02:17:11 ---> c5bfb5b2203e 02:17:11 Step 13/13 : RUN ${MAKE} 02:17:11 ---> Running in 75c91fe66fd4 02:17:11 noop 02:17:11 Removing intermediate container 75c91fe66fd4 02:17:11 ---> d56c9a5f5bd2 02:17:11 Successfully built d56c9a5f5bd2 02:17:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:17:11 + docker inspect -f . ci-base-image-x86_64 02:17:11 . [Pipeline] withDockerContainer 02:17:11 prd-ubuntu20.04-docker-8c-8g-64072 does not seem to be running inside a container 02:17:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-38 -v /w/workspace/dry_device-onvif-camera_issue-38:/w/workspace/dry_device-onvif-camera_issue-38:rw,z -v /w/workspace/dry_device-onvif-camera_issue-38@tmp:/w/workspace/dry_device-onvif-camera_issue-38@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 ******** ci-base-image-x86_64 cat 02:17:12 $ docker top 276e0a6b7d666a1912576a4fd6b0e155b61842879f38a54ec097e33ccfad3c39 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:12 + go version 02:17:12 go version go1.17.6 linux/amd64 [Pipeline] } 02:17:12 $ docker stop --time=1 276e0a6b7d666a1912576a4fd6b0e155b61842879f38a54ec097e33ccfad3c39 02:17:14 $ docker rm -f 276e0a6b7d666a1912576a4fd6b0e155b61842879f38a54ec097e33ccfad3c39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:17:14 + docker inspect -f . ci-base-image-x86_64 02:17:14 . [Pipeline] withDockerContainer 02:17:14 prd-ubuntu20.04-docker-8c-8g-64072 does not seem to be running inside a container 02:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_device-onvif-camera_issue-38 -v /w/workspace/dry_device-onvif-camera_issue-38:/w/workspace/dry_device-onvif-camera_issue-38:rw,z -v /w/workspace/dry_device-onvif-camera_issue-38@tmp:/w/workspace/dry_device-onvif-camera_issue-38@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 ******** ci-base-image-x86_64 cat 02:17:14 $ docker top 2953524a0e37a7cd184413e9bd053f58bedc2275c4f8b779f37fcd1ed326a98b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:17:15 + make test 02:17:15 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:17:16 # github.com/pebbe/zmq4 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 02:17:16 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 02:17:23 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 02:17:23 make: *** [Makefile:33: unittest] Error 2 [Pipeline] } 02:17:23 $ docker stop --time=1 2953524a0e37a7cd184413e9bd053f58bedc2275c4f8b779f37fcd1ed326a98b 02:17:24 $ docker rm -f 2953524a0e37a7cd184413e9bd053f58bedc2275c4f8b779f37fcd1ed326a98b [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] sh 02:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:25 02:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:25 latest: Pulling from edgex-lftools-log-publisher 02:17:25 5eb5b503b376: Pulling fs layer 02:17:25 5c69ac0246d0: Pulling fs layer 02:17:25 ec43610c2a17: Pulling fs layer 02:17:25 3a2ae6a8a46f: Pulling fs layer 02:17:25 33b1e0a273af: Pulling fs layer 02:17:25 5d3b04190fa2: Pulling fs layer 02:17:25 2f39f015ded8: Pulling fs layer 02:17:25 33b1e0a273af: Waiting 02:17:25 5d3b04190fa2: Waiting 02:17:25 2f39f015ded8: Waiting 02:17:25 3a2ae6a8a46f: Waiting 02:17:25 5c69ac0246d0: Verifying Checksum 02:17:25 5c69ac0246d0: Download complete 02:17:25 3a2ae6a8a46f: Download complete 02:17:25 33b1e0a273af: Verifying Checksum 02:17:25 33b1e0a273af: Download complete 02:17:25 5d3b04190fa2: Verifying Checksum 02:17:25 5d3b04190fa2: Download complete 02:17:25 ec43610c2a17: Verifying Checksum 02:17:25 ec43610c2a17: Download complete 02:17:25 5eb5b503b376: Verifying Checksum 02:17:25 5eb5b503b376: Download complete 02:17:26 2f39f015ded8: Download complete 02:17:27 5eb5b503b376: Pull complete 02:17:27 5c69ac0246d0: Pull complete 02:17:27 ec43610c2a17: Pull complete 02:17:27 3a2ae6a8a46f: Pull complete 02:17:28 33b1e0a273af: Pull complete 02:17:28 5d3b04190fa2: Pull complete 02:17:33 2f39f015ded8: Pull complete 02:17:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:17:33 prd-ubuntu20.04-docker-8c-8g-64072 does not seem to be running inside a container 02:17:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-38 -v /w/workspace/dry_device-onvif-camera_issue-38:/w/workspace/dry_device-onvif-camera_issue-38:rw,z -v /w/workspace/dry_device-onvif-camera_issue-38@tmp:/w/workspace/dry_device-onvif-camera_issue-38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:17:35 $ docker top 50cde079c85f9eb1965fc358c98012612a76994999d144a2ec63d7c76ad20f68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:36 ---> job-cost.sh 02:17:36 lf-activate-venv: SKIPPING 02:17:36 INFO: No Stack... 02:17:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:17:37 INFO: Archiving Costs [Pipeline] sh 02:17:37 + cat /w/workspace/dry_device-onvif-camera_issue-38/archives/cost.csv 02:17:37 + cut -d, -f6 [Pipeline] lock 02:17:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] 02:17:37 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] did not exist. Created. 02:17:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:17:37 + echo total: 0.2199999988079071 [Pipeline] stash 02:17:37 Stashed 1 file(s) [Pipeline] } 02:17:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:17:37 $ docker stop --time=1 50cde079c85f9eb1965fc358c98012612a76994999d144a2ec63d7c76ad20f68 02:17:39 $ docker rm -f 50cde079c85f9eb1965fc358c98012612a76994999d144a2ec63d7c76ad20f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:17:39 Failed in branch amd64 02:18:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64075 in /w/workspace/dry_device-onvif-camera_issue-38 [Pipeline] { [Pipeline] ws 02:18:16 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 02:18:16 Selected Git installation does not exist. Using Default 02:18:16 The recommended git tool is: NONE 02:18:24 using credential edgex-jenkins-ssh 02:18:24 Cloning the remote Git repository 02:18:25 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:18:25 > git init /w/workspace/device-onvif-camera/2 # timeout=10 02:18:25 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:18:25 > git --version # timeout=10 02:18:25 > git --version # 'git version 2.25.1' 02:18:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:18:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:18:26 Avoid second fetch 02:18:26 Checking out Revision e31f3c63a7c13e4139e385726734af4af68df4f0 (issue-38) 02:18:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:18:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:18:26 > git config core.sparsecheckout # timeout=10 02:18:26 > git checkout -f e31f3c63a7c13e4139e385726734af4af68df4f0 # timeout=10 02:18:31 Commit message: "feat: Improve BaseNotificationURL setting" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:18:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:18:32 % Total % Received % Xferd Average Speed Time Time Time Current 02:18:32 Dload Upload Total Spent Left Speed 02:18:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 02:18:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:18:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:18:33 + sudo tee /etc/docker/daemon.new 02:18:33 { 02:18:33 "registry-mirrors": [ 02:18:33 "https://nexus3.edgexfoundry.org:10001" 02:18:33 ], 02:18:33 "bip": "10.250.0.254/24", 02:18:33 "hosts": [ 02:18:33 "tcp://0.0.0.0:5555", 02:18:33 "unix:///var/run/docker.sock" 02:18:33 ], 02:18:33 "mtu": 1458, 02:18:33 "selinux-enabled": true, 02:18:33 "seccomp-profile": "/etc/docker/seccomp.json" 02:18:33 } [Pipeline] sh 02:18:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:18:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:52 provisioning config files... 02:18:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3975886998073030224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:52 ---> docker-login.sh 02:18:52 nexus3.edgexfoundry.org:10001 02:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:53 Configure a credential helper to remove this warning. See 02:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:53 02:18:53 Login Succeeded 02:18:53 nexus3.edgexfoundry.org:10002 02:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:54 Configure a credential helper to remove this warning. See 02:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:54 02:18:54 Login Succeeded 02:18:54 nexus3.edgexfoundry.org:10003 02:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:54 Configure a credential helper to remove this warning. See 02:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:54 02:18:54 Login Succeeded 02:18:54 nexus3.edgexfoundry.org:10004 02:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:55 Configure a credential helper to remove this warning. See 02:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:55 02:18:55 Login Succeeded 02:18:55 docker.io 02:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:18:55 Configure a credential helper to remove this warning. See 02:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:18:55 02:18:55 Login Succeeded 02:18:56 ---> docker-login.sh ends [Pipeline] } 02:18:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:18:56 [edgeX.isLTS] Checking if [issue-38] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:18:56 ========================================================= 02:18:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:18:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:18:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:18:57 Sending build context to Docker daemon 5.8MB 02:18:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 02:18:57 Step 2/13 : FROM ${BASE} AS builder 02:18:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:18:57 9b3977197b4f: Pulling fs layer 02:18:57 1a89e8eeedd5: Pulling fs layer 02:18:57 94645a83ff95: Pulling fs layer 02:18:57 3f3a8bcf1eab: Pulling fs layer 02:18:57 0c92f367c5e7: Pulling fs layer 02:18:57 3096ccb668a1: Pulling fs layer 02:18:57 e8cf19c19ddd: Pulling fs layer 02:18:57 a4caa8a26152: Pulling fs layer 02:18:57 3f3a8bcf1eab: Waiting 02:18:57 0c92f367c5e7: Waiting 02:18:57 3096ccb668a1: Waiting 02:18:57 a4caa8a26152: Waiting 02:18:57 e8cf19c19ddd: Waiting 02:18:57 94645a83ff95: Verifying Checksum 02:18:57 94645a83ff95: Download complete 02:18:57 1a89e8eeedd5: Download complete 02:18:57 0c92f367c5e7: Download complete 02:18:57 3096ccb668a1: Download complete 02:18:57 9b3977197b4f: Verifying Checksum 02:18:57 9b3977197b4f: Download complete 02:18:57 e8cf19c19ddd: Verifying Checksum 02:18:57 e8cf19c19ddd: Download complete 02:18:58 9b3977197b4f: Pull complete 02:18:59 1a89e8eeedd5: Pull complete 02:18:59 94645a83ff95: Pull complete 02:18:59 a4caa8a26152: Verifying Checksum 02:19:00 3f3a8bcf1eab: Download complete 02:19:13 3f3a8bcf1eab: Pull complete 02:19:13 0c92f367c5e7: Pull complete 02:19:13 3096ccb668a1: Pull complete 02:19:13 e8cf19c19ddd: Pull complete 02:19:19 a4caa8a26152: Pull complete 02:19:19 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:19:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:19:19 ---> 725f1c02e7f9 02:19:19 Step 3/13 : ARG MAKE="make build" 02:19:20 ---> Running in 62874b80174c 02:19:20 Removing intermediate container 62874b80174c 02:19:20 ---> 3002307517a6 02:19:20 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:19:20 ---> Running in f9720a44168c 02:19:21 Removing intermediate container f9720a44168c 02:19:21 ---> b39608e5f0ff 02:19:21 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 02:19:21 ---> Running in 0e8f5d175567 02:19:21 Removing intermediate container 0e8f5d175567 02:19:21 ---> fd0bf67e9945 02:19:21 Step 6/13 : LABEL Name=edgex-device-onvif-camera 02:19:21 ---> Running in 8bfdff1fae1d 02:19:22 Removing intermediate container 8bfdff1fae1d 02:19:22 ---> 53d9483116dd 02:19:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:19:22 ---> Running in c5e087861297 02:19:24 Removing intermediate container c5e087861297 02:19:24 ---> 71cdb5e7b302 02:19:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:19:24 ---> Running in 50feaa2c935c 02:19:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:19:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:19:26 OK: 220 MiB in 52 packages 02:19:27 Removing intermediate container 50feaa2c935c 02:19:27 ---> f6a16fe04cfc 02:19:27 Step 9/13 : WORKDIR /device-onvif-camera 02:19:27 ---> Running in 931f5ae9de8e 02:19:27 Removing intermediate container 931f5ae9de8e 02:19:27 ---> 89b5b97f776e 02:19:27 Step 10/13 : COPY go.mod vendor* ./ 02:19:28 ---> 8ff991380b07 02:19:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:19:28 ---> Running in 30e368c1ef56 02:20:50 Removing intermediate container 30e368c1ef56 02:20:50 ---> bf951aee8a2a 02:20:50 Step 12/13 : COPY . . 02:20:50 ---> 4daa98cf0500 02:20:50 Step 13/13 : RUN ${MAKE} 02:20:50 ---> Running in 0e5e3a7379ce 02:20:50 noop 02:20:50 Removing intermediate container 0e5e3a7379ce 02:20:50 ---> bd082033993c 02:20:50 Successfully built bd082033993c 02:20:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:20:50 + docker inspect -f . ci-base-image-arm64 02:20:50 . [Pipeline] withDockerContainer 02:20:51 prd-ubuntu20.04-docker-arm64-4c-16g-64075 does not seem to be running inside a container 02:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:20:52 $ docker top 37089317e320d52acd9b145e26c7d50d5553e3c8b0102004a52b71bf920e6a27 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:53 + go version 02:20:53 go version go1.17.6 linux/arm64 [Pipeline] } 02:20:53 $ docker stop --time=1 37089317e320d52acd9b145e26c7d50d5553e3c8b0102004a52b71bf920e6a27 02:20:55 $ docker rm -f 37089317e320d52acd9b145e26c7d50d5553e3c8b0102004a52b71bf920e6a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:20:55 + docker inspect -f . ci-base-image-arm64 02:20:55 . [Pipeline] withDockerContainer 02:20:56 prd-ubuntu20.04-docker-arm64-4c-16g-64075 does not seem to be running inside a container 02:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:20:57 $ docker top 175fe7b72446f7d677b743057e51b56393022361b37619f1a31c449b6afc3686 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:20:58 + make test 02:20:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:20:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:21:10 # github.com/pebbe/zmq4 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:10:4: undefined: State 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:11:9: undefined: State 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:21:16: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:23:12: undefined: Poller 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:34: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:61:49: undefined: State 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/reactor.go:68:37: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:17:12: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:24:12: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: undefined: Socket 02:21:10 /go/pkg/mod/github.com/pebbe/zmq4@v1.2.7/utils.go:28:12: too many errors 02:21:57 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 02:21:57 make: *** [Makefile:33: unittest] Error 2 [Pipeline] } 02:21:57 $ docker stop --time=1 175fe7b72446f7d677b743057e51b56393022361b37619f1a31c449b6afc3686 02:21:59 $ docker rm -f 175fe7b72446f7d677b743057e51b56393022361b37619f1a31c449b6afc3686 [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] sh 02:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:21:59 02:21:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:22:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:00 arm64: Pulling from edgex-lftools-log-publisher 02:22:00 8998bd30e6a1: Pulling fs layer 02:22:00 04944245beec: Pulling fs layer 02:22:00 699f458cf7ca: Pulling fs layer 02:22:00 765212b225bb: Pulling fs layer 02:22:00 f23df028b6ca: Pulling fs layer 02:22:00 d65c8cfc05b1: Pulling fs layer 02:22:00 2437ff75d9bd: Pulling fs layer 02:22:00 f23df028b6ca: Waiting 02:22:00 d65c8cfc05b1: Waiting 02:22:00 765212b225bb: Waiting 02:22:00 2437ff75d9bd: Waiting 02:22:00 04944245beec: Verifying Checksum 02:22:00 04944245beec: Download complete 02:22:00 765212b225bb: Verifying Checksum 02:22:00 765212b225bb: Download complete 02:22:00 f23df028b6ca: Verifying Checksum 02:22:00 f23df028b6ca: Download complete 02:22:00 d65c8cfc05b1: Verifying Checksum 02:22:00 d65c8cfc05b1: Download complete 02:22:00 699f458cf7ca: Verifying Checksum 02:22:00 699f458cf7ca: Download complete 02:22:01 8998bd30e6a1: Verifying Checksum 02:22:01 8998bd30e6a1: Download complete 02:22:03 2437ff75d9bd: Verifying Checksum 02:22:03 2437ff75d9bd: Download complete 02:22:05 8998bd30e6a1: Pull complete 02:22:05 04944245beec: Pull complete 02:22:07 699f458cf7ca: Pull complete 02:22:07 765212b225bb: Pull complete 02:22:08 f23df028b6ca: Pull complete 02:22:08 d65c8cfc05b1: Pull complete 02:22:24 2437ff75d9bd: Pull complete 02:22:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:22:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:22:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:22:24 prd-ubuntu20.04-docker-arm64-4c-16g-64075 does not seem to be running inside a container 02:22:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:22:27 $ docker top 9ebb59375683e2d4ac5a53e682397a043b9a0d9e2b2f30119f1bdc2314efabb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:22:28 ---> job-cost.sh 02:22:28 lf-activate-venv: SKIPPING 02:22:28 INFO: No Stack... 02:22:28 INFO: Retrieving Pricing Info for: v3-standard-4 02:22:29 INFO: Archiving Costs [Pipeline] sh 02:22:30 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 02:22:30 + cut -d, -f6 [Pipeline] lock 02:22:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] 02:22:30 Resource [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] did not exist. Created. 02:22:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:22:30 /w/workspace/device-onvif-camera/2@tmp/durable-9df50785/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:22:31 + echo total: 0.10999999940395355 [Pipeline] stash 02:22:31 Warning: overwriting stash ‘stack-cost’ 02:22:31 Stashed 1 file(s) [Pipeline] } 02:22:31 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-issue-38-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:22:31 $ docker stop --time=1 9ebb59375683e2d4ac5a53e682397a043b9a0d9e2b2f30119f1bdc2314efabb0 02:22:33 $ docker rm -f 9ebb59375683e2d4ac5a53e682397a043b9a0d9e2b2f30119f1bdc2314efabb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:22:33 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 02:22:34 + [ -d /w/workspace/dry_device-onvif-camera_issue-38/archives ] 02:22:34 + ls -al /w/workspace/dry_device-onvif-camera_issue-38/archives 02:22:34 total 16 02:22:34 drwxr-xr-x 3 root root 4096 May 19 02:17 . 02:22:34 drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:17 .. 02:22:34 drwxr-xr-x 2 root root 4096 May 19 02:17 cost 02:22:34 -rw-r--r-- 1 root root 92 May 19 02:17 cost.csv 02:22:34 + sudo chown -R jenkins:jenkins /w/workspace/dry_device-onvif-camera_issue-38/archives 02:22:34 + ls -al /w/workspace/dry_device-onvif-camera_issue-38/archives 02:22:34 total 16 02:22:34 drwxr-xr-x 3 jenkins jenkins 4096 May 19 02:17 . 02:22:34 drwxrwxr-x 10 jenkins jenkins 4096 May 19 02:17 .. 02:22:34 drwxr-xr-x 2 jenkins jenkins 4096 May 19 02:17 cost 02:22:34 -rw-r--r-- 1 jenkins jenkins 92 May 19 02:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:22:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:22:35 ---> package-listing.sh 02:22:35 ++ facter osfamily 02:22:35 ++ tr '[:upper:]' '[:lower:]' 02:22:36 + OS_FAMILY=debian 02:22:36 + workspace=/w/workspace/dry_device-onvif-camera_issue-38 02:22:36 + START_PACKAGES=/tmp/packages_start.txt 02:22:36 + END_PACKAGES=/tmp/packages_end.txt 02:22:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:22:36 + PACKAGES=/tmp/packages_start.txt 02:22:36 + '[' /w/workspace/dry_device-onvif-camera_issue-38 ']' 02:22:36 + PACKAGES=/tmp/packages_end.txt 02:22:36 + case "${OS_FAMILY}" in 02:22:36 + dpkg -l 02:22:36 + grep '^ii' 02:22:36 + '[' -f /tmp/packages_start.txt ']' 02:22:36 + '[' -f /tmp/packages_end.txt ']' 02:22:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:22:36 + '[' /w/workspace/dry_device-onvif-camera_issue-38 ']' 02:22:36 + mkdir -p /w/workspace/dry_device-onvif-camera_issue-38/archives/ 02:22:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_device-onvif-camera_issue-38/archives/ [Pipeline] echo 02:22:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_device-onvif-camera_issue-38/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:22:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:22:36 . [Pipeline] withDockerContainer 02:22:37 prd-ubuntu20.04-docker-8c-8g-64072 does not seem to be running inside a container 02:22:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_device-onvif-camera_issue-38/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_device-onvif-camera_issue-38 -v /w/workspace/dry_device-onvif-camera_issue-38:/w/workspace/dry_device-onvif-camera_issue-38:rw,z -v /w/workspace/dry_device-onvif-camera_issue-38@tmp:/w/workspace/dry_device-onvif-camera_issue-38@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:22:37 $ docker top 4183d1b5db220cbf995193c7d1fb886c33239543952258122f6ffde9eb73a0d6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:37 + touch /tmp/pre-build-complete [Pipeline] sh 02:22:37 + mkdir -p /var/log/sysstat [Pipeline] sh 02:22:38 + ls /var/log/sa-host 02:22:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:22:38 provisioning config files... 02:22:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_device-onvif-camera_issue-38@tmp/config517282106475668717tmp [Pipeline] { [Pipeline] echo 02:22:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:22:38 ---> create-netrc.sh [Pipeline] } 02:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:22:39 ---> python-tools-install.sh [Pipeline] echo 02:22:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:22:39 ---> sudo-logs.sh 02:22:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:22:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:22:39 ---> job-cost.sh 02:22:39 lf-activate-venv: SKIPPING 02:22:39 DEBUG: total: 0.2199999988079071 02:22:39 INFO: Retrieving Stack Cost... 02:22:40 INFO: Retrieving Pricing Info for: v3-standard-8 02:22:40 INFO: Archiving Costs [Pipeline] echo 02:22:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:22:40 ---> logs-deploy.sh 02:22:40 lf-activate-venv: SKIPPING 02:22:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/issue-38/2 02:22:40 INFO: archiving workspace using pattern(s): 02:22:41 Archives upload complete. 02:22:42 INFO: archiving logs to Nexus