Pull request #269 opened 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 weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 7bfdb12452cc50672e6b764c7473d371a18ced2b+b19be15f1aae5ce963d99b90e51172ceff0b476d (3dc191e05c7b102f13b31bd66ca37b6faa5b0b6a) 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-ssh11527415519382243133.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12173946675246684100.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3574804203654943976.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18045356607129313946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8642694474798670620.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9674058875200012186.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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-2356 in /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-269 # 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 > 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 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 7bfdb12452cc50672e6b764c7473d371a18ced2b Merge succeeded, producing 7bfdb12452cc50672e6b764c7473d371a18ced2b Checking out Revision 7bfdb12452cc50672e6b764c7473d371a18ced2b (PR-269) > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bfdb12452cc50672e6b764c7473d371a18ced2b # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bfdb12452cc50672e6b764c7473d371a18ced2b # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:07:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:34 ========================================================= 05:07:34 EdgeX Global Pipelines Version Info 05:07:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:07:35 ------------------- 05:07:35 stable info: 05:07:35 ------------------- 05:07:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:07:35 Message: update stable to v1.0.245 05:07:36 ------------------- 05:07:36 experimental info: 05:07:36 ------------------- 05:07:36 Commited By: **** collab-it+edgex@linuxfoundation.org 05:07:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 05:07:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bfdb12452cc50672e6b764c7473d371a18ced2b [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bfdb12 [Pipeline] echo 05:07:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:37 provisioning config files... 05:07:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config5795953652127231861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:38 ---> docker-login.sh 05:07:38 nexus3.edgexfoundry.org:10001 05:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:38 Configure a credential helper to remove this warning. See 05:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:38 05:07:38 Login Succeeded 05:07:38 nexus3.edgexfoundry.org:10002 05:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:38 Configure a credential helper to remove this warning. See 05:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:38 05:07:38 Login Succeeded 05:07:38 nexus3.edgexfoundry.org:10003 05:07:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:38 Configure a credential helper to remove this warning. See 05:07:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:38 05:07:38 Login Succeeded 05:07:38 nexus3.edgexfoundry.org:10004 05:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:39 Configure a credential helper to remove this warning. See 05:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:39 05:07:39 Login Succeeded 05:07:39 docker.io 05:07:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:39 Configure a credential helper to remove this warning. See 05:07:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:39 05:07:39 Login Succeeded 05:07:39 ---> docker-login.sh ends [Pipeline] } 05:07:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:40 + git rev-list -1 --merges 7bfdb12452cc50672e6b764c7473d371a18ced2b~1..7bfdb12452cc50672e6b764c7473d371a18ced2b [Pipeline] echo 05:07:40 -----------> git rev-list -1 --merges 7bfdb12452cc50672e6b764c7473d371a18ced2b~1..7bfdb12452cc50672e6b764c7473d371a18ced2b 7bfdb12452cc50672e6b764c7473d371a18ced2b [false] [Pipeline] sh 05:07:40 + git log --format=format:%s -1 7bfdb12452cc50672e6b764c7473d371a18ced2b [Pipeline] echo 05:07:40 ========================================================= 05:07:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:40 + git log --format=format:%s -1 7bfdb12452cc50672e6b764c7473d371a18ced2b [Pipeline] echo 05:07:40 [semverPrep] GIT_COMMIT: 7bfdb12452cc50672e6b764c7473d371a18ced2b, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo 05:07:40 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:41 + grep -v github /etc/ssh/ssh_known_hosts 05:07:41 + [ -e /tmp/ssh_known_hosts ] 05:07:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:41 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:41 05:07:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:42 0.1.4: Pulling from edgex-devops/py-git-semver 05:07:42 b85a868b505f: Pulling fs layer 05:07:42 e2be974225ed: Pulling fs layer 05:07:42 339a4e72a1f5: Pulling fs layer 05:07:42 988bab9f4d93: Pulling fs layer 05:07:42 1469e6f7b9e6: Pulling fs layer 05:07:42 eaf3925da568: Pulling fs layer 05:07:42 bab4dde63d76: Pulling fs layer 05:07:42 bde34c3a00c8: Pulling fs layer 05:07:42 b352a97aabf1: Pulling fs layer 05:07:42 4872d77fe225: Pulling fs layer 05:07:42 5851b861e8e6: Pulling fs layer 05:07:42 bde34c3a00c8: Waiting 05:07:42 b352a97aabf1: Waiting 05:07:42 4872d77fe225: Waiting 05:07:42 5851b861e8e6: Waiting 05:07:42 988bab9f4d93: Waiting 05:07:42 1469e6f7b9e6: Waiting 05:07:42 bab4dde63d76: Waiting 05:07:42 eaf3925da568: Waiting 05:07:42 e2be974225ed: Verifying Checksum 05:07:42 e2be974225ed: Download complete 05:07:42 988bab9f4d93: Download complete 05:07:42 339a4e72a1f5: Verifying Checksum 05:07:42 339a4e72a1f5: Download complete 05:07:42 1469e6f7b9e6: Verifying Checksum 05:07:42 1469e6f7b9e6: Download complete 05:07:42 eaf3925da568: Verifying Checksum 05:07:42 eaf3925da568: Download complete 05:07:42 bde34c3a00c8: Verifying Checksum 05:07:42 bde34c3a00c8: Download complete 05:07:42 b352a97aabf1: Verifying Checksum 05:07:42 b352a97aabf1: Download complete 05:07:42 4872d77fe225: Download complete 05:07:42 5851b861e8e6: Verifying Checksum 05:07:42 5851b861e8e6: Download complete 05:07:42 b85a868b505f: Verifying Checksum 05:07:42 b85a868b505f: Download complete 05:07:43 bab4dde63d76: Verifying Checksum 05:07:43 bab4dde63d76: Download complete 05:07:43 b85a868b505f: Pull complete 05:07:44 e2be974225ed: Pull complete 05:07:45 339a4e72a1f5: Pull complete 05:07:45 988bab9f4d93: Pull complete 05:07:45 1469e6f7b9e6: Pull complete 05:07:45 eaf3925da568: Pull complete 05:07:47 bab4dde63d76: Pull complete 05:07:47 bde34c3a00c8: Pull complete 05:07:47 b352a97aabf1: Pull complete 05:07:47 4872d77fe225: Pull complete 05:07:47 5851b861e8e6: Pull complete 05:07:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:47 prd-ubuntu20.04-docker-8c-8g-2356 does not seem to be running inside a container 05:07:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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 05:07:49 $ docker top 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 -eo pid,comm 05:07:49 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). 05:07:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:49 [ssh-agent] Looking for ssh-agent implementation... 05:07:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:49 $ docker exec 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 ssh-agent 05:07:49 SSH_AUTH_SOCK=/tmp/ssh-kcQV0iTYv9kA/agent.33 05:07:49 SSH_AGENT_PID=39 05:07:49 Running ssh-add (command line suppressed) 05:07:49 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_18385960660736732362.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_18385960660736732362.key) 05:07:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:50 + git tag --points-at HEAD [Pipeline] } 05:07:50 $ docker exec --env ******** --env ******** 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 ssh-agent -k 05:07:50 unset SSH_AUTH_SOCK; 05:07:50 unset SSH_AGENT_PID; 05:07:50 echo Agent pid 39 killed; 05:07:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:50 [ssh-agent] Looking for ssh-agent implementation... 05:07:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:50 $ docker exec 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 ssh-agent 05:07:50 SSH_AUTH_SOCK=/tmp/ssh-sza5NN2lq2Hs/agent.71 05:07:50 SSH_AGENT_PID=78 05:07:50 Running ssh-add (command line suppressed) 05:07:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_12097869123380367543.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_12097869123380367543.key) 05:07:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:51 + git semver init 05:07:51 2023-03-16 05:07:51,504 [run_init] DEBUG init version:0.0.0 force:False 05:07:51 2023-03-16 05:07:51,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-269/.semver 05:07:51 2023-03-16 05:07:51,505 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-269/.semver 05:07:51 2023-03-16 05:07:51,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-269/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-269, universal_newlines=False, shell=None, istream=None) 05:07:52 2023-03-16 05:07:52,346 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-269/.git/info/exclude 05:07:52 2023-03-16 05:07:52,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 with force:False 05:07:52 2023-03-16 05:07:52,346 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 05:07:52 2023-03-16 05:07:52,351 [execute] INFO git cat-file --batch-check 05:07:52 2023-03-16 05:07:52,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 05:07:52 2023-03-16 05:07:52,357 [execute] INFO git cat-file --batch 05:07:52 2023-03-16 05:07:52,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 05:07:52 2023-03-16 05:07:52,363 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 05:07:52 0.0.0 [Pipeline] } 05:07:52 $ docker exec --env ******** --env ******** 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 ssh-agent -k 05:07:52 unset SSH_AUTH_SOCK; 05:07:52 unset SSH_AGENT_PID; 05:07:52 echo Agent pid 78 killed; 05:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:53 + git semver [Pipeline] } 05:07:53 $ docker stop --time=1 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 05:07:54 $ docker rm -f --volumes 6d16264b750cec62f46364d7ecf5e69541147a5ebc2db166fab3b37b54b69a85 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:55 Stashed 1 file(s) [Pipeline] echo 05:07:55 [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 05:07:55 provisioning config files... 05:07:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config16550094004602844561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:56 ---> docker-login.sh 05:07:56 nexus3.edgexfoundry.org:10001 05:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:56 Configure a credential helper to remove this warning. See 05:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:56 05:07:56 Login Succeeded 05:07:56 nexus3.edgexfoundry.org:10002 05:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:56 Configure a credential helper to remove this warning. See 05:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:56 05:07:56 Login Succeeded 05:07:56 nexus3.edgexfoundry.org:10003 05:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:56 Configure a credential helper to remove this warning. See 05:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:56 05:07:56 Login Succeeded 05:07:56 nexus3.edgexfoundry.org:10004 05:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:56 Configure a credential helper to remove this warning. See 05:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:56 05:07:56 Login Succeeded 05:07:56 docker.io 05:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:56 Configure a credential helper to remove this warning. See 05:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:56 05:07:56 Login Succeeded 05:07:56 ---> docker-login.sh ends [Pipeline] } 05:07:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:57 ========================================================= 05:07:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:07:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:07:57 Sending build context to Docker daemon 27.95MB 05:07:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:07:57 Step 2/13 : FROM ${BASE} AS builder 05:07:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:57 63b65145d645: Pulling fs layer 05:07:57 a2d21d5440eb: Pulling fs layer 05:07:57 935e6c44a52c: Pulling fs layer 05:07:57 94cc34f8dd06: Pulling fs layer 05:07:57 30dea6a524f1: Pulling fs layer 05:07:57 a2aff8979fd8: Pulling fs layer 05:07:57 6808be2612f2: Pulling fs layer 05:07:57 f25807f1079a: Pulling fs layer 05:07:57 94cc34f8dd06: Waiting 05:07:57 30dea6a524f1: Waiting 05:07:57 f25807f1079a: Waiting 05:07:57 a2aff8979fd8: Waiting 05:07:57 6808be2612f2: Waiting 05:07:57 a2d21d5440eb: Download complete 05:07:57 94cc34f8dd06: Verifying Checksum 05:07:57 94cc34f8dd06: Download complete 05:07:57 30dea6a524f1: Verifying Checksum 05:07:57 30dea6a524f1: Download complete 05:07:57 63b65145d645: Verifying Checksum 05:07:57 63b65145d645: Download complete 05:07:57 a2aff8979fd8: Verifying Checksum 05:07:57 a2aff8979fd8: Download complete 05:07:58 63b65145d645: Pull complete 05:07:58 a2d21d5440eb: Pull complete 05:07:58 f25807f1079a: Verifying Checksum 05:07:58 f25807f1079a: Download complete 05:07:58 935e6c44a52c: Verifying Checksum 05:07:58 935e6c44a52c: Download complete 05:07:58 6808be2612f2: Verifying Checksum 05:07:58 6808be2612f2: Download complete 05:08:02 935e6c44a52c: Pull complete 05:08:02 94cc34f8dd06: Pull complete 05:08:02 30dea6a524f1: Pull complete 05:08:02 a2aff8979fd8: Pull complete 05:08:04 6808be2612f2: Pull complete 05:08:05 f25807f1079a: Pull complete 05:08:05 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:08:05 ---> 3b553350e43f 05:08:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:08:07 ---> Running in b3d97b41c0f2 05:08:07 Removing intermediate container b3d97b41c0f2 05:08:07 ---> 31159113c8da 05:08:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:07 ---> Running in fa9136b1cbd4 05:08:07 Removing intermediate container fa9136b1cbd4 05:08:07 ---> 27a3ad098125 05:08:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:08:07 ---> Running in e6d122120766 05:08:07 Removing intermediate container e6d122120766 05:08:07 ---> 0a1bb977aa92 05:08:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:08:07 ---> Running in 35071345ba48 05:08:08 Removing intermediate container 35071345ba48 05:08:08 ---> 9546d2d98cc9 05:08:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:08:08 ---> Running in 6e262316532b 05:08:08 Removing intermediate container 6e262316532b 05:08:08 ---> 418002ac743b 05:08:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:08 ---> Running in f8b9d169629b 05:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:08:08 OK: 265 MiB in 53 packages 05:08:09 Removing intermediate container f8b9d169629b 05:08:09 ---> 71a8d88d4f8b 05:08:09 Step 9/13 : WORKDIR /device-onvif-camera 05:08:09 ---> Running in f114fd9f5b47 05:08:09 Removing intermediate container f114fd9f5b47 05:08:09 ---> 6cd0a8314e69 05:08:09 Step 10/13 : COPY go.mod vendor* ./ 05:08:09 ---> 8d6e8dd567fa 05:08:09 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:09 ---> Running in 5a4e9a7c744d 05:08:10 Still waiting to schedule task 05:08:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:08:48 Removing intermediate container 5a4e9a7c744d 05:08:48 ---> 97c9e074dae9 05:08:48 Step 12/13 : COPY . . 05:08:48 ---> e8a0a535acb8 05:08:48 Step 13/13 : RUN ${MAKE} 05:08:48 ---> Running in 81e39a0c8033 05:08:48 noop 05:08:48 Removing intermediate container 81e39a0c8033 05:08:48 ---> 81fca9cdca28 05:08:48 Successfully built 81fca9cdca28 05:08:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:48 + docker inspect -f . ci-base-image-x86_64 05:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:48 prd-ubuntu20.04-docker-8c-8g-2356 does not seem to be running inside a container 05:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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 05:08:49 $ docker top a18dd6cfe2852384fb06b3aad3d13f9c590ccf77409f181ea8ba979aee87b4cb -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:49 + go version 05:08:49 go version go1.20.2 linux/amd64 [Pipeline] } 05:08:49 $ docker stop --time=1 a18dd6cfe2852384fb06b3aad3d13f9c590ccf77409f181ea8ba979aee87b4cb 05:08:50 $ docker rm -f --volumes a18dd6cfe2852384fb06b3aad3d13f9c590ccf77409f181ea8ba979aee87b4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:51 + docker inspect -f . ci-base-image-x86_64 05:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:51 prd-ubuntu20.04-docker-8c-8g-2356 does not seem to be running inside a container 05:08:51 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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 05:08:52 $ docker top e8f8009583c2d858a7a377dd819d549061302cc0cba7a7eed471af5200377191 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:52 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] fileExists [Pipeline] sh 05:08:52 + make test 05:08:52 go test ./... -coverprofile=coverage.out ./... 05:08:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:09:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:09:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:09:09 --- FAIL: TestOnvifDiscovery_discoveryFilter (0.00s) 05:09:09 --- FAIL: TestOnvifDiscovery_discoveryFilter/No_new_devices (0.00s) 05:09:09 onvifdiscovery_test.go:266: PASS: Devices() 05:09:09 onvifdiscovery_test.go:268: 05:09:09 Error Trace: /w/workspace/undry_device-onvif-camera_PR-269/internal/driver/onvifdiscovery_test.go:268 05:09:09 Error: Not equal: 05:09:09 expected: []models.DiscoveredDevice{} 05:09:09 actual : []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice1", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793dfb2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice2", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e0a2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice3", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e19c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:09:09 05:09:09 Diff: 05:09:09 --- Expected 05:09:09 +++ Actual 05:09:09 @@ -1,2 +1,32 @@ 05:09:09 -([]models.DiscoveredDevice) { 05:09:09 +([]models.DiscoveredDevice) (len=3) { 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice1", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793dfb2-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + }, 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice2", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e0a2-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + }, 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice3", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e19c-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + } 05:09:09 } 05:09:09 Test: TestOnvifDiscovery_discoveryFilter/No_new_devices 05:09:09 --- FAIL: TestOnvifDiscovery_discoveryFilter/new_and_old_devices (0.00s) 05:09:09 onvifdiscovery_test.go:266: PASS: Devices() 05:09:09 onvifdiscovery_test.go:268: 05:09:09 Error Trace: /w/workspace/undry_device-onvif-camera_PR-269/internal/driver/onvifdiscovery_test.go:268 05:09:09 Error: Not equal: 05:09:09 expected: []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice4", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"8076305c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice5", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"80763188-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:09:09 actual : []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice1", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793dfb2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice2", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e0a2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice3", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e19c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice4", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"8076305c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice5", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"80763188-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:09:09 05:09:09 Diff: 05:09:09 --- Expected 05:09:09 +++ Actual 05:09:09 @@ -1,2 +1,32 @@ 05:09:09 -([]models.DiscoveredDevice) (len=2) { 05:09:09 +([]models.DiscoveredDevice) (len=5) { 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice1", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793dfb2-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + }, 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice2", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e0a2-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + }, 05:09:09 + (models.DiscoveredDevice) { 05:09:09 + Name: (string) (len=11) "testDevice3", 05:09:09 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:09:09 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e19c-28b0-11ed-a261-0242ac120002" 05:09:09 + } 05:09:09 + }, 05:09:09 + Description: (string) "", 05:09:09 + Labels: ([]string) 05:09:09 + }, 05:09:09 (models.DiscoveredDevice) { 05:09:09 Test: TestOnvifDiscovery_discoveryFilter/new_and_old_devices 05:09:09 FAIL 05:09:09 github.com/edgexfoundry/device-onvif-camera/internal/driver coverage: 30.1% of statements 05:09:09 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s 05:09:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.209s coverage: 86.5% of statements 05:09:09 FAIL 05:09:09 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 05:09:10 $ docker stop --time=1 e8f8009583c2d858a7a377dd819d549061302cc0cba7a7eed471af5200377191 05:09:12 $ docker rm -f --volumes e8f8009583c2d858a7a377dd819d549061302cc0cba7a7eed471af5200377191 [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 05:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:13 05:09:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:13 latest: Pulling from edgex-lftools-log-publisher 05:09:13 5eb5b503b376: Pulling fs layer 05:09:13 5c69ac0246d0: Pulling fs layer 05:09:13 ec43610c2a17: Pulling fs layer 05:09:13 3a2ae6a8a46f: Pulling fs layer 05:09:13 33b1e0a273af: Pulling fs layer 05:09:13 5d3b04190fa2: Pulling fs layer 05:09:13 2f39f015ded8: Pulling fs layer 05:09:13 33b1e0a273af: Waiting 05:09:13 2f39f015ded8: Waiting 05:09:13 3a2ae6a8a46f: Waiting 05:09:13 5c69ac0246d0: Verifying Checksum 05:09:13 5c69ac0246d0: Download complete 05:09:13 3a2ae6a8a46f: Verifying Checksum 05:09:13 3a2ae6a8a46f: Download complete 05:09:13 33b1e0a273af: Verifying Checksum 05:09:13 33b1e0a273af: Download complete 05:09:13 ec43610c2a17: Verifying Checksum 05:09:13 ec43610c2a17: Download complete 05:09:13 5d3b04190fa2: Download complete 05:09:13 5eb5b503b376: Verifying Checksum 05:09:13 5eb5b503b376: Download complete 05:09:14 2f39f015ded8: Download complete 05:09:14 5eb5b503b376: Pull complete 05:09:15 5c69ac0246d0: Pull complete 05:09:15 ec43610c2a17: Pull complete 05:09:15 3a2ae6a8a46f: Pull complete 05:09:15 33b1e0a273af: Pull complete 05:09:15 5d3b04190fa2: Pull complete 05:09:20 2f39f015ded8: Pull complete 05:09:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:20 prd-ubuntu20.04-docker-8c-8g-2356 does not seem to be running inside a container 05:09:20 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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 05:09:22 $ docker top ba82e482f6479bd9ada6276a18612c78fc2ddb89c4e8eea17add27cde5dbe3d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:22 ---> job-cost.sh 05:09:22 lf-activate-venv: SKIPPING 05:09:22 INFO: No Stack... 05:09:23 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:23 INFO: Archiving Costs [Pipeline] sh 05:09:23 + cat /w/workspace/undry_device-onvif-camera_PR-269/archives/cost.csv 05:09:23 + cut -d, -f6 [Pipeline] lock 05:09:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] 05:09:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] did not exist. Created. 05:09:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:24 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:24 Stashed 1 file(s) [Pipeline] } 05:09:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:24 $ docker stop --time=1 ba82e482f6479bd9ada6276a18612c78fc2ddb89c4e8eea17add27cde5dbe3d8 05:09:25 $ docker rm -f --volumes ba82e482f6479bd9ada6276a18612c78fc2ddb89c4e8eea17add27cde5dbe3d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:25 Failed in branch amd64 05:12:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2360 in /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] { [Pipeline] ws 05:12:16 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 05:12:16 The recommended git tool is: git 05:12:22 using credential edgex-jenkins-ssh 05:12:22 Cloning the remote Git repository 05:12:22 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 05:12:22 > git init /w/workspace/device-onvif-camera/1 # timeout=10 05:12:23 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:12:23 > git --version # timeout=10 05:12:23 > git --version # 'git version 2.25.1' 05:12:23 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:24 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:12:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:12:26 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 7bfdb12452cc50672e6b764c7473d371a18ced2b 05:12:25 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:12:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:12:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:12:26 > git config core.sparsecheckout # timeout=10 05:12:26 > git checkout -f 7bfdb12452cc50672e6b764c7473d371a18ced2b # timeout=10 05:12:27 Merge succeeded, producing 7bfdb12452cc50672e6b764c7473d371a18ced2b 05:12:27 Checking out Revision 7bfdb12452cc50672e6b764c7473d371a18ced2b (PR-269) 05:12:27 > git remote # timeout=10 05:12:27 > git config --get remote.origin.url # timeout=10 05:12:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:12:27 > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 05:12:27 > git rev-parse HEAD^{commit} # timeout=10 05:12:27 > git config core.sparsecheckout # timeout=10 05:12:27 > git checkout -f 7bfdb12452cc50672e6b764c7473d371a18ced2b # timeout=10 05:12:31 Commit message: "refactor!: consume device-sdk-go breaking changes" 05:12:31 > git --version # timeout=10 05:12:31 > git --version # 'git version 2.25.1' 05:12:31 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:12:32 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:32 Dload Upload Total Spent Left Speed 05:12:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 05:12:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:12:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:12:33 + sudo tee /etc/docker/daemon.new 05:12:33 { 05:12:33 "registry-mirrors": [ 05:12:33 "https://nexus3.edgexfoundry.org:10001" 05:12:33 ], 05:12:33 "bip": "10.250.0.254/24", 05:12:33 "hosts": [ 05:12:33 "tcp://0.0.0.0:5555", 05:12:33 "unix:///var/run/docker.sock" 05:12:33 ], 05:12:33 "mtu": 1458, 05:12:33 "selinux-enabled": true, 05:12:33 "seccomp-profile": "/etc/docker/seccomp.json" 05:12:33 } [Pipeline] sh 05:12:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:12:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:52 provisioning config files... 05:12:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7707210367901281627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:53 ---> docker-login.sh 05:12:53 nexus3.edgexfoundry.org:10001 05:12:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:53 Configure a credential helper to remove this warning. See 05:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:53 05:12:53 Login Succeeded 05:12:53 nexus3.edgexfoundry.org:10002 05:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:54 Configure a credential helper to remove this warning. See 05:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:54 05:12:54 Login Succeeded 05:12:54 nexus3.edgexfoundry.org:10003 05:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:54 Configure a credential helper to remove this warning. See 05:12:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:54 05:12:54 Login Succeeded 05:12:54 nexus3.edgexfoundry.org:10004 05:12:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:55 Configure a credential helper to remove this warning. See 05:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:55 05:12:55 Login Succeeded 05:12:55 docker.io 05:12:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:12:55 Configure a credential helper to remove this warning. See 05:12:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:12:55 05:12:55 Login Succeeded 05:12:55 ---> docker-login.sh ends [Pipeline] } 05:12:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:12:56 ========================================================= 05:12:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:12:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:12:57 Sending build context to Docker daemon 20.7MB 05:12:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:12:57 Step 2/13 : FROM ${BASE} AS builder 05:12:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:12:57 af6eaf76a39c: Pulling fs layer 05:12:57 55522c791124: Pulling fs layer 05:12:57 ce5c4a1c91eb: Pulling fs layer 05:12:57 169dfbe0d373: Pulling fs layer 05:12:57 e1ff8fa3b103: Pulling fs layer 05:12:57 52ebb69f0ebf: Pulling fs layer 05:12:57 5abe8eddf0d5: Pulling fs layer 05:12:57 e1ff8fa3b103: Waiting 05:12:57 52ebb69f0ebf: Waiting 05:12:57 5abe8eddf0d5: Waiting 05:12:57 169dfbe0d373: Waiting 05:12:57 55522c791124: Verifying Checksum 05:12:57 55522c791124: Download complete 05:12:57 169dfbe0d373: Verifying Checksum 05:12:57 169dfbe0d373: Download complete 05:12:57 e1ff8fa3b103: Verifying Checksum 05:12:57 e1ff8fa3b103: Download complete 05:12:57 af6eaf76a39c: Verifying Checksum 05:12:57 af6eaf76a39c: Download complete 05:12:58 af6eaf76a39c: Pull complete 05:12:58 5abe8eddf0d5: Verifying Checksum 05:12:58 5abe8eddf0d5: Download complete 05:12:59 55522c791124: Pull complete 05:12:59 ce5c4a1c91eb: Verifying Checksum 05:12:59 ce5c4a1c91eb: Download complete 05:12:59 52ebb69f0ebf: Verifying Checksum 05:12:59 52ebb69f0ebf: Download complete 05:13:09 ce5c4a1c91eb: Pull complete 05:13:09 169dfbe0d373: Pull complete 05:13:10 e1ff8fa3b103: Pull complete 05:13:16 52ebb69f0ebf: Pull complete 05:13:18 5abe8eddf0d5: Pull complete 05:13:18 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:13:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:13:18 ---> 6cb57ee374ae 05:13:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:13:20 ---> Running in 70afd257c957 05:13:21 Removing intermediate container 70afd257c957 05:13:21 ---> 67fcb1592c05 05:13:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:21 ---> Running in d20046681407 05:13:21 Removing intermediate container d20046681407 05:13:21 ---> d6c23cae35e0 05:13:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:13:22 ---> Running in 9c289a347f64 05:13:22 Removing intermediate container 9c289a347f64 05:13:22 ---> 24fdeabf3e09 05:13:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:13:22 ---> Running in 6d24a752f04a 05:13:22 Removing intermediate container 6d24a752f04a 05:13:22 ---> 2bfe37df3819 05:13:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:13:22 ---> Running in a00eb2a1b4f6 05:13:23 Removing intermediate container a00eb2a1b4f6 05:13:23 ---> 64e16410fa7a 05:13:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:13:23 ---> Running in 5c8cc8159ae4 05:13:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:13:26 OK: 263 MiB in 53 packages 05:13:27 Removing intermediate container 5c8cc8159ae4 05:13:27 ---> e64278c1a152 05:13:27 Step 9/13 : WORKDIR /device-onvif-camera 05:13:27 ---> Running in aabdff29fb91 05:13:27 Removing intermediate container aabdff29fb91 05:13:27 ---> faa7c0816623 05:13:27 Step 10/13 : COPY go.mod vendor* ./ 05:13:28 ---> 516b139abb20 05:13:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:13:28 ---> Running in bc3bc5e96ea5 05:14:36 Removing intermediate container bc3bc5e96ea5 05:14:36 ---> 76f2d90f0ea3 05:14:36 Step 12/13 : COPY . . 05:14:37 ---> ae310e78de2d 05:14:37 Step 13/13 : RUN ${MAKE} 05:14:37 ---> Running in daa1ec6e1286 05:14:38 noop 05:14:39 Removing intermediate container daa1ec6e1286 05:14:39 ---> bbf1b214d182 05:14:39 Successfully built bbf1b214d182 05:14:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:40 + docker inspect -f . ci-base-image-arm64 05:14:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-2360 does not seem to be running inside a container 05:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 05:14:42 $ docker top 8979231a4095008c5678a0d0683fcbb3652a9a99997f20f6615613abec0ba28a -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:43 + go version 05:14:43 go version go1.20.2 linux/arm64 [Pipeline] } 05:14:43 $ docker stop --time=1 8979231a4095008c5678a0d0683fcbb3652a9a99997f20f6615613abec0ba28a 05:14:45 $ docker rm -f --volumes 8979231a4095008c5678a0d0683fcbb3652a9a99997f20f6615613abec0ba28a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:46 + docker inspect -f . ci-base-image-arm64 05:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-2360 does not seem to be running inside a container 05:14:46 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 05:14:48 $ docker top 4667789883ed1f693f8fb7ffffbca55e30f41aa82ebe02d90f6e4d546d824268 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:49 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 05:14:49 + make test 05:14:49 go test ./... -coverprofile=coverage.out ./... 05:15:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:18:20 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:18:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:18:20 --- FAIL: TestOnvifDiscovery_discoveryFilter (0.01s) 05:18:20 --- FAIL: TestOnvifDiscovery_discoveryFilter/No_new_devices (0.00s) 05:18:20 onvifdiscovery_test.go:266: PASS: Devices() 05:18:20 onvifdiscovery_test.go:268: 05:18:20 Error Trace: /w/workspace/device-onvif-camera/1/internal/driver/onvifdiscovery_test.go:268 05:18:20 Error: Not equal: 05:18:20 expected: []models.DiscoveredDevice{} 05:18:20 actual : []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice1", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793dfb2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice2", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e0a2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice3", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e19c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:18:20 05:18:20 Diff: 05:18:20 --- Expected 05:18:20 +++ Actual 05:18:20 @@ -1,2 +1,32 @@ 05:18:20 -([]models.DiscoveredDevice) { 05:18:20 +([]models.DiscoveredDevice) (len=3) { 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice1", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793dfb2-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + }, 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice2", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e0a2-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + }, 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice3", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e19c-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + } 05:18:20 } 05:18:20 Test: TestOnvifDiscovery_discoveryFilter/No_new_devices 05:18:20 --- FAIL: TestOnvifDiscovery_discoveryFilter/new_and_old_devices (0.00s) 05:18:20 onvifdiscovery_test.go:266: PASS: Devices() 05:18:20 onvifdiscovery_test.go:268: 05:18:20 Error Trace: /w/workspace/device-onvif-camera/1/internal/driver/onvifdiscovery_test.go:268 05:18:20 Error: Not equal: 05:18:20 expected: []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice4", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"8076305c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice5", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"80763188-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:18:20 actual : []models.DiscoveredDevice{models.DiscoveredDevice{Name:"testDevice1", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793dfb2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice2", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e0a2-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice3", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"1793e19c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice4", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"8076305c-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}, models.DiscoveredDevice{Name:"testDevice5", Protocols:map[string]models.ProtocolProperties{"Onvif":models.ProtocolProperties{"EndpointRefAddress":"80763188-28b0-11ed-a261-0242ac120002"}}, Description:"", Labels:[]string(nil)}} 05:18:20 05:18:20 Diff: 05:18:20 --- Expected 05:18:20 +++ Actual 05:18:20 @@ -1,2 +1,32 @@ 05:18:20 -([]models.DiscoveredDevice) (len=2) { 05:18:20 +([]models.DiscoveredDevice) (len=5) { 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice1", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793dfb2-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + }, 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice2", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e0a2-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + }, 05:18:20 + (models.DiscoveredDevice) { 05:18:20 + Name: (string) (len=11) "testDevice3", 05:18:20 + Protocols: (map[string]models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=5) "Onvif": (models.ProtocolProperties) (len=1) { 05:18:20 + (string) (len=18) "EndpointRefAddress": (string) (len=36) "1793e19c-28b0-11ed-a261-0242ac120002" 05:18:20 + } 05:18:20 + }, 05:18:20 + Description: (string) "", 05:18:20 + Labels: ([]string) 05:18:20 + }, 05:18:20 (models.DiscoveredDevice) { 05:18:20 Test: TestOnvifDiscovery_discoveryFilter/new_and_old_devices 05:18:20 FAIL 05:18:20 github.com/edgexfoundry/device-onvif-camera/internal/driver coverage: 30.1% of statements 05:18:20 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver 2.204s 05:18:38 --- FAIL: TestIpGenerator (0.00s) 05:18:38 --- FAIL: TestIpGenerator/basic_/8_subnet (30.11s) 05:18:38 util_test.go:180: 05:18:38 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:180 05:18:38 Error: Not equal: 05:18:38 expected: 0xfffffe 05:18:38 actual : 0xf50e55 05:18:38 Test: TestIpGenerator/basic_/8_subnet 05:18:38 util_test.go:183: 05:18:38 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:183 05:18:38 Error: Not equal: 05:18:38 expected: "10.255.255.254" 05:18:38 actual : "10.245.14.85" 05:18:38 05:18:38 Diff: 05:18:38 --- Expected 05:18:38 +++ Actual 05:18:38 @@ -1 +1 @@ 05:18:38 -10.255.255.254 05:18:38 +10.245.14.85 05:18:38 Test: TestIpGenerator/basic_/8_subnet 05:18:38 FAIL 05:18:38 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 05:18:38 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.317s 05:18:38 FAIL 05:18:39 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 05:18:39 $ docker stop --time=1 4667789883ed1f693f8fb7ffffbca55e30f41aa82ebe02d90f6e4d546d824268 05:18:41 $ docker rm -f --volumes 4667789883ed1f693f8fb7ffffbca55e30f41aa82ebe02d90f6e4d546d824268 [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 05:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:43 05:18:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:44 arm64: Pulling from edgex-lftools-log-publisher 05:18:44 8998bd30e6a1: Pulling fs layer 05:18:44 04944245beec: Pulling fs layer 05:18:44 699f458cf7ca: Pulling fs layer 05:18:44 765212b225bb: Pulling fs layer 05:18:44 f23df028b6ca: Pulling fs layer 05:18:44 d65c8cfc05b1: Pulling fs layer 05:18:44 2437ff75d9bd: Pulling fs layer 05:18:44 f23df028b6ca: Waiting 05:18:44 d65c8cfc05b1: Waiting 05:18:44 2437ff75d9bd: Waiting 05:18:44 04944245beec: Verifying Checksum 05:18:44 04944245beec: Download complete 05:18:44 765212b225bb: Download complete 05:18:44 f23df028b6ca: Verifying Checksum 05:18:44 f23df028b6ca: Download complete 05:18:44 d65c8cfc05b1: Verifying Checksum 05:18:44 d65c8cfc05b1: Download complete 05:18:44 699f458cf7ca: Verifying Checksum 05:18:44 8998bd30e6a1: Download complete 05:18:47 2437ff75d9bd: Download complete 05:18:48 8998bd30e6a1: Pull complete 05:18:49 04944245beec: Pull complete 05:18:50 699f458cf7ca: Pull complete 05:18:50 765212b225bb: Pull complete 05:18:51 f23df028b6ca: Pull complete 05:18:51 d65c8cfc05b1: Pull complete 05:19:06 2437ff75d9bd: Pull complete 05:19:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:07 prd-ubuntu20.04-docker-arm64-4c-16g-2360 does not seem to be running inside a container 05:19:07 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 05:19:09 $ docker top e18f6f672aefebac1135bba07ef916e251946741083592de93810c138e86ab48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:10 ---> job-cost.sh 05:19:10 lf-activate-venv: SKIPPING 05:19:10 INFO: No Stack... 05:19:11 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:12 INFO: Archiving Costs [Pipeline] sh 05:19:12 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 05:19:12 + cut -d, -f6 [Pipeline] lock 05:19:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] 05:19:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] did not exist. Created. 05:19:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:13 /w/workspace/device-onvif-camera/1@tmp/durable-a7124e7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:14 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:14 Warning: overwriting stash ‘stack-cost’ 05:19:14 Stashed 1 file(s) [Pipeline] } 05:19:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:14 $ docker stop --time=1 e18f6f672aefebac1135bba07ef916e251946741083592de93810c138e86ab48 05:19:16 $ docker rm -f --volumes e18f6f672aefebac1135bba07ef916e251946741083592de93810c138e86ab48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:19:17 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 05:19:19 + [ -d /w/workspace/undry_device-onvif-camera_PR-269/archives ] 05:19:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 05:19:19 total 16 05:19:19 drwxr-xr-x 3 root root 4096 Mar 16 05:09 . 05:19:19 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 05:09 .. 05:19:19 drwxr-xr-x 2 root root 4096 Mar 16 05:09 cost 05:19:19 -rw-r--r-- 1 root root 91 Mar 16 05:09 cost.csv 05:19:19 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-269/archives 05:19:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 05:19:19 total 16 05:19:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 05:09 . 05:19:19 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 05:09 .. 05:19:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 05:09 cost 05:19:19 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:19:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:19:20 ---> package-listing.sh 05:19:20 ++ facter osfamily 05:19:20 ++ tr '[:upper:]' '[:lower:]' 05:19:20 + OS_FAMILY=debian 05:19:20 + workspace=/w/workspace/undry_device-onvif-camera_PR-269 05:19:20 + START_PACKAGES=/tmp/packages_start.txt 05:19:20 + END_PACKAGES=/tmp/packages_end.txt 05:19:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:19:20 + PACKAGES=/tmp/packages_start.txt 05:19:20 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 05:19:20 + PACKAGES=/tmp/packages_end.txt 05:19:20 + case "${OS_FAMILY}" in 05:19:20 + dpkg -l 05:19:20 + grep '^ii' 05:19:20 + '[' -f /tmp/packages_start.txt ']' 05:19:20 + '[' -f /tmp/packages_end.txt ']' 05:19:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:19:20 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 05:19:20 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-269/archives/ 05:19:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-269/archives/ [Pipeline] echo 05:19:20 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:19:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:19:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:21 prd-ubuntu20.04-docker-8c-8g-2356 does not seem to be running inside a container 05:19:21 $ 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-269/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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@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 05:19:21 $ docker top d23879d764650a8521dc67584df2c30b784d7d1c444cd30eddc825aee16eed11 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:22 + touch /tmp/pre-build-complete [Pipeline] sh 05:19:22 + mkdir -p /var/log/sysstat [Pipeline] sh 05:19:22 + ls /var/log/sa-host 05:19:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:23 provisioning config files... 05:19:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config8561424975738922867tmp [Pipeline] { [Pipeline] echo 05:19:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:19:23 ---> create-netrc.sh [Pipeline] } 05:19:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:19:23 ---> python-tools-install.sh [Pipeline] echo 05:19:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:19:24 ---> sudo-logs.sh 05:19:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:19:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:19:24 ---> job-cost.sh 05:19:24 lf-activate-venv: SKIPPING 05:19:24 DEBUG: total: 0.2199999988079071 05:19:24 INFO: Retrieving Stack Cost... 05:19:24 INFO: Retrieving Pricing Info for: v3-standard-8 05:19:25 INFO: Archiving Costs [Pipeline] echo 05:19:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:19:25 ---> logs-deploy.sh 05:19:25 lf-activate-venv: SKIPPING 05:19:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-269/1 05:19:25 INFO: archiving workspace using pattern(s): 05:19:26 Archives upload complete. 05:19:26 INFO: archiving logs to Nexus