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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 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-ssh2532683909186287668.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-ssh8787609334436800886.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-ssh15194187975805281687.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-ssh4614471394156154634.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-ssh13132908150756184192.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-23954 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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 Merge succeeded, producing 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 Checking out Revision 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 (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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # 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 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 Commit message: "test: removed spaces" > git rev-list --no-walk 2cef749898c88682ef5cf2f6abfbb17959305e53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:55:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:55:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:55:02 ========================================================= 16:55:02 EdgeX Global Pipelines Version Info 16:55:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:55:02 ------------------- 16:55:02 stable info: 16:55:02 ------------------- 16:55:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:55:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:55:02 Message: update stable to v1.0.239 16:55:03 ------------------- 16:55:03 experimental info: 16:55:03 ------------------- 16:55:03 Commited By: **** collab-it+edgex@linuxfoundation.org 16:55:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:55:03 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:55:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cd9dd1 [Pipeline] echo 16:55:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:04 provisioning config files... 16:55:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1868431243816159749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:04 ---> docker-login.sh 16:55:04 nexus3.edgexfoundry.org:10001 16:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:04 Configure a credential helper to remove this warning. See 16:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:04 16:55:04 Login Succeeded 16:55:04 nexus3.edgexfoundry.org:10002 16:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:04 Configure a credential helper to remove this warning. See 16:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:04 16:55:04 Login Succeeded 16:55:04 nexus3.edgexfoundry.org:10003 16:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:05 Configure a credential helper to remove this warning. See 16:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:05 16:55:05 Login Succeeded 16:55:05 nexus3.edgexfoundry.org:10004 16:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:05 Configure a credential helper to remove this warning. See 16:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:05 16:55:05 Login Succeeded 16:55:05 docker.io 16:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:05 Configure a credential helper to remove this warning. See 16:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:05 16:55:05 Login Succeeded 16:55:05 ---> docker-login.sh ends [Pipeline] } 16:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:55:06 + git rev-list -1 --merges 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1~1..7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo 16:55:06 -----------> git rev-list -1 --merges 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1~1..7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [false] [Pipeline] sh 16:55:06 + git log --format=format:%s -1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo 16:55:06 ========================================================= 16:55:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:55:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:55:06 + git log --format=format:%s -1 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 [Pipeline] echo 16:55:06 [semverPrep] GIT_COMMIT: 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1, Commit Message: test: removed spaces [Pipeline] echo 16:55:06 [semverPrep] This is not a build commit. [Pipeline] sh 16:55:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:55:07 + grep -v github /etc/ssh/ssh_known_hosts 16:55:07 + [ -e /tmp/ssh_known_hosts ] 16:55:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:55:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:55:07 + sudo tee -a /etc/ssh/ssh_known_hosts 16:55:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:55:07 16:55:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:55:07 0.1.4: Pulling from edgex-devops/py-git-semver 16:55:07 b85a868b505f: Pulling fs layer 16:55:07 e2be974225ed: Pulling fs layer 16:55:07 339a4e72a1f5: Pulling fs layer 16:55:07 988bab9f4d93: Pulling fs layer 16:55:07 1469e6f7b9e6: Pulling fs layer 16:55:07 eaf3925da568: Pulling fs layer 16:55:07 988bab9f4d93: Waiting 16:55:07 1469e6f7b9e6: Waiting 16:55:07 bab4dde63d76: Pulling fs layer 16:55:07 bde34c3a00c8: Pulling fs layer 16:55:07 bab4dde63d76: Waiting 16:55:07 bde34c3a00c8: Waiting 16:55:07 b352a97aabf1: Pulling fs layer 16:55:07 4872d77fe225: Pulling fs layer 16:55:07 5851b861e8e6: Pulling fs layer 16:55:07 5851b861e8e6: Waiting 16:55:07 e2be974225ed: Verifying Checksum 16:55:07 e2be974225ed: Download complete 16:55:07 988bab9f4d93: Verifying Checksum 16:55:07 988bab9f4d93: Download complete 16:55:08 1469e6f7b9e6: Verifying Checksum 16:55:08 1469e6f7b9e6: Download complete 16:55:08 339a4e72a1f5: Verifying Checksum 16:55:08 339a4e72a1f5: Download complete 16:55:08 eaf3925da568: Verifying Checksum 16:55:08 eaf3925da568: Download complete 16:55:08 bde34c3a00c8: Verifying Checksum 16:55:08 bde34c3a00c8: Download complete 16:55:08 b352a97aabf1: Verifying Checksum 16:55:08 b352a97aabf1: Download complete 16:55:08 4872d77fe225: Download complete 16:55:08 5851b861e8e6: Verifying Checksum 16:55:08 5851b861e8e6: Download complete 16:55:08 b85a868b505f: Verifying Checksum 16:55:08 b85a868b505f: Download complete 16:55:08 bab4dde63d76: Verifying Checksum 16:55:08 bab4dde63d76: Download complete 16:55:09 b85a868b505f: Pull complete 16:55:09 e2be974225ed: Pull complete 16:55:10 339a4e72a1f5: Pull complete 16:55:10 988bab9f4d93: Pull complete 16:55:10 1469e6f7b9e6: Pull complete 16:55:10 eaf3925da568: Pull complete 16:55:12 bab4dde63d76: Pull complete 16:55:12 bde34c3a00c8: Pull complete 16:55:12 b352a97aabf1: Pull complete 16:55:13 4872d77fe225: Pull complete 16:55:13 5851b861e8e6: Pull complete 16:55:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:55:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:55:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:55:13 prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container 16:55:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:55:15 $ docker top fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e -eo pid,comm 16:55:15 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:55:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:55:16 [ssh-agent] Looking for ssh-agent implementation... 16:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:55:16 $ docker exec fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent 16:55:16 SSH_AUTH_SOCK=/tmp/ssh-Gj0tsM60P62i/agent.33 16:55:16 SSH_AGENT_PID=40 16:55:16 Running ssh-add (command line suppressed) 16:55:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8766622053346168387.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8766622053346168387.key) 16:55:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:55:16 + git tag --points-at HEAD [Pipeline] } 16:55:16 $ docker exec --env ******** --env ******** fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent -k 16:55:16 unset SSH_AUTH_SOCK; 16:55:16 unset SSH_AGENT_PID; 16:55:16 echo Agent pid 40 killed; 16:55:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:55:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:55:16 [ssh-agent] Looking for ssh-agent implementation... 16:55:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:55:16 $ docker exec fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent 16:55:17 SSH_AUTH_SOCK=/tmp/ssh-u7bl2eSBw1tn/agent.72 16:55:17 SSH_AGENT_PID=78 16:55:17 Running ssh-add (command line suppressed) 16:55:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_318618178513558442.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_318618178513558442.key) 16:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:55:17 + git semver init 16:55:17 2022-08-30 16:55:17,700 [run_init] DEBUG init version:0.0.0 force:False 16:55:17 2022-08-30 16:55:17,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 16:55:17 2022-08-30 16:55:17,701 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 16:55:17 2022-08-30 16:55:17,702 [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:55:18 2022-08-30 16:55:18,501 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 16:55:18 2022-08-30 16:55:18,502 [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:55:18 2022-08-30 16:55:18,502 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:55:18 2022-08-30 16:55:18,506 [execute] INFO git cat-file --batch-check 16:55:18 2022-08-30 16:55:18,507 [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:55:18 2022-08-30 16:55:18,515 [execute] INFO git cat-file --batch 16:55:18 2022-08-30 16:55:18,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 16:55:18 2022-08-30 16:55:18,521 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 16:55:18 0.0.0 [Pipeline] } 16:55:18 $ docker exec --env ******** --env ******** fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e ssh-agent -k 16:55:18 unset SSH_AUTH_SOCK; 16:55:18 unset SSH_AGENT_PID; 16:55:18 echo Agent pid 78 killed; 16:55:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:55:19 + git semver [Pipeline] } 16:55:19 $ docker stop --time=1 fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e 16:55:20 $ docker rm -f fb09a9c6b412e8756e90ead7c2224671a487cea903e7937368a21882da61881e [Pipeline] // withDockerContainer [Pipeline] sh 16:55:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:55:21 Stashed 1 file(s) [Pipeline] echo 16:55:21 [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:55:21 provisioning config files... 16:55:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6184185414662486201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:21 ---> docker-login.sh 16:55:21 nexus3.edgexfoundry.org:10001 16:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:21 Configure a credential helper to remove this warning. See 16:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:21 16:55:21 Login Succeeded 16:55:21 nexus3.edgexfoundry.org:10002 16:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 nexus3.edgexfoundry.org:10003 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 nexus3.edgexfoundry.org:10004 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 docker.io 16:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:22 Configure a credential helper to remove this warning. See 16:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:22 16:55:22 Login Succeeded 16:55:22 ---> docker-login.sh ends [Pipeline] } 16:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:55:22 ========================================================= 16:55:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:55:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:22 + 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:55:22 Sending build context to Docker daemon 20.61MB 16:55:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:55:23 Step 2/13 : FROM ${BASE} AS builder 16:55:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:55:23 2408cc74d12b: Pulling fs layer 16:55:23 ea60b727a1ce: Pulling fs layer 16:55:23 30c4a7721957: Pulling fs layer 16:55:23 370296b7ddb6: Pulling fs layer 16:55:23 7c6cee850709: Pulling fs layer 16:55:23 39a5fcdaea64: Pulling fs layer 16:55:23 d94ebbe4e438: Pulling fs layer 16:55:23 bcfd1f05c69d: Pulling fs layer 16:55:23 59ccb84bbe0f: Pulling fs layer 16:55:23 370296b7ddb6: Waiting 16:55:23 7c6cee850709: Waiting 16:55:23 39a5fcdaea64: Waiting 16:55:23 d94ebbe4e438: Waiting 16:55:23 bcfd1f05c69d: Waiting 16:55:23 59ccb84bbe0f: Waiting 16:55:23 30c4a7721957: Verifying Checksum 16:55:23 30c4a7721957: Download complete 16:55:23 ea60b727a1ce: Verifying Checksum 16:55:23 ea60b727a1ce: Download complete 16:55:23 7c6cee850709: Verifying Checksum 16:55:23 39a5fcdaea64: Verifying Checksum 16:55:23 39a5fcdaea64: Download complete 16:55:23 2408cc74d12b: Verifying Checksum 16:55:23 2408cc74d12b: Download complete 16:55:23 d94ebbe4e438: Verifying Checksum 16:55:23 d94ebbe4e438: Download complete 16:55:23 2408cc74d12b: Pull complete 16:55:23 ea60b727a1ce: Pull complete 16:55:23 30c4a7721957: Pull complete 16:55:23 59ccb84bbe0f: Verifying Checksum 16:55:23 59ccb84bbe0f: Download complete 16:55:23 bcfd1f05c69d: Verifying Checksum 16:55:23 bcfd1f05c69d: Download complete 16:55:24 370296b7ddb6: Verifying Checksum 16:55:24 370296b7ddb6: Download complete 16:55:28 370296b7ddb6: Pull complete 16:55:28 7c6cee850709: Pull complete 16:55:28 39a5fcdaea64: Pull complete 16:55:28 d94ebbe4e438: Pull complete 16:55:30 bcfd1f05c69d: Pull complete 16:55:31 59ccb84bbe0f: Pull complete 16:55:31 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:55:31 ---> a4fb48ad2a94 16:55:31 Step 3/13 : ARG MAKE="make build" 16:55:35 ---> Running in 5bfe7cd5d620 16:55:35 Removing intermediate container 5bfe7cd5d620 16:55:35 ---> 56f7c6dc5686 16:55:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:55:35 ---> Running in 3aaa04bfbbcd 16:55:35 Removing intermediate container 3aaa04bfbbcd 16:55:35 ---> 14d35913a790 16:55:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:55:35 ---> Running in 9ee92a6ef878 16:55:35 Removing intermediate container 9ee92a6ef878 16:55:35 ---> 3477e55c27ca 16:55:35 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:55:35 ---> Running in 7dff58166e60 16:55:35 Removing intermediate container 7dff58166e60 16:55:35 ---> 742e6ca6e411 16:55:35 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:35 ---> Running in 5762f8645fc3 16:55:35 Removing intermediate container 5762f8645fc3 16:55:35 ---> 372b2c4f3fe7 16:55:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:35 ---> Running in c1ec5920156e 16:55:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:55:36 Still waiting to schedule task 16:55:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:55:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:55:37 OK: 211 MiB in 51 packages 16:55:37 Removing intermediate container c1ec5920156e 16:55:37 ---> 0147976fa48a 16:55:37 Step 9/13 : WORKDIR /device-onvif-camera 16:55:37 ---> Running in 4b703463ca82 16:55:37 Removing intermediate container 4b703463ca82 16:55:37 ---> 9fc4811b1990 16:55:37 Step 10/13 : COPY go.mod vendor* ./ 16:55:37 ---> 4098a0a30091 16:55:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:37 ---> Running in 9b1bd88e291b 16:55:59 Removing intermediate container 9b1bd88e291b 16:55:59 ---> 202a10796933 16:55:59 Step 12/13 : COPY . . 16:55:59 ---> 84e1f3de1ef8 16:55:59 Step 13/13 : RUN ${MAKE} 16:55:59 ---> Running in a066d1e3fefa 16:55:59 noop 16:55:59 Removing intermediate container a066d1e3fefa 16:55:59 ---> 852236ad4f6c 16:55:59 Successfully built 852236ad4f6c 16:55:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:55:59 + docker inspect -f . ci-base-image-x86_64 16:55:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:00 prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container 16:56:00 $ 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 ******** ci-base-image-x86_64 cat 16:56:00 $ docker top 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:00 + go version 16:56:00 go version go1.18.3 linux/amd64 [Pipeline] } 16:56:00 $ docker stop --time=1 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 16:56:02 $ docker rm -f 9f0e802a145048583c0260f0843cb5c663728711c741263ceb77affde7fb63a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:02 + docker inspect -f . ci-base-image-x86_64 16:56:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:02 prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container 16:56:02 $ 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 ******** ci-base-image-x86_64 cat 16:56:03 $ docker top 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:03 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 16:56:03 + make test 16:56:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:56:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:56:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:56:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.024s coverage: 23.1% of statements 16:56:19 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.207s coverage: 13.8% of statements 16:56:25 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:56:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:56:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:56:29 ./internal/driver/driver_test.go 16:56:29 ./internal/driver/driver.go 16:56:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:56:29 make: *** [Makefile:63: test] Error 1 [Pipeline] } 16:56:29 $ docker stop --time=1 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa 16:56:31 $ docker rm -f 4d04dc7ca4eeade8953515ac16c66cf10cd1848482cb5129c7bc3f2aed6250fa [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:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:31 16:56:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:56:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:32 latest: Pulling from edgex-lftools-log-publisher 16:56:32 5eb5b503b376: Pulling fs layer 16:56:32 5c69ac0246d0: Pulling fs layer 16:56:32 ec43610c2a17: Pulling fs layer 16:56:32 3a2ae6a8a46f: Pulling fs layer 16:56:32 33b1e0a273af: Pulling fs layer 16:56:32 5d3b04190fa2: Pulling fs layer 16:56:32 2f39f015ded8: Pulling fs layer 16:56:32 3a2ae6a8a46f: Waiting 16:56:32 33b1e0a273af: Waiting 16:56:32 5d3b04190fa2: Waiting 16:56:32 2f39f015ded8: Waiting 16:56:32 5c69ac0246d0: Download complete 16:56:32 3a2ae6a8a46f: Download complete 16:56:32 ec43610c2a17: Verifying Checksum 16:56:32 ec43610c2a17: Download complete 16:56:32 33b1e0a273af: Verifying Checksum 16:56:32 33b1e0a273af: Download complete 16:56:32 5d3b04190fa2: Verifying Checksum 16:56:32 5d3b04190fa2: Download complete 16:56:32 5eb5b503b376: Verifying Checksum 16:56:32 5eb5b503b376: Download complete 16:56:33 2f39f015ded8: Download complete 16:56:33 5eb5b503b376: Pull complete 16:56:33 5c69ac0246d0: Pull complete 16:56:34 ec43610c2a17: Pull complete 16:56:34 3a2ae6a8a46f: Pull complete 16:56:34 33b1e0a273af: Pull complete 16:56:34 5d3b04190fa2: Pull complete 16:56:38 2f39f015ded8: Pull complete 16:56:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:56:38 prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container 16:56:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:56:41 $ docker top cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:41 ---> job-cost.sh 16:56:41 lf-activate-venv: SKIPPING 16:56:41 INFO: No Stack... 16:56:42 INFO: Retrieving Pricing Info for: v3-standard-8 16:56:42 INFO: Archiving Costs [Pipeline] sh 16:56:42 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 16:56:42 + cut -d, -f6 [Pipeline] lock 16:56:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] 16:56:42 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] did not exist. Created. 16:56:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:56:43 + echo total: 0.2199999988079071 [Pipeline] stash 16:56:43 Stashed 1 file(s) [Pipeline] } 16:56:43 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] // lock [Pipeline] } 16:56:43 $ docker stop --time=1 cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 16:56:44 $ docker rm -f cb4d24281e591205dc2b31a4e39d94691a95ee61ad41f0555dc11752e5637ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:56:44 Failed in branch amd64 17:00:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23955 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 17:00:03 Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout 17:00:03 Selected Git installation does not exist. Using Default 17:00:03 The recommended git tool is: NONE 17:00:10 using credential edgex-jenkins-ssh 17:00:10 Cloning the remote Git repository 17:00:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:00:10 > git init /w/workspace/device-onvif-camera/5 # timeout=10 17:00:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:00:10 > git --version # timeout=10 17:00:10 > git --version # 'git version 2.25.1' 17:00:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:00:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:00:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:00:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:00:12 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:12 > 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 17:00:12 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 17:00:13 Merge succeeded, producing 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 17:00:13 Checking out Revision 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 (PR-149) 17:00:12 > git config core.sparsecheckout # timeout=10 17:00:12 > git checkout -f 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 17:00:12 > git remote # timeout=10 17:00:13 > git config --get remote.origin.url # timeout=10 17:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 17:00:13 > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 17:00:13 > git rev-parse HEAD^{commit} # timeout=10 17:00:13 > git config core.sparsecheckout # timeout=10 17:00:13 > git checkout -f 7cd9dd1b19cc8bbee1e4e9390376b3583a9ff9e1 # timeout=10 17:00:17 Commit message: "test: removed spaces" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:00:18 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:18 Dload Upload Total Spent Left Speed 17:00:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 68489 0 --:--:-- --:--:-- --:--:-- 68489 [Pipeline] sh 17:00:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:00:19 + sudo tee /etc/docker/daemon.new 17:00:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:00:19 { 17:00:19 "registry-mirrors": [ 17:00:19 "https://nexus3.edgexfoundry.org:10001" 17:00:19 ], 17:00:19 "bip": "10.250.0.254/24", 17:00:19 "hosts": [ 17:00:19 "tcp://0.0.0.0:5555", 17:00:19 "unix:///var/run/docker.sock" 17:00:19 ], 17:00:19 "mtu": 1458, 17:00:19 "selinux-enabled": true, 17:00:19 "seccomp-profile": "/etc/docker/seccomp.json" 17:00:19 } [Pipeline] sh 17:00:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:00:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:38 provisioning config files... 17:00:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config7148923280100236119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:39 ---> docker-login.sh 17:00:39 nexus3.edgexfoundry.org:10001 17:00:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:40 Configure a credential helper to remove this warning. See 17:00:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:40 17:00:40 Login Succeeded 17:00:40 nexus3.edgexfoundry.org:10002 17:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:41 Configure a credential helper to remove this warning. See 17:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:41 17:00:41 Login Succeeded 17:00:41 nexus3.edgexfoundry.org:10003 17:00:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:41 Configure a credential helper to remove this warning. See 17:00:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:41 17:00:41 Login Succeeded 17:00:41 nexus3.edgexfoundry.org:10004 17:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:42 Configure a credential helper to remove this warning. See 17:00:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:42 17:00:42 Login Succeeded 17:00:42 docker.io 17:00:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:43 Configure a credential helper to remove this warning. See 17:00:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:43 17:00:43 Login Succeeded 17:00:43 ---> docker-login.sh ends [Pipeline] } 17:00:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:00:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:43 ========================================================= 17:00:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:00:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:44 + 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 . 17:00:44 Sending build context to Docker daemon 14.13MB 17:00:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:00:44 Step 2/13 : FROM ${BASE} AS builder 17:00:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:00:44 b3c136eddcbf: Pulling fs layer 17:00:44 c0a3192eca97: Pulling fs layer 17:00:44 a050256f5b6f: Pulling fs layer 17:00:44 656be50a0ddc: Pulling fs layer 17:00:44 2bbca73fdf42: Pulling fs layer 17:00:44 46d945488cbd: Pulling fs layer 17:00:44 8a5474983e97: Pulling fs layer 17:00:44 329c88fbcd65: Pulling fs layer 17:00:44 46d945488cbd: Waiting 17:00:44 8a5474983e97: Waiting 17:00:44 329c88fbcd65: Waiting 17:00:44 656be50a0ddc: Waiting 17:00:44 2bbca73fdf42: Waiting 17:00:44 a050256f5b6f: Verifying Checksum 17:00:44 a050256f5b6f: Download complete 17:00:44 c0a3192eca97: Download complete 17:00:44 2bbca73fdf42: Verifying Checksum 17:00:44 2bbca73fdf42: Download complete 17:00:44 46d945488cbd: Verifying Checksum 17:00:44 46d945488cbd: Download complete 17:00:44 b3c136eddcbf: Verifying Checksum 17:00:44 b3c136eddcbf: Download complete 17:00:45 b3c136eddcbf: Pull complete 17:00:46 329c88fbcd65: Verifying Checksum 17:00:46 329c88fbcd65: Download complete 17:00:46 c0a3192eca97: Pull complete 17:00:46 a050256f5b6f: Pull complete 17:00:47 8a5474983e97: Verifying Checksum 17:00:47 8a5474983e97: Download complete 17:00:48 656be50a0ddc: Verifying Checksum 17:00:48 656be50a0ddc: Download complete 17:01:03 656be50a0ddc: Pull complete 17:01:03 2bbca73fdf42: Pull complete 17:01:03 46d945488cbd: Pull complete 17:01:10 8a5474983e97: Pull complete 17:01:12 329c88fbcd65: Pull complete 17:01:12 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:01:12 ---> ff4287adb874 17:01:12 Step 3/13 : ARG MAKE="make build" 17:01:14 ---> Running in 674addfe4504 17:01:15 Removing intermediate container 674addfe4504 17:01:15 ---> 34ce2382129d 17:01:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:01:15 ---> Running in b9618e9aa414 17:01:15 Removing intermediate container b9618e9aa414 17:01:15 ---> 5275192bb910 17:01:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 17:01:15 ---> Running in 722a5eef290a 17:01:16 Removing intermediate container 722a5eef290a 17:01:16 ---> de878889962f 17:01:16 Step 6/13 : LABEL Name=edgex-device-onvif-camera 17:01:16 ---> Running in d578f8cf1932 17:01:16 Removing intermediate container d578f8cf1932 17:01:16 ---> 5b1f71fc7f54 17:01:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:01:16 ---> Running in 4a134457dc62 17:01:19 Removing intermediate container 4a134457dc62 17:01:19 ---> 3077a0fa62e5 17:01:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:01:19 ---> Running in ebdbfa5b5107 17:01:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:01:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:01:22 OK: 221 MiB in 51 packages 17:01:22 Removing intermediate container ebdbfa5b5107 17:01:22 ---> d4370c81ec77 17:01:22 Step 9/13 : WORKDIR /device-onvif-camera 17:01:23 ---> Running in 2d9b70699a07 17:01:23 Removing intermediate container 2d9b70699a07 17:01:23 ---> 312caa2aec68 17:01:23 Step 10/13 : COPY go.mod vendor* ./ 17:01:24 ---> eb3efa6a9845 17:01:24 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:01:24 ---> Running in d53c4c16b4ba 17:02:20 Removing intermediate container d53c4c16b4ba 17:02:20 ---> f16e963cecfd 17:02:20 Step 12/13 : COPY . . 17:02:20 ---> aa2a860ea699 17:02:20 Step 13/13 : RUN ${MAKE} 17:02:20 ---> Running in ed3b0fe4b4b8 17:02:20 noop 17:02:21 Removing intermediate container ed3b0fe4b4b8 17:02:21 ---> d121452a5b48 17:02:21 Successfully built d121452a5b48 17:02:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:22 + docker inspect -f . ci-base-image-arm64 17:02:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:22 prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container 17:02:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:02:24 $ docker top 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:25 + go version 17:02:25 go version go1.18.3 linux/arm64 [Pipeline] } 17:02:25 $ docker stop --time=1 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d 17:02:26 $ docker rm -f 5073efb2f6c61865e09defe0aa68db36c113cf38b3aafc40c7ea5a1b9077e32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:02:27 + docker inspect -f . ci-base-image-arm64 17:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:02:27 prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container 17:02:27 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:02:29 $ docker top 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh 17:02:30 + make test 17:02:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:02:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:04:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:04:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.190s coverage: 23.1% of statements 17:04:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 33.667s coverage: 13.8% of statements 17:04:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:04:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:05:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:05:18 ./internal/driver/driver_test.go 17:05:18 ./internal/driver/driver.go 17:05:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:05:18 make: *** [Makefile:63: test] Error 1 [Pipeline] } 17:05:18 $ docker stop --time=1 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 17:05:20 $ docker rm -f 1f6bfabe0fcdd78c02600dbb92369216c2b6348620024885cbe12133586e4640 [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 17:05:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:21 17:05:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:22 arm64: Pulling from edgex-lftools-log-publisher 17:05:22 8998bd30e6a1: Pulling fs layer 17:05:22 04944245beec: Pulling fs layer 17:05:22 699f458cf7ca: Pulling fs layer 17:05:22 765212b225bb: Pulling fs layer 17:05:22 f23df028b6ca: Pulling fs layer 17:05:22 765212b225bb: Waiting 17:05:22 d65c8cfc05b1: Pulling fs layer 17:05:22 2437ff75d9bd: Pulling fs layer 17:05:22 f23df028b6ca: Waiting 17:05:22 d65c8cfc05b1: Waiting 17:05:22 2437ff75d9bd: Waiting 17:05:22 04944245beec: Verifying Checksum 17:05:22 04944245beec: Download complete 17:05:22 765212b225bb: Verifying Checksum 17:05:22 765212b225bb: Download complete 17:05:22 f23df028b6ca: Verifying Checksum 17:05:22 f23df028b6ca: Download complete 17:05:22 d65c8cfc05b1: Verifying Checksum 17:05:22 d65c8cfc05b1: Download complete 17:05:22 699f458cf7ca: Verifying Checksum 17:05:22 699f458cf7ca: Download complete 17:05:23 8998bd30e6a1: Download complete 17:05:26 2437ff75d9bd: Verifying Checksum 17:05:28 8998bd30e6a1: Pull complete 17:05:28 04944245beec: Pull complete 17:05:29 699f458cf7ca: Pull complete 17:05:30 765212b225bb: Pull complete 17:05:31 f23df028b6ca: Pull complete 17:05:31 d65c8cfc05b1: Pull complete 17:05:49 2437ff75d9bd: Pull complete 17:05:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:50 prd-ubuntu20.04-docker-arm64-4c-16g-23955 does not seem to be running inside a container 17:05:50 $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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 17:05:53 $ docker top c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:54 ---> job-cost.sh 17:05:54 lf-activate-venv: SKIPPING 17:05:54 INFO: No Stack... 17:05:54 INFO: Retrieving Pricing Info for: v3-standard-4 17:05:55 INFO: Archiving Costs [Pipeline] sh 17:05:56 + cat /w/workspace/device-onvif-camera/5/archives/cost.csv 17:05:56 + cut -d, -f6 [Pipeline] lock 17:05:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] 17:05:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] did not exist. Created. 17:05:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:05:57 /w/workspace/device-onvif-camera/5@tmp/durable-ef718e95/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:05:57 + echo total: 0.10999999940395355 [Pipeline] stash 17:05:57 Warning: overwriting stash ‘stack-cost’ 17:05:58 Stashed 1 file(s) [Pipeline] } 17:05:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:05:58 $ docker stop --time=1 c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 17:05:59 $ docker rm -f c230ac90704bf51611ac3e111dd492efddca8e84b5899275d53ccabb18272677 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:06:00 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 17:06:00 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 17:06:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 17:06:00 total 16 17:06:00 drwxr-xr-x 3 root root 4096 Aug 30 16:56 . 17:06:00 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:56 .. 17:06:00 drwxr-xr-x 2 root root 4096 Aug 30 16:56 cost 17:06:00 -rw-r--r-- 1 root root 91 Aug 30 16:56 cost.csv 17:06:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 17:06:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 17:06:00 total 16 17:06:00 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 16:56 . 17:06:00 drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 16:56 .. 17:06:00 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 16:56 cost 17:06:00 -rw-r--r-- 1 jenkins jenkins 91 Aug 30 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:06:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:06:02 ---> package-listing.sh 17:06:02 ++ facter osfamily 17:06:02 ++ tr '[:upper:]' '[:lower:]' 17:06:02 + OS_FAMILY=debian 17:06:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 17:06:02 + START_PACKAGES=/tmp/packages_start.txt 17:06:02 + END_PACKAGES=/tmp/packages_end.txt 17:06:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:06:02 + PACKAGES=/tmp/packages_start.txt 17:06:02 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 17:06:02 + PACKAGES=/tmp/packages_end.txt 17:06:02 + case "${OS_FAMILY}" in 17:06:02 + dpkg -l 17:06:02 + grep '^ii' 17:06:02 + '[' -f /tmp/packages_start.txt ']' 17:06:02 + '[' -f /tmp/packages_end.txt ']' 17:06:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:06:02 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 17:06:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 17:06:02 + 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 17:06:02 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 17:06:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:06:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:03 prd-ubuntu20.04-docker-8c-8g-23954 does not seem to be running inside a container 17:06:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:06:03 $ docker top 4977986f5ab8f757d7a6a7456c533c8606d06846cca55b0843917e1b8d6bdfe8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:03 + touch /tmp/pre-build-complete [Pipeline] sh 17:06:04 + mkdir -p /var/log/sysstat [Pipeline] sh 17:06:04 + ls /var/log/sa-host 17:06:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:06:04 provisioning config files... 17:06:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5826065084880953284tmp [Pipeline] { [Pipeline] echo 17:06:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:06:04 ---> create-netrc.sh [Pipeline] } 17:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:06:05 ---> python-tools-install.sh [Pipeline] echo 17:06:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:06:05 ---> sudo-logs.sh 17:06:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:06:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:06:05 ---> job-cost.sh 17:06:05 lf-activate-venv: SKIPPING 17:06:05 DEBUG: total: 0.2199999988079071 17:06:05 INFO: Retrieving Stack Cost... 17:06:06 INFO: Retrieving Pricing Info for: v3-standard-8 17:06:06 INFO: Archiving Costs [Pipeline] echo 17:06:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:06:07 ---> logs-deploy.sh 17:06:07 lf-activate-venv: SKIPPING 17:06:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/5 17:06:07 INFO: archiving workspace using pattern(s): 17:06:07 Archives upload complete. 17:06:08 INFO: archiving logs to Nexus