Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08d83a75f754479ea02f3555ad2c4a48c6fa5977+77ccddf1f831a316cff875f9b23112dd948a8538 (6022b05165feeb4550c6a2a089fa2b8eeb16499e) 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-ssh2750117200589222815.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-ssh10023374948671332510.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/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-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9038459157018689774.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 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-ssh870643285522944280.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-275/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-275/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4568458141286922194.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.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4434 in /w/workspace/undry_device-onvif-camera_PR-275 [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-275 # 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 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 08d83a75f754479ea02f3555ad2c4a48c6fa5977 Merge succeeded, producing 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 Checking out Revision 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 (PR-275) > 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/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # 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 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 # timeout=10 Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" > git rev-list --no-walk 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T22:10:23.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T22:10:23.170Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T22:10:23.187Z] ========================================================= [2023-03-17T22:10:23.187Z] EdgeX Global Pipelines Version Info [2023-03-17T22:10:23.187Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:10:23.892Z] ------------------- [2023-03-17T22:10:23.892Z] stable info: [2023-03-17T22:10:23.892Z] ------------------- [2023-03-17T22:10:23.892Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T22:10:23.892Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T22:10:23.892Z] Message: update stable to v1.0.245 [2023-03-17T22:10:24.459Z] ------------------- [2023-03-17T22:10:24.459Z] experimental info: [2023-03-17T22:10:24.459Z] ------------------- [2023-03-17T22:10:24.459Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T22:10:24.459Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T22:10:24.459Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T22:10:24.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T22:10:24.632Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T22:10:24.643Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T22:10:24.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T22:10:24.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T22:10:24.696Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T22:10:24.709Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T22:10:24.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T22:10:24.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T22:10:24.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T22:10:24.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T22:10:24.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T22:10:24.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T22:10:24.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T22:10:24.825Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:10:24.833Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T22:10:24.844Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:10:24.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T22:10:24.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T22:10:24.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T22:10:24.886Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T22:10:24.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T22:10:24.907Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T22:10:24.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T22:10:24.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T22:10:24.942Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T22:10:24.954Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T22:10:24.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo [2023-03-17T22:10:24.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo [2023-03-17T22:10:24.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo [2023-03-17T22:10:25.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [Pipeline] echo [2023-03-17T22:10:25.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 79f9118 [Pipeline] echo [2023-03-17T22:10:25.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:10:25.075Z] provisioning config files... [2023-03-17T22:10:25.090Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config2899250844944171248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:10:25.387Z] ---> docker-login.sh [2023-03-17T22:10:25.387Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:10:25.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:25.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:25.646Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:25.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:25.646Z] [2023-03-17T22:10:25.646Z] Login Succeeded [2023-03-17T22:10:25.646Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:10:25.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:25.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:25.905Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:25.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:25.905Z] [2023-03-17T22:10:25.905Z] Login Succeeded [2023-03-17T22:10:25.905Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:10:25.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:25.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:25.905Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:25.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:25.905Z] [2023-03-17T22:10:25.905Z] Login Succeeded [2023-03-17T22:10:25.905Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:10:25.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:26.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:26.181Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:26.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:26.181Z] [2023-03-17T22:10:26.181Z] Login Succeeded [2023-03-17T22:10:26.181Z] docker.io [2023-03-17T22:10:26.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:26.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:26.444Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:26.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:26.444Z] [2023-03-17T22:10:26.444Z] Login Succeeded [2023-03-17T22:10:26.444Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:10:26.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T22:10:26.817Z] + git rev-list -1 --merges 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9~1..79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [Pipeline] echo [2023-03-17T22:10:26.858Z] -----------> git rev-list -1 --merges 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9~1..79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [2023-03-17T22:10:26.858Z] 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [false] [Pipeline] sh [2023-03-17T22:10:27.144Z] + git log --format=format:%s -1 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [Pipeline] echo [2023-03-17T22:10:27.158Z] ========================================================= [2023-03-17T22:10:27.158Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T22:10:27.158Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:10:27.471Z] + git log --format=format:%s -1 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9 [Pipeline] echo [2023-03-17T22:10:27.482Z] [semverPrep] GIT_COMMIT: 79f9118d487fe1ad0b1b14ceaa34a6699f0648f9, Commit Message: Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD [Pipeline] echo [2023-03-17T22:10:27.494Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T22:10:27.864Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T22:10:27.864Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T22:10:27.864Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T22:10:27.864Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T22:10:27.864Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T22:10:27.864Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T22:10:27.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:10:28.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:10:28.290Z] [2023-03-17T22:10:28.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:10:28.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:10:28.587Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T22:10:28.587Z] b85a868b505f: Pulling fs layer [2023-03-17T22:10:28.587Z] e2be974225ed: Pulling fs layer [2023-03-17T22:10:28.587Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T22:10:28.587Z] 988bab9f4d93: Pulling fs layer [2023-03-17T22:10:28.587Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T22:10:28.587Z] eaf3925da568: Pulling fs layer [2023-03-17T22:10:28.587Z] bab4dde63d76: Pulling fs layer [2023-03-17T22:10:28.587Z] bde34c3a00c8: Pulling fs layer [2023-03-17T22:10:28.587Z] b352a97aabf1: Pulling fs layer [2023-03-17T22:10:28.587Z] 4872d77fe225: Pulling fs layer [2023-03-17T22:10:28.587Z] 5851b861e8e6: Pulling fs layer [2023-03-17T22:10:28.587Z] 988bab9f4d93: Waiting [2023-03-17T22:10:28.587Z] 1469e6f7b9e6: Waiting [2023-03-17T22:10:28.587Z] 4872d77fe225: Waiting [2023-03-17T22:10:28.587Z] 5851b861e8e6: Waiting [2023-03-17T22:10:28.587Z] b352a97aabf1: Waiting [2023-03-17T22:10:28.587Z] eaf3925da568: Waiting [2023-03-17T22:10:28.587Z] bab4dde63d76: Waiting [2023-03-17T22:10:28.587Z] e2be974225ed: Verifying Checksum [2023-03-17T22:10:28.587Z] e2be974225ed: Download complete [2023-03-17T22:10:28.587Z] 988bab9f4d93: Verifying Checksum [2023-03-17T22:10:28.587Z] 988bab9f4d93: Download complete [2023-03-17T22:10:28.846Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T22:10:28.846Z] 1469e6f7b9e6: Download complete [2023-03-17T22:10:28.846Z] eaf3925da568: Verifying Checksum [2023-03-17T22:10:28.846Z] eaf3925da568: Download complete [2023-03-17T22:10:28.846Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T22:10:28.846Z] 339a4e72a1f5: Download complete [2023-03-17T22:10:28.846Z] bde34c3a00c8: Verifying Checksum [2023-03-17T22:10:28.846Z] bde34c3a00c8: Download complete [2023-03-17T22:10:28.846Z] b352a97aabf1: Verifying Checksum [2023-03-17T22:10:28.846Z] b352a97aabf1: Download complete [2023-03-17T22:10:28.846Z] 4872d77fe225: Verifying Checksum [2023-03-17T22:10:28.846Z] 4872d77fe225: Download complete [2023-03-17T22:10:28.846Z] 5851b861e8e6: Verifying Checksum [2023-03-17T22:10:28.846Z] 5851b861e8e6: Download complete [2023-03-17T22:10:28.846Z] b85a868b505f: Verifying Checksum [2023-03-17T22:10:28.846Z] b85a868b505f: Download complete [2023-03-17T22:10:29.104Z] bab4dde63d76: Verifying Checksum [2023-03-17T22:10:29.104Z] bab4dde63d76: Download complete [2023-03-17T22:10:30.472Z] b85a868b505f: Pull complete [2023-03-17T22:10:30.473Z] e2be974225ed: Pull complete [2023-03-17T22:10:30.734Z] 339a4e72a1f5: Pull complete [2023-03-17T22:10:30.734Z] 988bab9f4d93: Pull complete [2023-03-17T22:10:30.992Z] 1469e6f7b9e6: Pull complete [2023-03-17T22:10:31.251Z] eaf3925da568: Pull complete [2023-03-17T22:10:33.152Z] bab4dde63d76: Pull complete [2023-03-17T22:10:33.152Z] bde34c3a00c8: Pull complete [2023-03-17T22:10:33.152Z] b352a97aabf1: Pull complete [2023-03-17T22:10:33.152Z] 4872d77fe225: Pull complete [2023-03-17T22:10:33.152Z] 5851b861e8e6: Pull complete [2023-03-17T22:10:33.152Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T22:10:33.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T22:10:33.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:10:33.245Z] prd-ubuntu20.04-docker-8c-8g-4434 does not seem to be running inside a container [2023-03-17T22:10:33.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T22:10:34.666Z] $ docker top 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 -eo pid,comm [2023-03-17T22:10:34.715Z] 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). [2023-03-17T22:10:34.715Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T22:10:34.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:10:34.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:10:34.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:10:34.855Z] $ docker exec 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 ssh-agent [2023-03-17T22:10:34.972Z] SSH_AUTH_SOCK=/tmp/ssh-RmgegCHdljZT/agent.32 [2023-03-17T22:10:34.972Z] SSH_AGENT_PID=38 [2023-03-17T22:10:34.978Z] Running ssh-add (command line suppressed) [2023-03-17T22:10:35.090Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_11777939869927714683.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_11777939869927714683.key) [2023-03-17T22:10:35.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:10:35.400Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T22:10:35.414Z] $ docker exec --env ******** --env ******** 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 ssh-agent -k [2023-03-17T22:10:35.528Z] unset SSH_AUTH_SOCK; [2023-03-17T22:10:35.528Z] unset SSH_AGENT_PID; [2023-03-17T22:10:35.528Z] echo Agent pid 38 killed; [2023-03-17T22:10:35.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T22:10:35.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T22:10:35.562Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T22:10:35.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T22:10:35.670Z] $ docker exec 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 ssh-agent [2023-03-17T22:10:35.784Z] SSH_AUTH_SOCK=/tmp/ssh-F0W1RiXVpIQy/agent.70 [2023-03-17T22:10:35.784Z] SSH_AGENT_PID=76 [2023-03-17T22:10:35.789Z] Running ssh-add (command line suppressed) [2023-03-17T22:10:35.902Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_7510905000797320630.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_7510905000797320630.key) [2023-03-17T22:10:35.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T22:10:36.205Z] + git semver init [2023-03-17T22:10:36.462Z] 2023-03-17 22:10:36,383 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T22:10:36.462Z] 2023-03-17 22:10:36,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-275/.semver [2023-03-17T22:10:36.462Z] 2023-03-17 22:10:36,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-275/.semver [2023-03-17T22:10:36.463Z] 2023-03-17 22:10:36,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-275/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-275, universal_newlines=False, shell=None, istream=None) [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,271 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-275/.git/info/exclude [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 with force:False [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,272 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,275 [execute] INFO git cat-file --batch-check [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,283 [execute] INFO git cat-file --batch [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T22:10:37.396Z] 2023-03-17 22:10:37,288 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 [2023-03-17T22:10:37.396Z] 0.0.0 [Pipeline] } [2023-03-17T22:10:37.403Z] $ docker exec --env ******** --env ******** 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 ssh-agent -k [2023-03-17T22:10:37.510Z] unset SSH_AUTH_SOCK; [2023-03-17T22:10:37.510Z] unset SSH_AGENT_PID; [2023-03-17T22:10:37.511Z] echo Agent pid 76 killed; [2023-03-17T22:10:37.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T22:10:37.822Z] + git semver [Pipeline] } [2023-03-17T22:10:38.091Z] $ docker stop --time=1 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 [2023-03-17T22:10:39.414Z] $ docker rm -f --volumes 350242c934ec437ccc78d2d4eece067f8bf9ec371ec33dec0a66e97f158e5326 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T22:10:39.755Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T22:10:39.953Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T22:10:39.956Z] [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 [2023-03-17T22:10:40.079Z] provisioning config files... [2023-03-17T22:10:40.087Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config14688472784745232305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:10:40.376Z] ---> docker-login.sh [2023-03-17T22:10:40.376Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:10:40.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:40.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:40.376Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:40.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:40.376Z] [2023-03-17T22:10:40.376Z] Login Succeeded [2023-03-17T22:10:40.376Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:10:40.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:40.636Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:40.636Z] [2023-03-17T22:10:40.636Z] Login Succeeded [2023-03-17T22:10:40.636Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:10:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:40.636Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:40.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:40.636Z] [2023-03-17T22:10:40.636Z] Login Succeeded [2023-03-17T22:10:40.636Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:10:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:40.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:40.636Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:40.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:40.637Z] [2023-03-17T22:10:40.637Z] Login Succeeded [2023-03-17T22:10:40.637Z] docker.io [2023-03-17T22:10:40.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:10:40.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:10:40.897Z] Configure a credential helper to remove this warning. See [2023-03-17T22:10:40.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:10:40.897Z] [2023-03-17T22:10:40.897Z] Login Succeeded [2023-03-17T22:10:40.897Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:10:40.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:10:40.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:10:40.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:10:41.006Z] ========================================================= [2023-03-17T22:10:41.006Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T22:10:41.006Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:10:41.321Z] + 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 . [2023-03-17T22:10:41.322Z] Sending build context to Docker daemon 27.9MB [2023-03-17T22:10:41.322Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:10:41.322Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:10:41.583Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T22:10:41.583Z] 63b65145d645: Pulling fs layer [2023-03-17T22:10:41.583Z] a2d21d5440eb: Pulling fs layer [2023-03-17T22:10:41.583Z] 935e6c44a52c: Pulling fs layer [2023-03-17T22:10:41.583Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T22:10:41.583Z] 30dea6a524f1: Pulling fs layer [2023-03-17T22:10:41.583Z] a2aff8979fd8: Pulling fs layer [2023-03-17T22:10:41.583Z] 6808be2612f2: Pulling fs layer [2023-03-17T22:10:41.583Z] f25807f1079a: Pulling fs layer [2023-03-17T22:10:41.583Z] 30dea6a524f1: Waiting [2023-03-17T22:10:41.583Z] a2aff8979fd8: Waiting [2023-03-17T22:10:41.583Z] 6808be2612f2: Waiting [2023-03-17T22:10:41.583Z] f25807f1079a: Waiting [2023-03-17T22:10:41.583Z] 94cc34f8dd06: Waiting [2023-03-17T22:10:41.583Z] a2d21d5440eb: Verifying Checksum [2023-03-17T22:10:41.583Z] a2d21d5440eb: Download complete [2023-03-17T22:10:41.583Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T22:10:41.583Z] 94cc34f8dd06: Download complete [2023-03-17T22:10:41.583Z] 30dea6a524f1: Verifying Checksum [2023-03-17T22:10:41.583Z] 30dea6a524f1: Download complete [2023-03-17T22:10:41.583Z] 63b65145d645: Download complete [2023-03-17T22:10:41.583Z] a2aff8979fd8: Verifying Checksum [2023-03-17T22:10:41.583Z] a2aff8979fd8: Download complete [2023-03-17T22:10:41.847Z] 63b65145d645: Pull complete [2023-03-17T22:10:41.847Z] a2d21d5440eb: Pull complete [2023-03-17T22:10:42.107Z] f25807f1079a: Verifying Checksum [2023-03-17T22:10:42.107Z] f25807f1079a: Download complete [2023-03-17T22:10:42.365Z] 935e6c44a52c: Verifying Checksum [2023-03-17T22:10:42.365Z] 935e6c44a52c: Download complete [2023-03-17T22:10:42.365Z] 6808be2612f2: Verifying Checksum [2023-03-17T22:10:42.365Z] 6808be2612f2: Download complete [2023-03-17T22:10:45.657Z] 935e6c44a52c: Pull complete [2023-03-17T22:10:45.657Z] 94cc34f8dd06: Pull complete [2023-03-17T22:10:45.657Z] 30dea6a524f1: Pull complete [2023-03-17T22:10:45.916Z] a2aff8979fd8: Pull complete [2023-03-17T22:10:48.460Z] 6808be2612f2: Pull complete [2023-03-17T22:10:48.724Z] f25807f1079a: Pull complete [2023-03-17T22:10:48.724Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T22:10:48.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T22:10:48.724Z] ---> 3b553350e43f [2023-03-17T22:10:48.724Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:10:50.102Z] ---> Running in f847450b9804 [2023-03-17T22:10:50.362Z] Removing intermediate container f847450b9804 [2023-03-17T22:10:50.362Z] ---> 094f89fb9704 [2023-03-17T22:10:50.362Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:10:50.362Z] ---> Running in 33847b248729 [2023-03-17T22:10:50.362Z] Removing intermediate container 33847b248729 [2023-03-17T22:10:50.362Z] ---> 3a9c6054e00d [2023-03-17T22:10:50.362Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:10:50.362Z] ---> Running in b119fa12dcee [2023-03-17T22:10:50.620Z] Removing intermediate container b119fa12dcee [2023-03-17T22:10:50.620Z] ---> 7cc5f66d01de [2023-03-17T22:10:50.620Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:10:50.620Z] ---> Running in 8e04806eef33 [2023-03-17T22:10:50.620Z] Removing intermediate container 8e04806eef33 [2023-03-17T22:10:50.620Z] ---> 41c56b6f3183 [2023-03-17T22:10:50.620Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:10:50.620Z] ---> Running in 819eabaa8e4b [2023-03-17T22:10:50.884Z] Removing intermediate container 819eabaa8e4b [2023-03-17T22:10:50.884Z] ---> f7d4e6363b5a [2023-03-17T22:10:50.884Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:10:50.884Z] ---> Running in cdce64ab0d76 [2023-03-17T22:10:51.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T22:10:51.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T22:10:51.404Z] OK: 265 MiB in 53 packages [2023-03-17T22:10:51.973Z] Removing intermediate container cdce64ab0d76 [2023-03-17T22:10:51.973Z] ---> d3776bfd5f7d [2023-03-17T22:10:51.973Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:10:51.973Z] ---> Running in abe65a274559 [2023-03-17T22:10:51.973Z] Removing intermediate container abe65a274559 [2023-03-17T22:10:51.973Z] ---> 72b6b2abca4c [2023-03-17T22:10:51.973Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:10:51.973Z] ---> 69e0fa88dad3 [2023-03-17T22:10:51.973Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:10:51.973Z] ---> Running in bc615a92a9e9 [2023-03-17T22:10:55.049Z] Still waiting to schedule task [2023-03-17T22:10:55.049Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T22:11:18.564Z] Removing intermediate container bc615a92a9e9 [2023-03-17T22:11:18.564Z] ---> b010d70ee0ac [2023-03-17T22:11:18.564Z] Step 12/13 : COPY . . [2023-03-17T22:11:18.564Z] ---> 96ea536f3df6 [2023-03-17T22:11:18.564Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:11:18.564Z] ---> Running in 61def874e832 [2023-03-17T22:11:18.822Z] noop [2023-03-17T22:11:19.082Z] Removing intermediate container 61def874e832 [2023-03-17T22:11:19.082Z] ---> 373e9996c608 [2023-03-17T22:11:19.082Z] Successfully built 373e9996c608 [2023-03-17T22:11:19.082Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:19.393Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:11:19.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:11:19.463Z] prd-ubuntu20.04-docker-8c-8g-4434 does not seem to be running inside a container [2023-03-17T22:11:19.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T22:11:19.822Z] $ docker top 6884dc0b59a3380723d320b89479d0d5eeed6c44665237dec5d1bba1f6ef68fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:11:20.151Z] + go version [2023-03-17T22:11:20.151Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T22:11:20.165Z] $ docker stop --time=1 6884dc0b59a3380723d320b89479d0d5eeed6c44665237dec5d1bba1f6ef68fa [2023-03-17T22:11:21.451Z] $ docker rm -f --volumes 6884dc0b59a3380723d320b89479d0d5eeed6c44665237dec5d1bba1f6ef68fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:21.842Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T22:11:21.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:11:21.907Z] prd-ubuntu20.04-docker-8c-8g-4434 does not seem to be running inside a container [2023-03-17T22:11:21.948Z] $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T22:11:22.268Z] $ docker top f629e0991f8fd3fb43304d2716661ad6cbc638b99d371c8a7609a5cfcd505f48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:11:22.591Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:11:22.880Z] + make test [2023-03-17T22:11:22.881Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:11:27.059Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:11:37.018Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-17T22:11:37.018Z] internal/driver/driver.go:89:16: undefined: sdkModel.ProtocolDriver [2023-03-17T22:11:37.018Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as string value in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: need type assertion [2023-03-17T22:11:37.018Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-17T22:11:37.018Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-17T22:11:37.018Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as string value in return statement: need type assertion [2023-03-17T22:11:37.018Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-17T22:11:37.018Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as string value in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: need type assertion [2023-03-17T22:11:37.018Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as string value in argument to strings.TrimSpace: need type assertion [2023-03-17T22:11:37.018Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as string value in assignment: need type assertion [2023-03-17T22:11:37.018Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties value in return statement [2023-03-17T22:11:37.018Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-17T22:11:37.018Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:11:37.018Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T22:11:39.549Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.147s coverage: 86.5% of statements [2023-03-17T22:11:39.549Z] FAIL [2023-03-17T22:11:39.549Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T22:11:39.568Z] $ docker stop --time=1 f629e0991f8fd3fb43304d2716661ad6cbc638b99d371c8a7609a5cfcd505f48 [2023-03-17T22:11:42.035Z] $ docker rm -f --volumes f629e0991f8fd3fb43304d2716661ad6cbc638b99d371c8a7609a5cfcd505f48 [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 [2023-03-17T22:11:42.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:11:42.597Z] [2023-03-17T22:11:42.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:11:42.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:11:42.891Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T22:11:42.891Z] 5eb5b503b376: Pulling fs layer [2023-03-17T22:11:42.891Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T22:11:42.891Z] ec43610c2a17: Pulling fs layer [2023-03-17T22:11:42.891Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T22:11:42.891Z] 33b1e0a273af: Pulling fs layer [2023-03-17T22:11:42.891Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T22:11:42.891Z] 2f39f015ded8: Pulling fs layer [2023-03-17T22:11:42.891Z] 3a2ae6a8a46f: Waiting [2023-03-17T22:11:42.891Z] 33b1e0a273af: Waiting [2023-03-17T22:11:42.891Z] 5d3b04190fa2: Waiting [2023-03-17T22:11:42.891Z] 2f39f015ded8: Waiting [2023-03-17T22:11:42.891Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T22:11:42.891Z] 5c69ac0246d0: Download complete [2023-03-17T22:11:42.891Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T22:11:42.891Z] 3a2ae6a8a46f: Download complete [2023-03-17T22:11:43.151Z] 33b1e0a273af: Verifying Checksum [2023-03-17T22:11:43.151Z] 33b1e0a273af: Download complete [2023-03-17T22:11:43.151Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T22:11:43.151Z] 5d3b04190fa2: Download complete [2023-03-17T22:11:43.151Z] ec43610c2a17: Verifying Checksum [2023-03-17T22:11:43.151Z] ec43610c2a17: Download complete [2023-03-17T22:11:43.151Z] 5eb5b503b376: Verifying Checksum [2023-03-17T22:11:43.151Z] 5eb5b503b376: Download complete [2023-03-17T22:11:43.717Z] 2f39f015ded8: Verifying Checksum [2023-03-17T22:11:43.717Z] 2f39f015ded8: Download complete [2023-03-17T22:11:44.654Z] 5eb5b503b376: Pull complete [2023-03-17T22:11:44.654Z] 5c69ac0246d0: Pull complete [2023-03-17T22:11:44.911Z] ec43610c2a17: Pull complete [2023-03-17T22:11:44.912Z] 3a2ae6a8a46f: Pull complete [2023-03-17T22:11:45.171Z] 33b1e0a273af: Pull complete [2023-03-17T22:11:45.171Z] 5d3b04190fa2: Pull complete [2023-03-17T22:11:49.349Z] 2f39f015ded8: Pull complete [2023-03-17T22:11:49.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T22:11:49.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:11:49.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:11:49.418Z] prd-ubuntu20.04-docker-8c-8g-4434 does not seem to be running inside a container [2023-03-17T22:11:49.461Z] $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T22:11:51.566Z] $ docker top f053bae7985b60be5b9174a716c50e88d6b933aa3ae277476767d2cfd3c635a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:11:51.959Z] ---> job-cost.sh [2023-03-17T22:11:51.959Z] lf-activate-venv: SKIPPING [2023-03-17T22:11:51.959Z] INFO: No Stack... [2023-03-17T22:11:52.219Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:11:52.482Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:11:52.775Z] + cat /w/workspace/undry_device-onvif-camera_PR-275/archives/cost.csv [2023-03-17T22:11:52.775Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T22:11:52.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [2023-03-17T22:11:52.795Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] did not exist. Created. [2023-03-17T22:11:52.795Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:11:53.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T22:11:53.130Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:11:53.136Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:11:53.158Z] $ docker stop --time=1 f053bae7985b60be5b9174a716c50e88d6b933aa3ae277476767d2cfd3c635a0 [2023-03-17T22:11:54.315Z] $ docker rm -f --volumes f053bae7985b60be5b9174a716c50e88d6b933aa3ae277476767d2cfd3c635a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:11:54.416Z] Failed in branch amd64 [2023-03-17T22:12:30.556Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4439 in /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] { [Pipeline] ws [2023-03-17T22:12:30.571Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-17T22:12:30.606Z] The recommended git tool is: git [2023-03-17T22:12:35.729Z] using credential edgex-jenkins-ssh [2023-03-17T22:12:35.749Z] Cloning the remote Git repository [2023-03-17T22:12:35.791Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:12:35.883Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-17T22:12:36.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:12:36.034Z] > git --version # timeout=10 [2023-03-17T22:12:36.062Z] > git --version # 'git version 2.25.1' [2023-03-17T22:12:36.064Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:12:36.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:12:37.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:12:37.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T22:12:39.275Z] Merging remotes/origin/main commit 77ccddf1f831a316cff875f9b23112dd948a8538 into PR head commit 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [2023-03-17T22:12:38.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T22:12:38.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T22:12:38.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:12:38.764Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T22:12:39.294Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:12:40.265Z] Merge succeeded, producing 3a79e5e9503a421826e08c5ae44e133dbaed1abf [2023-03-17T22:12:40.266Z] Checking out Revision 3a79e5e9503a421826e08c5ae44e133dbaed1abf (PR-275) [2023-03-17T22:12:39.374Z] > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [2023-03-17T22:12:39.681Z] > git remote # timeout=10 [2023-03-17T22:12:39.703Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T22:12:39.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T22:12:39.740Z] > git merge 77ccddf1f831a316cff875f9b23112dd948a8538 # timeout=10 [2023-03-17T22:12:40.247Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T22:12:40.272Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T22:12:40.289Z] > git checkout -f 3a79e5e9503a421826e08c5ae44e133dbaed1abf # timeout=10 [2023-03-17T22:12:43.808Z] Commit message: "Merge commit '77ccddf1f831a316cff875f9b23112dd948a8538' into HEAD" [2023-03-17T22:12:43.817Z] > git rev-list --no-walk 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T22:12:45.098Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T22:12:45.098Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T22:12:45.098Z] Dload Upload Total Spent Left Speed [2023-03-17T22:12:45.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh [2023-03-17T22:12:45.825Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T22:12:46.153Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T22:12:46.153Z] + sudo tee /etc/docker/daemon.new [2023-03-17T22:12:46.153Z] { [2023-03-17T22:12:46.153Z] "registry-mirrors": [ [2023-03-17T22:12:46.153Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T22:12:46.153Z] ], [2023-03-17T22:12:46.153Z] "bip": "10.250.0.254/24", [2023-03-17T22:12:46.153Z] "hosts": [ [2023-03-17T22:12:46.153Z] "tcp://0.0.0.0:5555", [2023-03-17T22:12:46.153Z] "unix:///var/run/docker.sock" [2023-03-17T22:12:46.153Z] ], [2023-03-17T22:12:46.153Z] "mtu": 1458, [2023-03-17T22:12:46.153Z] "selinux-enabled": true, [2023-03-17T22:12:46.153Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T22:12:46.153Z] } [Pipeline] sh [2023-03-17T22:12:46.483Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T22:12:46.812Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:13:05.150Z] provisioning config files... [2023-03-17T22:13:05.177Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2177243107918527284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:13:05.533Z] ---> docker-login.sh [2023-03-17T22:13:05.533Z] nexus3.edgexfoundry.org:10001 [2023-03-17T22:13:06.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:13:06.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:13:06.126Z] Configure a credential helper to remove this warning. See [2023-03-17T22:13:06.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:13:06.126Z] [2023-03-17T22:13:06.126Z] Login Succeeded [2023-03-17T22:13:06.126Z] nexus3.edgexfoundry.org:10002 [2023-03-17T22:13:06.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:13:06.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:13:06.665Z] Configure a credential helper to remove this warning. See [2023-03-17T22:13:06.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:13:06.665Z] [2023-03-17T22:13:06.665Z] Login Succeeded [2023-03-17T22:13:06.665Z] nexus3.edgexfoundry.org:10003 [2023-03-17T22:13:06.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:13:06.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:13:06.936Z] Configure a credential helper to remove this warning. See [2023-03-17T22:13:06.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:13:06.936Z] [2023-03-17T22:13:06.936Z] Login Succeeded [2023-03-17T22:13:06.936Z] nexus3.edgexfoundry.org:10004 [2023-03-17T22:13:07.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:13:07.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:13:07.205Z] Configure a credential helper to remove this warning. See [2023-03-17T22:13:07.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:13:07.205Z] [2023-03-17T22:13:07.205Z] Login Succeeded [2023-03-17T22:13:07.205Z] docker.io [2023-03-17T22:13:07.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T22:13:07.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T22:13:07.744Z] Configure a credential helper to remove this warning. See [2023-03-17T22:13:07.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T22:13:07.744Z] [2023-03-17T22:13:07.744Z] Login Succeeded [2023-03-17T22:13:07.744Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T22:13:07.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T22:13:08.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:13:08.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T22:13:08.079Z] ========================================================= [2023-03-17T22:13:08.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T22:13:08.079Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:13:08.417Z] + 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 . [2023-03-17T22:13:09.006Z] Sending build context to Docker daemon 20.63MB [2023-03-17T22:13:09.006Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T22:13:09.006Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T22:13:09.006Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T22:13:09.006Z] af6eaf76a39c: Pulling fs layer [2023-03-17T22:13:09.006Z] 55522c791124: Pulling fs layer [2023-03-17T22:13:09.006Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T22:13:09.006Z] 169dfbe0d373: Pulling fs layer [2023-03-17T22:13:09.006Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T22:13:09.006Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T22:13:09.006Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T22:13:09.006Z] 169dfbe0d373: Waiting [2023-03-17T22:13:09.006Z] e1ff8fa3b103: Waiting [2023-03-17T22:13:09.006Z] 52ebb69f0ebf: Waiting [2023-03-17T22:13:09.006Z] 5abe8eddf0d5: Waiting [2023-03-17T22:13:09.006Z] 55522c791124: Verifying Checksum [2023-03-17T22:13:09.006Z] 55522c791124: Download complete [2023-03-17T22:13:09.273Z] 169dfbe0d373: Verifying Checksum [2023-03-17T22:13:09.273Z] 169dfbe0d373: Download complete [2023-03-17T22:13:09.273Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T22:13:09.273Z] e1ff8fa3b103: Download complete [2023-03-17T22:13:09.273Z] af6eaf76a39c: Verifying Checksum [2023-03-17T22:13:09.889Z] af6eaf76a39c: Pull complete [2023-03-17T22:13:10.162Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T22:13:10.162Z] 5abe8eddf0d5: Download complete [2023-03-17T22:13:10.749Z] 55522c791124: Pull complete [2023-03-17T22:13:11.336Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T22:13:11.336Z] ce5c4a1c91eb: Download complete [2023-03-17T22:13:11.611Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T22:13:11.611Z] 52ebb69f0ebf: Download complete [2023-03-17T22:13:23.922Z] ce5c4a1c91eb: Pull complete [2023-03-17T22:13:23.922Z] 169dfbe0d373: Pull complete [2023-03-17T22:13:23.922Z] e1ff8fa3b103: Pull complete [2023-03-17T22:13:28.202Z] 52ebb69f0ebf: Pull complete [2023-03-17T22:13:30.171Z] 5abe8eddf0d5: Pull complete [2023-03-17T22:13:30.171Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T22:13:30.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T22:13:30.171Z] ---> 6cb57ee374ae [2023-03-17T22:13:30.171Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T22:13:32.127Z] ---> Running in 0945bc6380d7 [2023-03-17T22:13:32.398Z] Removing intermediate container 0945bc6380d7 [2023-03-17T22:13:32.398Z] ---> 931357337bb6 [2023-03-17T22:13:32.398Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T22:13:32.398Z] ---> Running in 9daa16fae758 [2023-03-17T22:13:32.983Z] Removing intermediate container 9daa16fae758 [2023-03-17T22:13:32.983Z] ---> 940b4a5a90ee [2023-03-17T22:13:32.983Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T22:13:32.983Z] ---> Running in d9b15ab26c64 [2023-03-17T22:13:33.251Z] Removing intermediate container d9b15ab26c64 [2023-03-17T22:13:33.251Z] ---> 95d3c1f2d20d [2023-03-17T22:13:33.251Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T22:13:33.251Z] ---> Running in 0a7be67049db [2023-03-17T22:13:33.529Z] Removing intermediate container 0a7be67049db [2023-03-17T22:13:33.529Z] ---> 868a1402adca [2023-03-17T22:13:33.529Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T22:13:33.799Z] ---> Running in dd40bafb7feb [2023-03-17T22:13:34.068Z] Removing intermediate container dd40bafb7feb [2023-03-17T22:13:34.068Z] ---> 9bc1c7373a4b [2023-03-17T22:13:34.068Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T22:13:34.068Z] ---> Running in cb489f78cf5d [2023-03-17T22:13:35.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T22:13:36.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T22:13:37.040Z] OK: 263 MiB in 53 packages [2023-03-17T22:13:38.003Z] Removing intermediate container cb489f78cf5d [2023-03-17T22:13:38.003Z] ---> 273708e0ac84 [2023-03-17T22:13:38.003Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T22:13:38.283Z] ---> Running in c9a47dc6aa8c [2023-03-17T22:13:38.866Z] Removing intermediate container c9a47dc6aa8c [2023-03-17T22:13:38.866Z] ---> 9d73b0644f16 [2023-03-17T22:13:38.866Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T22:13:39.133Z] ---> 96351c89c581 [2023-03-17T22:13:39.133Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T22:13:39.402Z] ---> Running in e2a47e2708ca [2023-03-17T22:15:01.074Z] Removing intermediate container e2a47e2708ca [2023-03-17T22:15:01.074Z] ---> 1494326a0808 [2023-03-17T22:15:01.074Z] Step 12/13 : COPY . . [2023-03-17T22:15:01.074Z] ---> a7fccd492f97 [2023-03-17T22:15:01.074Z] Step 13/13 : RUN ${MAKE} [2023-03-17T22:15:01.074Z] ---> Running in 59437f99b360 [2023-03-17T22:15:01.074Z] noop [2023-03-17T22:15:01.074Z] Removing intermediate container 59437f99b360 [2023-03-17T22:15:01.074Z] ---> 004224516138 [2023-03-17T22:15:01.074Z] Successfully built 004224516138 [2023-03-17T22:15:01.074Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:15:01.435Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:15:01.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:15:01.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-4439 does not seem to be running inside a container [2023-03-17T22:15:01.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T22:15:03.154Z] $ docker top 9213decd813892924f4d899df2ae997c7433ad867f5352c19af3a892c5d4b664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:15:04.295Z] + go version [2023-03-17T22:15:04.295Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T22:15:04.323Z] $ docker stop --time=1 9213decd813892924f4d899df2ae997c7433ad867f5352c19af3a892c5d4b664 [2023-03-17T22:15:06.028Z] $ docker rm -f --volumes 9213decd813892924f4d899df2ae997c7433ad867f5352c19af3a892c5d4b664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:15:06.635Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T22:15:06.635Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:15:06.856Z] prd-ubuntu20.04-docker-arm64-4c-16g-4439 does not seem to be running inside a container [2023-03-17T22:15:07.165Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T22:15:08.476Z] $ docker top 4ab6c6813dcfdd948de390f1593bcea1be3c91199d45a6830a70a627357e95f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:15:09.346Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-17T22:15:10.004Z] + make test [2023-03-17T22:15:10.004Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T22:15:49.132Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T22:18:25.907Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-17T22:18:25.907Z] internal/driver/driver.go:89:16: undefined: sdkModel.ProtocolDriver [2023-03-17T22:18:25.907Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as string value in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: need type assertion [2023-03-17T22:18:25.907Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-17T22:18:25.907Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-17T22:18:25.907Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as string value in return statement: need type assertion [2023-03-17T22:18:25.907Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-17T22:18:25.907Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as string value in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: need type assertion [2023-03-17T22:18:25.907Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as string value in argument to strings.TrimSpace: need type assertion [2023-03-17T22:18:25.907Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as string value in assignment: need type assertion [2023-03-17T22:18:25.907Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties value in return statement [2023-03-17T22:18:25.907Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-17T22:18:25.907Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T22:18:25.907Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T22:18:44.128Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.421s coverage: 86.5% of statements [2023-03-17T22:18:44.128Z] FAIL [2023-03-17T22:18:44.128Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T22:18:44.153Z] $ docker stop --time=1 4ab6c6813dcfdd948de390f1593bcea1be3c91199d45a6830a70a627357e95f2 [2023-03-17T22:18:46.115Z] $ docker rm -f --volumes 4ab6c6813dcfdd948de390f1593bcea1be3c91199d45a6830a70a627357e95f2 [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 [2023-03-17T22:18:47.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:18:47.478Z] [2023-03-17T22:18:47.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:18:47.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:18:48.095Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T22:18:48.095Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T22:18:48.095Z] 04944245beec: Pulling fs layer [2023-03-17T22:18:48.095Z] 699f458cf7ca: Pulling fs layer [2023-03-17T22:18:48.095Z] 765212b225bb: Pulling fs layer [2023-03-17T22:18:48.095Z] f23df028b6ca: Pulling fs layer [2023-03-17T22:18:48.095Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T22:18:48.095Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T22:18:48.095Z] f23df028b6ca: Waiting [2023-03-17T22:18:48.095Z] d65c8cfc05b1: Waiting [2023-03-17T22:18:48.095Z] 2437ff75d9bd: Waiting [2023-03-17T22:18:48.095Z] 765212b225bb: Waiting [2023-03-17T22:18:48.095Z] 04944245beec: Verifying Checksum [2023-03-17T22:18:48.095Z] 04944245beec: Download complete [2023-03-17T22:18:48.095Z] 765212b225bb: Verifying Checksum [2023-03-17T22:18:48.095Z] 765212b225bb: Download complete [2023-03-17T22:18:48.095Z] f23df028b6ca: Verifying Checksum [2023-03-17T22:18:48.095Z] f23df028b6ca: Download complete [2023-03-17T22:18:48.095Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T22:18:48.095Z] d65c8cfc05b1: Download complete [2023-03-17T22:18:48.455Z] 699f458cf7ca: Verifying Checksum [2023-03-17T22:18:48.455Z] 699f458cf7ca: Download complete [2023-03-17T22:18:48.756Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T22:18:48.756Z] 8998bd30e6a1: Download complete [2023-03-17T22:18:51.396Z] 2437ff75d9bd: Download complete [2023-03-17T22:18:53.346Z] 8998bd30e6a1: Pull complete [2023-03-17T22:18:53.935Z] 04944245beec: Pull complete [2023-03-17T22:18:55.359Z] 699f458cf7ca: Pull complete [2023-03-17T22:18:55.628Z] 765212b225bb: Pull complete [2023-03-17T22:18:56.224Z] f23df028b6ca: Pull complete [2023-03-17T22:18:56.493Z] d65c8cfc05b1: Pull complete [2023-03-17T22:19:11.534Z] 2437ff75d9bd: Pull complete [2023-03-17T22:19:11.534Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T22:19:11.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T22:19:11.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:19:11.738Z] prd-ubuntu20.04-docker-arm64-4c-16g-4439 does not seem to be running inside a container [2023-03-17T22:19:11.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T22:19:14.984Z] $ docker top 2ca741bdd34cae13638b1fd1613414a47a23af6cb5a4a8ee2480a20b850c9839 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:15.853Z] ---> job-cost.sh [2023-03-17T22:19:15.853Z] lf-activate-venv: SKIPPING [2023-03-17T22:19:15.853Z] INFO: No Stack... [2023-03-17T22:19:16.123Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T22:19:17.092Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T22:19:17.749Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-03-17T22:19:17.749Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T22:19:17.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [2023-03-17T22:19:17.843Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] did not exist. Created. [2023-03-17T22:19:17.843Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T22:19:18.530Z] /w/workspace/device-onvif-camera/2@tmp/durable-d60ad99b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T22:19:19.203Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T22:19:19.230Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T22:19:19.878Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T22:19:19.887Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T22:19:19.918Z] $ docker stop --time=1 2ca741bdd34cae13638b1fd1613414a47a23af6cb5a4a8ee2480a20b850c9839 [2023-03-17T22:19:21.538Z] $ docker rm -f --volumes 2ca741bdd34cae13638b1fd1613414a47a23af6cb5a4a8ee2480a20b850c9839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T22:19:21.839Z] 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 [2023-03-17T22:19:22.520Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-275/archives ] [2023-03-17T22:19:22.520Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T22:19:22.520Z] total 16 [2023-03-17T22:19:22.520Z] drwxr-xr-x 3 root root 4096 Mar 17 22:11 . [2023-03-17T22:19:22.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:11 .. [2023-03-17T22:19:22.520Z] drwxr-xr-x 2 root root 4096 Mar 17 22:11 cost [2023-03-17T22:19:22.520Z] -rw-r--r-- 1 root root 91 Mar 17 22:11 cost.csv [2023-03-17T22:19:22.520Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T22:19:22.520Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T22:19:22.520Z] total 16 [2023-03-17T22:19:22.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 22:11 . [2023-03-17T22:19:22.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 22:11 .. [2023-03-17T22:19:22.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 22:11 cost [2023-03-17T22:19:22.520Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 22:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:22.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:23.667Z] ---> package-listing.sh [2023-03-17T22:19:23.667Z] ++ facter osfamily [2023-03-17T22:19:23.667Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T22:19:23.926Z] + OS_FAMILY=debian [2023-03-17T22:19:23.926Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-275 [2023-03-17T22:19:23.926Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T22:19:23.926Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T22:19:23.926Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T22:19:23.926Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T22:19:23.926Z] + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' [2023-03-17T22:19:23.926Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T22:19:23.926Z] + case "${OS_FAMILY}" in [2023-03-17T22:19:23.926Z] + dpkg -l [2023-03-17T22:19:23.926Z] + grep '^ii' [2023-03-17T22:19:23.926Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T22:19:23.926Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T22:19:23.926Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T22:19:23.926Z] + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' [2023-03-17T22:19:23.926Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-275/archives/ [2023-03-17T22:19:23.926Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-275/archives/ [Pipeline] echo [2023-03-17T22:19:23.936Z] 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-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T22:19:24.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T22:19:24.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T22:19:24.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T22:19:24.843Z] prd-ubuntu20.04-docker-8c-8g-4434 does not seem to be running inside a container [2023-03-17T22:19:24.883Z] $ 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-275/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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T22:19:25.078Z] $ docker top 4adaa92d6c837708929e83b2f723438ca975912b92b5541c1ffaaba07299b8ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T22:19:25.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T22:19:25.707Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T22:19:25.991Z] + ls /var/log/sa-host [2023-03-17T22:19:25.991Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T22:19:26.152Z] provisioning config files... [2023-03-17T22:19:26.160Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config6614361556606130847tmp [Pipeline] { [Pipeline] echo [2023-03-17T22:19:26.172Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:26.456Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T22:19:26.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:26.807Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T22:19:26.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:27.102Z] ---> sudo-logs.sh [2023-03-17T22:19:27.102Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T22:19:27.143Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:27.428Z] ---> job-cost.sh [2023-03-17T22:19:27.429Z] lf-activate-venv: SKIPPING [2023-03-17T22:19:27.429Z] DEBUG: total: 0.2199999988079071 [2023-03-17T22:19:27.429Z] INFO: Retrieving Stack Cost... [2023-03-17T22:19:27.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T22:19:28.257Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T22:19:28.269Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T22:19:28.552Z] ---> logs-deploy.sh [2023-03-17T22:19:28.552Z] lf-activate-venv: SKIPPING [2023-03-17T22:19:28.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-275/2 [2023-03-17T22:19:28.552Z] INFO: archiving workspace using pattern(s): [2023-03-17T22:19:29.492Z] Archives upload complete. [2023-03-17T22:19:29.492Z] INFO: archiving logs to Nexus