Pull request #149 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b7cedde85df3692c69591f25206326ca90501e4e rather than 2cef749898c88682ef5cf2f6abfbb17959305e53 Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh8858851107834911313.key > 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-ssh10791109842299610454.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 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1255173744818240614.key > 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-ssh229994124269998349.key > 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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12014922836351453316.key > 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23952 in /w/workspace/undry_device-onvif-camera_PR-149 [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/undry_device-onvif-camera_PR-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 2cef749898c88682ef5cf2f6abfbb17959305e53 Merge succeeded, producing 2cef749898c88682ef5cf2f6abfbb17959305e53 Checking out Revision 2cef749898c88682ef5cf2f6abfbb17959305e53 (PR-149) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 Commit message: "test: commented out unused functions" > git rev-list --no-walk 9d5503b2ac70f45a7f1029cf620ebc15ff256cac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:39:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:39:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:39:57 ========================================================= 16:39:57 EdgeX Global Pipelines Version Info 16:39:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:39:58 ------------------- 16:39:58 stable info: 16:39:58 ------------------- 16:39:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:39:58 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:39:58 Message: update stable to v1.0.239 16:39:59 ------------------- 16:39:59 experimental info: 16:39:59 ------------------- 16:39:59 Commited By: **** collab-it+edgex@linuxfoundation.org 16:39:59 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:39:59 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2cef749898c88682ef5cf2f6abfbb17959305e53 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2cef749 [Pipeline] echo 16:39:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:59 provisioning config files... 16:39:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config3344306787023825000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:00 ---> docker-login.sh 16:40:00 nexus3.edgexfoundry.org:10001 16:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:00 Configure a credential helper to remove this warning. See 16:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:00 16:40:00 Login Succeeded 16:40:00 nexus3.edgexfoundry.org:10002 16:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:00 Configure a credential helper to remove this warning. See 16:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:00 16:40:00 Login Succeeded 16:40:00 nexus3.edgexfoundry.org:10003 16:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:00 Configure a credential helper to remove this warning. See 16:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:00 16:40:00 Login Succeeded 16:40:00 nexus3.edgexfoundry.org:10004 16:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:00 Configure a credential helper to remove this warning. See 16:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:00 16:40:00 Login Succeeded 16:40:00 docker.io 16:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:01 Configure a credential helper to remove this warning. See 16:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:01 16:40:01 Login Succeeded 16:40:01 ---> docker-login.sh ends [Pipeline] } 16:40:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:40:01 + git rev-list -1 --merges 2cef749898c88682ef5cf2f6abfbb17959305e53~1..2cef749898c88682ef5cf2f6abfbb17959305e53 [Pipeline] echo 16:40:01 -----------> git rev-list -1 --merges 2cef749898c88682ef5cf2f6abfbb17959305e53~1..2cef749898c88682ef5cf2f6abfbb17959305e53 2cef749898c88682ef5cf2f6abfbb17959305e53 [false] [Pipeline] sh 16:40:02 + git log --format=format:%s -1 2cef749898c88682ef5cf2f6abfbb17959305e53 [Pipeline] echo 16:40:02 ========================================================= 16:40:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:40:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:40:02 + git log --format=format:%s -1 2cef749898c88682ef5cf2f6abfbb17959305e53 [Pipeline] echo 16:40:02 [semverPrep] GIT_COMMIT: 2cef749898c88682ef5cf2f6abfbb17959305e53, Commit Message: test: commented out unused functions [Pipeline] echo 16:40:02 [semverPrep] This is not a build commit. [Pipeline] sh 16:40:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:40:02 + grep -v github /etc/ssh/ssh_known_hosts 16:40:02 + [ -e /tmp/ssh_known_hosts ] 16:40:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:40:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:40:02 + sudo tee -a /etc/ssh/ssh_known_hosts 16:40:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:03 16:40:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:03 0.1.4: Pulling from edgex-devops/py-git-semver 16:40:03 b85a868b505f: Pulling fs layer 16:40:03 e2be974225ed: Pulling fs layer 16:40:03 339a4e72a1f5: Pulling fs layer 16:40:03 988bab9f4d93: Pulling fs layer 16:40:03 1469e6f7b9e6: Pulling fs layer 16:40:03 eaf3925da568: Pulling fs layer 16:40:03 bab4dde63d76: Pulling fs layer 16:40:03 bde34c3a00c8: Pulling fs layer 16:40:03 b352a97aabf1: Pulling fs layer 16:40:03 4872d77fe225: Pulling fs layer 16:40:03 5851b861e8e6: Pulling fs layer 16:40:03 988bab9f4d93: Waiting 16:40:03 b352a97aabf1: Waiting 16:40:03 1469e6f7b9e6: Waiting 16:40:03 4872d77fe225: Waiting 16:40:03 5851b861e8e6: Waiting 16:40:03 eaf3925da568: Waiting 16:40:03 bab4dde63d76: Waiting 16:40:03 bde34c3a00c8: Waiting 16:40:03 e2be974225ed: Verifying Checksum 16:40:03 e2be974225ed: Download complete 16:40:03 988bab9f4d93: Download complete 16:40:03 339a4e72a1f5: Verifying Checksum 16:40:03 339a4e72a1f5: Download complete 16:40:03 1469e6f7b9e6: Verifying Checksum 16:40:03 1469e6f7b9e6: Download complete 16:40:03 eaf3925da568: Verifying Checksum 16:40:03 eaf3925da568: Download complete 16:40:03 bde34c3a00c8: Download complete 16:40:03 b352a97aabf1: Verifying Checksum 16:40:03 b352a97aabf1: Download complete 16:40:03 4872d77fe225: Verifying Checksum 16:40:03 4872d77fe225: Download complete 16:40:03 5851b861e8e6: Download complete 16:40:03 b85a868b505f: Verifying Checksum 16:40:03 b85a868b505f: Download complete 16:40:04 bab4dde63d76: Verifying Checksum 16:40:04 bab4dde63d76: Download complete 16:40:04 b85a868b505f: Pull complete 16:40:05 e2be974225ed: Pull complete 16:40:05 339a4e72a1f5: Pull complete 16:40:05 988bab9f4d93: Pull complete 16:40:06 1469e6f7b9e6: Pull complete 16:40:06 eaf3925da568: Pull complete 16:40:07 bab4dde63d76: Pull complete 16:40:07 bde34c3a00c8: Pull complete 16:40:07 b352a97aabf1: Pull complete 16:40:07 4872d77fe225: Pull complete 16:40:07 5851b861e8e6: Pull complete 16:40:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:08 prd-ubuntu20.04-docker-8c-8g-23952 does not seem to be running inside a container 16:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:40:10 $ docker top 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd -eo pid,comm 16:40:10 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). 16:40:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:10 [ssh-agent] Looking for ssh-agent implementation... 16:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:10 $ docker exec 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd ssh-agent 16:40:10 SSH_AUTH_SOCK=/tmp/ssh-7nePxm8n7OlL/agent.33 16:40:10 SSH_AGENT_PID=40 16:40:10 Running ssh-add (command line suppressed) 16:40:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8730683472497603861.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8730683472497603861.key) 16:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:11 + git tag --points-at HEAD [Pipeline] } 16:40:11 $ docker exec --env ******** --env ******** 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd ssh-agent -k 16:40:11 unset SSH_AUTH_SOCK; 16:40:11 unset SSH_AGENT_PID; 16:40:11 echo Agent pid 40 killed; 16:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:11 [ssh-agent] Looking for ssh-agent implementation... 16:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:11 $ docker exec 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd ssh-agent 16:40:11 SSH_AUTH_SOCK=/tmp/ssh-IBsCgIgK6CYP/agent.73 16:40:11 SSH_AGENT_PID=79 16:40:11 Running ssh-add (command line suppressed) 16:40:11 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5363498772151411074.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5363498772151411074.key) 16:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:12 + git semver init 16:40:12 2022-08-30 16:40:12,328 [run_init] DEBUG init version:0.0.0 force:False 16:40:12 2022-08-30 16:40:12,329 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 16:40:12 2022-08-30 16:40:12,329 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 16:40:12 2022-08-30 16:40:12,329 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) 16:40:13 2022-08-30 16:40:13,102 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 16:40:13 2022-08-30 16:40:13,103 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 16:40:13 2022-08-30 16:40:13,103 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:40:13 2022-08-30 16:40:13,107 [execute] INFO git cat-file --batch-check 16:40:13 2022-08-30 16:40:13,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:40:13 2022-08-30 16:40:13,113 [execute] INFO git cat-file --batch 16:40:13 2022-08-30 16:40:13,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:40:13 2022-08-30 16:40:13,119 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:40:13 0.0.0 [Pipeline] } 16:40:13 $ docker exec --env ******** --env ******** 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd ssh-agent -k 16:40:13 unset SSH_AUTH_SOCK; 16:40:13 unset SSH_AGENT_PID; 16:40:13 echo Agent pid 79 killed; 16:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:13 + git semver [Pipeline] } 16:40:14 $ docker stop --time=1 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd 16:40:15 $ docker rm -f 40c25f51755b983a42f469b4f37051bc7b591d858881a2e17b126b0629cce6fd [Pipeline] // withDockerContainer [Pipeline] sh 16:40:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:40:15 Stashed 1 file(s) [Pipeline] echo 16:40:15 [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 16:40:16 provisioning config files... 16:40:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6678735025066776581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:16 ---> docker-login.sh 16:40:16 nexus3.edgexfoundry.org:10001 16:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:16 Configure a credential helper to remove this warning. See 16:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:16 16:40:16 Login Succeeded 16:40:16 nexus3.edgexfoundry.org:10002 16:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:16 Configure a credential helper to remove this warning. See 16:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:16 16:40:16 Login Succeeded 16:40:16 nexus3.edgexfoundry.org:10003 16:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:16 Configure a credential helper to remove this warning. See 16:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:16 16:40:16 Login Succeeded 16:40:16 nexus3.edgexfoundry.org:10004 16:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:16 Configure a credential helper to remove this warning. See 16:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:16 16:40:16 Login Succeeded 16:40:16 docker.io 16:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:40:17 Configure a credential helper to remove this warning. See 16:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:40:17 16:40:17 Login Succeeded 16:40:17 ---> docker-login.sh ends [Pipeline] } 16:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:40:17 ========================================================= 16:40:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:40:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:17 + 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 . 16:40:17 Sending build context to Docker daemon 20.61MB 16:40:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:40:17 Step 2/13 : FROM ${BASE} AS builder 16:40:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:40:17 2408cc74d12b: Pulling fs layer 16:40:17 ea60b727a1ce: Pulling fs layer 16:40:17 30c4a7721957: Pulling fs layer 16:40:17 370296b7ddb6: Pulling fs layer 16:40:17 7c6cee850709: Pulling fs layer 16:40:17 39a5fcdaea64: Pulling fs layer 16:40:17 d94ebbe4e438: Pulling fs layer 16:40:17 bcfd1f05c69d: Pulling fs layer 16:40:17 59ccb84bbe0f: Pulling fs layer 16:40:17 39a5fcdaea64: Waiting 16:40:17 d94ebbe4e438: Waiting 16:40:17 59ccb84bbe0f: Waiting 16:40:17 bcfd1f05c69d: Waiting 16:40:17 370296b7ddb6: Waiting 16:40:17 7c6cee850709: Waiting 16:40:17 30c4a7721957: Verifying Checksum 16:40:17 30c4a7721957: Download complete 16:40:17 ea60b727a1ce: Verifying Checksum 16:40:17 ea60b727a1ce: Download complete 16:40:17 7c6cee850709: Verifying Checksum 16:40:17 7c6cee850709: Download complete 16:40:17 39a5fcdaea64: Verifying Checksum 16:40:17 39a5fcdaea64: Download complete 16:40:17 2408cc74d12b: Verifying Checksum 16:40:17 d94ebbe4e438: Download complete 16:40:17 2408cc74d12b: Pull complete 16:40:18 ea60b727a1ce: Pull complete 16:40:18 30c4a7721957: Pull complete 16:40:18 59ccb84bbe0f: Verifying Checksum 16:40:18 59ccb84bbe0f: Download complete 16:40:18 370296b7ddb6: Verifying Checksum 16:40:18 370296b7ddb6: Download complete 16:40:18 bcfd1f05c69d: Verifying Checksum 16:40:22 370296b7ddb6: Pull complete 16:40:22 7c6cee850709: Pull complete 16:40:22 39a5fcdaea64: Pull complete 16:40:22 d94ebbe4e438: Pull complete 16:40:24 bcfd1f05c69d: Pull complete 16:40:25 59ccb84bbe0f: Pull complete 16:40:25 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:40:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:40:25 ---> a4fb48ad2a94 16:40:25 Step 3/13 : ARG MAKE="make build" 16:40:28 ---> Running in 2e6f91cde96c 16:40:28 Removing intermediate container 2e6f91cde96c 16:40:28 ---> bce858c84d7f 16:40:28 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:40:28 ---> Running in 9e7f6c2f69a0 16:40:28 Removing intermediate container 9e7f6c2f69a0 16:40:28 ---> 3531d478f698 16:40:28 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:40:28 ---> Running in 93402dfb9f0f 16:40:28 Removing intermediate container 93402dfb9f0f 16:40:28 ---> 9ba804b80795 16:40:28 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:40:28 ---> Running in 7d1f81fd15b2 16:40:28 Removing intermediate container 7d1f81fd15b2 16:40:28 ---> a47fa1262f2c 16:40:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:40:28 ---> Running in 4070512ed8bf 16:40:29 Removing intermediate container 4070512ed8bf 16:40:29 ---> b6135664ab4e 16:40:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:40:29 ---> Running in 4b4f7e85f550 16:40:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:40:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:40:30 OK: 211 MiB in 51 packages 16:40:31 Still waiting to schedule task 16:40:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:40:31 Removing intermediate container 4b4f7e85f550 16:40:31 ---> 5ea940bec1cb 16:40:31 Step 9/13 : WORKDIR /device-onvif-camera 16:40:31 ---> Running in bd43251bdc09 16:40:31 Removing intermediate container bd43251bdc09 16:40:31 ---> f29ab46f8239 16:40:31 Step 10/13 : COPY go.mod vendor* ./ 16:40:31 ---> eb4c8e6e047e 16:40:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:40:31 ---> Running in 752662d2a8e9 16:40:53 Removing intermediate container 752662d2a8e9 16:40:53 ---> 14732a69c364 16:40:53 Step 12/13 : COPY . . 16:40:53 ---> e866a0ed7075 16:40:53 Step 13/13 : RUN ${MAKE} 16:40:53 ---> Running in e4dbb7f0adfb 16:40:53 noop 16:40:53 Removing intermediate container e4dbb7f0adfb 16:40:53 ---> 300fcb13b107 16:40:53 Successfully built 300fcb13b107 16:40:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:53 + docker inspect -f . ci-base-image-x86_64 16:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:53 prd-ubuntu20.04-docker-8c-8g-23952 does not seem to be running inside a container 16:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:40:54 $ docker top 4a2cf012da7b289f397ab4e8dfd8d2f8ef5246241b39178600e22dfed566c681 -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:54 + go version 16:40:54 go version go1.18.3 linux/amd64 [Pipeline] } 16:40:54 $ docker stop --time=1 4a2cf012da7b289f397ab4e8dfd8d2f8ef5246241b39178600e22dfed566c681 16:40:55 $ docker rm -f 4a2cf012da7b289f397ab4e8dfd8d2f8ef5246241b39178600e22dfed566c681 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:56 + docker inspect -f . ci-base-image-x86_64 16:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:56 prd-ubuntu20.04-docker-8c-8g-23952 does not seem to be running inside a container 16:40:56 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:40:56 $ docker top 8cefa1649c0061df238eb849c455c62a925724ba706f2edc7200a54476952c5f -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:57 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 16:40:57 + make test 16:40:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:40:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:41:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:41:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 23.1% of statements 16:41:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.523s coverage: 13.8% of statements 16:41:19 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." 16:41:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:41:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:41:22 ./internal/driver/driver_test.go 16:41:22 ./internal/driver/driver.go 16:41:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:41:22 make: *** [Makefile:63: test] Error 1 [Pipeline] } 16:41:22 $ docker stop --time=1 8cefa1649c0061df238eb849c455c62a925724ba706f2edc7200a54476952c5f 16:41:24 $ docker rm -f 8cefa1649c0061df238eb849c455c62a925724ba706f2edc7200a54476952c5f [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 16:41:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:25 16:41:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:25 latest: Pulling from edgex-lftools-log-publisher 16:41:25 5eb5b503b376: Pulling fs layer 16:41:25 5c69ac0246d0: Pulling fs layer 16:41:25 ec43610c2a17: Pulling fs layer 16:41:25 3a2ae6a8a46f: Pulling fs layer 16:41:25 33b1e0a273af: Pulling fs layer 16:41:25 5d3b04190fa2: Pulling fs layer 16:41:25 2f39f015ded8: Pulling fs layer 16:41:25 2f39f015ded8: Waiting 16:41:25 5d3b04190fa2: Waiting 16:41:25 3a2ae6a8a46f: Waiting 16:41:25 5c69ac0246d0: Download complete 16:41:25 3a2ae6a8a46f: Verifying Checksum 16:41:25 3a2ae6a8a46f: Download complete 16:41:25 33b1e0a273af: Verifying Checksum 16:41:25 33b1e0a273af: Download complete 16:41:25 ec43610c2a17: Verifying Checksum 16:41:25 5d3b04190fa2: Verifying Checksum 16:41:25 5d3b04190fa2: Download complete 16:41:25 5eb5b503b376: Verifying Checksum 16:41:25 5eb5b503b376: Download complete 16:41:26 2f39f015ded8: Download complete 16:41:26 5eb5b503b376: Pull complete 16:41:27 5c69ac0246d0: Pull complete 16:41:27 ec43610c2a17: Pull complete 16:41:27 3a2ae6a8a46f: Pull complete 16:41:27 33b1e0a273af: Pull complete 16:41:27 5d3b04190fa2: Pull complete 16:41:32 2f39f015ded8: Pull complete 16:41:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:41:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:32 prd-ubuntu20.04-docker-8c-8g-23952 does not seem to be running inside a container 16:41:32 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:41:34 $ docker top cdefcfecc7d6ec85b14eb15d0f92a08e25b0b8d7e696ad1458645450a977bf6c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:35 ---> job-cost.sh 16:41:35 lf-activate-venv: SKIPPING 16:41:35 INFO: No Stack... 16:41:35 INFO: Retrieving Pricing Info for: v3-standard-8 16:41:36 INFO: Archiving Costs [Pipeline] sh 16:41:36 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 16:41:36 + cut -d, -f6 [Pipeline] lock 16:41:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] 16:41:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] did not exist. Created. 16:41:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:37 + echo total: 0.2199999988079071 [Pipeline] stash 16:41:37 Stashed 1 file(s) [Pipeline] } 16:41:37 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:37 $ docker stop --time=1 cdefcfecc7d6ec85b14eb15d0f92a08e25b0b8d7e696ad1458645450a977bf6c 16:41:38 $ docker rm -f cdefcfecc7d6ec85b14eb15d0f92a08e25b0b8d7e696ad1458645450a977bf6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:41:38 Failed in branch amd64 16:45:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23953 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 16:45:03 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 16:45:03 Selected Git installation does not exist. Using Default 16:45:03 The recommended git tool is: NONE 16:45:12 using credential edgex-jenkins-ssh 16:45:12 Cloning the remote Git repository 16:45:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:45:12 > git init /w/workspace/device-onvif-camera/4 # timeout=10 16:45:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:45:12 > git --version # timeout=10 16:45:12 > git --version # 'git version 2.25.1' 16:45:12 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:45:14 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 2cef749898c88682ef5cf2f6abfbb17959305e53 16:45:14 Merge succeeded, producing 2cef749898c88682ef5cf2f6abfbb17959305e53 16:45:14 Checking out Revision 2cef749898c88682ef5cf2f6abfbb17959305e53 (PR-149) 16:45:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:45:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:45:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:45:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:45:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:45:14 > git config core.sparsecheckout # timeout=10 16:45:14 > git checkout -f 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 16:45:14 > git remote # timeout=10 16:45:14 > git config --get remote.origin.url # timeout=10 16:45:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:45:14 > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 16:45:14 > git rev-parse HEAD^{commit} # timeout=10 16:45:14 > git config core.sparsecheckout # timeout=10 16:45:14 > git checkout -f 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 16:45:19 Commit message: "test: commented out unused functions" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:45:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:45:20 % Total % Received % Xferd Average Speed Time Time Time Current 16:45:20 Dload Upload Total Spent Left Speed 16:45:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 16:45:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:45:21 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 16:45:21 tee /etc/docker/daemon.new 16:45:21 { 16:45:21 "registry-mirrors": [ 16:45:21 "https://nexus3.edgexfoundry.org:10001" 16:45:21 ], 16:45:21 "bip": "10.250.0.254/24", 16:45:21 "hosts": [ 16:45:21 "tcp://0.0.0.0:5555", 16:45:21 "unix:///var/run/docker.sock" 16:45:21 ], 16:45:21 "mtu": 1458, 16:45:21 "selinux-enabled": true, 16:45:21 "seccomp-profile": "/etc/docker/seccomp.json" 16:45:21 } [Pipeline] sh 16:45:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:45:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:40 provisioning config files... 16:45:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config8211663959698020516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:40 ---> docker-login.sh 16:45:40 nexus3.edgexfoundry.org:10001 16:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 nexus3.edgexfoundry.org:10002 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:42 Configure a credential helper to remove this warning. See 16:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:42 16:45:42 Login Succeeded 16:45:42 nexus3.edgexfoundry.org:10003 16:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:43 Configure a credential helper to remove this warning. See 16:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:43 16:45:43 Login Succeeded 16:45:43 nexus3.edgexfoundry.org:10004 16:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:43 Configure a credential helper to remove this warning. See 16:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:43 16:45:43 Login Succeeded 16:45:43 docker.io 16:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:45:44 Configure a credential helper to remove this warning. See 16:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:45:44 16:45:44 Login Succeeded 16:45:44 ---> docker-login.sh ends [Pipeline] } 16:45:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:45:44 ========================================================= 16:45:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:45:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:45 + 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 . 16:45:45 Sending build context to Docker daemon 14.13MB 16:45:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:45:45 Step 2/13 : FROM ${BASE} AS builder 16:45:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:45:45 b3c136eddcbf: Pulling fs layer 16:45:45 c0a3192eca97: Pulling fs layer 16:45:45 a050256f5b6f: Pulling fs layer 16:45:45 656be50a0ddc: Pulling fs layer 16:45:45 2bbca73fdf42: Pulling fs layer 16:45:45 46d945488cbd: Pulling fs layer 16:45:45 8a5474983e97: Pulling fs layer 16:45:45 329c88fbcd65: Pulling fs layer 16:45:45 656be50a0ddc: Waiting 16:45:45 2bbca73fdf42: Waiting 16:45:45 46d945488cbd: Waiting 16:45:45 8a5474983e97: Waiting 16:45:45 329c88fbcd65: Waiting 16:45:45 a050256f5b6f: Verifying Checksum 16:45:45 a050256f5b6f: Download complete 16:45:45 c0a3192eca97: Verifying Checksum 16:45:45 c0a3192eca97: Download complete 16:45:45 2bbca73fdf42: Verifying Checksum 16:45:45 2bbca73fdf42: Download complete 16:45:45 b3c136eddcbf: Download complete 16:45:45 46d945488cbd: Verifying Checksum 16:45:45 46d945488cbd: Download complete 16:45:46 b3c136eddcbf: Pull complete 16:45:47 329c88fbcd65: Verifying Checksum 16:45:47 329c88fbcd65: Download complete 16:45:47 c0a3192eca97: Pull complete 16:45:48 a050256f5b6f: Pull complete 16:45:48 8a5474983e97: Verifying Checksum 16:45:48 8a5474983e97: Download complete 16:45:49 656be50a0ddc: Verifying Checksum 16:45:49 656be50a0ddc: Download complete 16:46:04 656be50a0ddc: Pull complete 16:46:04 2bbca73fdf42: Pull complete 16:46:04 46d945488cbd: Pull complete 16:46:09 8a5474983e97: Pull complete 16:46:12 329c88fbcd65: Pull complete 16:46:12 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:46:12 ---> ff4287adb874 16:46:12 Step 3/13 : ARG MAKE="make build" 16:46:14 ---> Running in 440642543c3e 16:46:15 Removing intermediate container 440642543c3e 16:46:15 ---> dfaef9bfaf9c 16:46:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:46:15 ---> Running in 40d8b28c972f 16:46:15 Removing intermediate container 40d8b28c972f 16:46:15 ---> 3291077f5b84 16:46:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:46:15 ---> Running in a73fb51c1ed4 16:46:16 Removing intermediate container a73fb51c1ed4 16:46:16 ---> cdc3ed8f3769 16:46:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:46:16 ---> Running in 6affd6a9b082 16:46:16 Removing intermediate container 6affd6a9b082 16:46:16 ---> 29f4ec6d0b60 16:46:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:17 ---> Running in d0388f053a29 16:46:19 Removing intermediate container d0388f053a29 16:46:19 ---> 8adff8337bb8 16:46:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:46:19 ---> Running in 49c459610aa7 16:46:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:46:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:46:22 OK: 221 MiB in 51 packages 16:46:23 Removing intermediate container 49c459610aa7 16:46:23 ---> b54894212ad0 16:46:23 Step 9/13 : WORKDIR /device-onvif-camera 16:46:23 ---> Running in 97dac9a1ab5d 16:46:23 Removing intermediate container 97dac9a1ab5d 16:46:23 ---> 2c76a1c0ac1d 16:46:23 Step 10/13 : COPY go.mod vendor* ./ 16:46:24 ---> b86d8c90a802 16:46:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:46:24 ---> Running in ea7934230314 16:47:20 Removing intermediate container ea7934230314 16:47:20 ---> b357a0b4e27d 16:47:20 Step 12/13 : COPY . . 16:47:21 ---> bb61631a9fb4 16:47:21 Step 13/13 : RUN ${MAKE} 16:47:21 ---> Running in 58988b5199b9 16:47:22 noop 16:47:23 Removing intermediate container 58988b5199b9 16:47:23 ---> 23647af1e084 16:47:23 Successfully built 23647af1e084 16:47:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:24 + docker inspect -f . ci-base-image-arm64 16:47:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:24 prd-ubuntu20.04-docker-arm64-4c-16g-23953 does not seem to be running inside a container 16:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:47:25 $ docker top 793c0e64633c20ea9a35568b71be9dde268466671d7d88933df5972a4370b40f -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:26 + go version 16:47:26 go version go1.18.3 linux/arm64 [Pipeline] } 16:47:26 $ docker stop --time=1 793c0e64633c20ea9a35568b71be9dde268466671d7d88933df5972a4370b40f 16:47:28 $ docker rm -f 793c0e64633c20ea9a35568b71be9dde268466671d7d88933df5972a4370b40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:29 + docker inspect -f . ci-base-image-arm64 16:47:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-23953 does not seem to be running inside a container 16:47:29 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:47:30 $ docker top f3f12e1028ddb48a25ae6bd2e158105886cf8261e2038ec70561bfdbeb652c49 -eo pid,comm [Pipeline] { [Pipeline] sh 16:47:31 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 16:47:32 + make test 16:47:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:47:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:49:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:49:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.191s coverage: 23.1% of statements 16:49:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.421s coverage: 13.8% of statements 16:49:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:49:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:50:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:25 ./internal/driver/driver_test.go 16:50:25 ./internal/driver/driver.go 16:50:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:25 make: *** [Makefile:63: test] Error 1 [Pipeline] } 16:50:25 $ docker stop --time=1 f3f12e1028ddb48a25ae6bd2e158105886cf8261e2038ec70561bfdbeb652c49 16:50:27 $ docker rm -f f3f12e1028ddb48a25ae6bd2e158105886cf8261e2038ec70561bfdbeb652c49 [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 16:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:28 16:50:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:29 arm64: Pulling from edgex-lftools-log-publisher 16:50:29 8998bd30e6a1: Pulling fs layer 16:50:29 04944245beec: Pulling fs layer 16:50:29 699f458cf7ca: Pulling fs layer 16:50:29 765212b225bb: Pulling fs layer 16:50:29 f23df028b6ca: Pulling fs layer 16:50:29 d65c8cfc05b1: Pulling fs layer 16:50:29 2437ff75d9bd: Pulling fs layer 16:50:29 f23df028b6ca: Waiting 16:50:29 d65c8cfc05b1: Waiting 16:50:29 2437ff75d9bd: Waiting 16:50:29 765212b225bb: Waiting 16:50:29 04944245beec: Verifying Checksum 16:50:29 04944245beec: Download complete 16:50:29 765212b225bb: Verifying Checksum 16:50:29 765212b225bb: Download complete 16:50:29 f23df028b6ca: Verifying Checksum 16:50:29 f23df028b6ca: Download complete 16:50:29 d65c8cfc05b1: Verifying Checksum 16:50:29 d65c8cfc05b1: Download complete 16:50:29 699f458cf7ca: Verifying Checksum 16:50:29 699f458cf7ca: Download complete 16:50:30 8998bd30e6a1: Verifying Checksum 16:50:30 8998bd30e6a1: Download complete 16:50:33 2437ff75d9bd: Download complete 16:50:35 8998bd30e6a1: Pull complete 16:50:35 04944245beec: Pull complete 16:50:37 699f458cf7ca: Pull complete 16:50:37 765212b225bb: Pull complete 16:50:38 f23df028b6ca: Pull complete 16:50:38 d65c8cfc05b1: Pull complete 16:50:53 2437ff75d9bd: Pull complete 16:50:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:50:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:50:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:54 prd-ubuntu20.04-docker-arm64-4c-16g-23953 does not seem to be running inside a container 16:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:50:57 $ docker top 607aab09b68297a1014bb5947aa00aca7cf3fef5cffee72713258c48cdaf5a00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:58 ---> job-cost.sh 16:50:58 lf-activate-venv: SKIPPING 16:50:58 INFO: No Stack... 16:50:58 INFO: Retrieving Pricing Info for: v3-standard-4 16:50:59 INFO: Archiving Costs [Pipeline] sh 16:51:00 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 16:51:00 + cut -d, -f6 [Pipeline] lock 16:51:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] 16:51:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] did not exist. Created. 16:51:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:51:00 /w/workspace/device-onvif-camera/4@tmp/durable-1db4f0f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:51:01 + echo total: 0.10999999940395355 [Pipeline] stash 16:51:01 Warning: overwriting stash ‘stack-cost’ 16:51:02 Stashed 1 file(s) [Pipeline] } 16:51:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:51:02 $ docker stop --time=1 607aab09b68297a1014bb5947aa00aca7cf3fef5cffee72713258c48cdaf5a00 16:51:03 $ docker rm -f 607aab09b68297a1014bb5947aa00aca7cf3fef5cffee72713258c48cdaf5a00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:51:04 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 16:51:04 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 16:51:04 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:51:04 total 16 16:51:04 drwxr-xr-x 3 root root 4096 Aug 30 16:41 . 16:51:04 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:41 .. 16:51:04 drwxr-xr-x 2 root root 4096 Aug 30 16:41 cost 16:51:04 -rw-r--r-- 1 root root 91 Aug 30 16:41 cost.csv 16:51:04 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 16:51:04 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 16:51:04 total 16 16:51:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 16:41 . 16:51:04 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:41 .. 16:51:04 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 16:41 cost 16:51:04 -rw-r--r-- 1 jenkins jenkins 91 Aug 30 16:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:51:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:51:05 ---> package-listing.sh 16:51:05 ++ facter osfamily 16:51:05 ++ tr '[:upper:]' '[:lower:]' 16:51:06 + OS_FAMILY=debian 16:51:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 16:51:06 + START_PACKAGES=/tmp/packages_start.txt 16:51:06 + END_PACKAGES=/tmp/packages_end.txt 16:51:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:51:06 + PACKAGES=/tmp/packages_start.txt 16:51:06 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:51:06 + PACKAGES=/tmp/packages_end.txt 16:51:06 + case "${OS_FAMILY}" in 16:51:06 + dpkg -l 16:51:06 + grep '^ii' 16:51:06 + '[' -f /tmp/packages_start.txt ']' 16:51:06 + '[' -f /tmp/packages_end.txt ']' 16:51:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:51:06 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 16:51:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 16:51:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo 16:51:06 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:51:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:51:07 prd-ubuntu20.04-docker-8c-8g-23952 does not seem to be running inside a container 16:51:07 $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 16:51:07 $ docker top 6bdda38673bb39a438f045b46a5852108003ec7e66641147f5a5b5fade714c16 -eo pid,comm [Pipeline] { [Pipeline] sh 16:51:07 + touch /tmp/pre-build-complete [Pipeline] sh 16:51:08 + mkdir -p /var/log/sysstat [Pipeline] sh 16:51:08 + ls /var/log/sa-host 16:51:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:51:08 provisioning config files... 16:51:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config422426580111348909tmp [Pipeline] { [Pipeline] echo 16:51:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:51:08 ---> create-netrc.sh [Pipeline] } 16:51:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:51:09 ---> python-tools-install.sh [Pipeline] echo 16:51:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:51:09 ---> sudo-logs.sh 16:51:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:51:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:51:09 ---> job-cost.sh 16:51:09 lf-activate-venv: SKIPPING 16:51:09 DEBUG: total: 0.2199999988079071 16:51:09 INFO: Retrieving Stack Cost... 16:51:10 INFO: Retrieving Pricing Info for: v3-standard-8 16:51:10 INFO: Archiving Costs [Pipeline] echo 16:51:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:51:10 ---> logs-deploy.sh 16:51:10 lf-activate-venv: SKIPPING 16:51:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/4 16:51:10 INFO: archiving workspace using pattern(s): 16:51:11 Archives upload complete. 16:51:12 INFO: archiving logs to Nexus 16:51:12 ---> uname -a: 16:51:12 Linux prd-ubuntu20-04-docker-8c-8g-23952 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:51:12 16:51:12