Pull request #266 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d77b2affd8397268f0824daed661bad25bfd0580+b19be15f1aae5ce963d99b90e51172ceff0b476d (df2b79eaacafc03d25a19d6b35996c6ea61bc3d9) 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-ssh2440381555954216484.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-ssh3263872292641275694.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12819485440289532756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-266/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12645745900580110643.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4541450283441761810.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-266/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-266/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5230137508464895697.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1250 in /w/workspace/undry_device-onvif-camera_PR-266 [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-266 # 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 > 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/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit d77b2affd8397268f0824daed661bad25bfd0580 Merge succeeded, producing d77b2affd8397268f0824daed661bad25bfd0580 Checking out Revision d77b2affd8397268f0824daed661bad25bfd0580 (PR-266) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f d77b2affd8397268f0824daed661bad25bfd0580 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d77b2affd8397268f0824daed661bad25bfd0580 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:26:05.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:26:05.241Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:26:05.348Z] ========================================================= [2023-03-15T16:26:05.348Z] EdgeX Global Pipelines Version Info [2023-03-15T16:26:05.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:06.103Z] ------------------- [2023-03-15T16:26:06.103Z] stable info: [2023-03-15T16:26:06.103Z] ------------------- [2023-03-15T16:26:06.103Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:26:06.103Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:26:06.103Z] Message: update stable to v1.0.245 [2023-03-15T16:26:06.676Z] ------------------- [2023-03-15T16:26:06.676Z] experimental info: [2023-03-15T16:26:06.676Z] ------------------- [2023-03-15T16:26:06.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:26:06.676Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:26:06.676Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:26:06.951Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-15T16:26:07.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-15T16:26:07.083Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:26:07.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:26:07.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:26:07.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:26:07.270Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:26:07.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:26:07.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:26:07.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:26:07.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:26:07.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-15T16:26:07.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:26:07.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:26:07.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:26:07.660Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:26:07.702Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:26:07.755Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:26:07.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:26:07.840Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:26:07.888Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T16:26:07.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-15T16:26:07.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:26:08.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:26:08.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:26:08.116Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:26:08.159Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:26:08.206Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-266 [Pipeline] echo [2023-03-15T16:26:08.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-266 [Pipeline] echo [2023-03-15T16:26:08.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-266 [Pipeline] echo [2023-03-15T16:26:08.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d77b2affd8397268f0824daed661bad25bfd0580 [Pipeline] echo [2023-03-15T16:26:08.391Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d77b2af [Pipeline] echo [2023-03-15T16:26:08.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:26:08.550Z] provisioning config files... [2023-03-15T16:26:08.581Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-266@tmp/config4790336877435699902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:08.929Z] ---> docker-login.sh [2023-03-15T16:26:08.929Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:26:09.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:09.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:09.196Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:09.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:09.196Z] [2023-03-15T16:26:09.196Z] Login Succeeded [2023-03-15T16:26:09.196Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:26:09.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:09.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:09.196Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:09.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:09.196Z] [2023-03-15T16:26:09.196Z] Login Succeeded [2023-03-15T16:26:09.196Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:26:09.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:09.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:09.458Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:09.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:09.458Z] [2023-03-15T16:26:09.458Z] Login Succeeded [2023-03-15T16:26:09.458Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:26:09.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:09.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:09.458Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:09.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:09.458Z] [2023-03-15T16:26:09.458Z] Login Succeeded [2023-03-15T16:26:09.719Z] docker.io [2023-03-15T16:26:09.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:09.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:09.979Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:09.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:09.979Z] [2023-03-15T16:26:09.979Z] Login Succeeded [2023-03-15T16:26:09.979Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:26:10.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:26:10.617Z] + git rev-list -1 --merges d77b2affd8397268f0824daed661bad25bfd0580~1..d77b2affd8397268f0824daed661bad25bfd0580 [Pipeline] echo [2023-03-15T16:26:10.676Z] -----------> git rev-list -1 --merges d77b2affd8397268f0824daed661bad25bfd0580~1..d77b2affd8397268f0824daed661bad25bfd0580 d77b2affd8397268f0824daed661bad25bfd0580 [false] [Pipeline] sh [2023-03-15T16:26:10.982Z] + git log --format=format:%s -1 d77b2affd8397268f0824daed661bad25bfd0580 [Pipeline] echo [2023-03-15T16:26:11.012Z] ========================================================= [2023-03-15T16:26:11.012Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:26:11.012Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:26:11.432Z] + git log --format=format:%s -1 d77b2affd8397268f0824daed661bad25bfd0580 [Pipeline] echo [2023-03-15T16:26:11.498Z] [semverPrep] GIT_COMMIT: d77b2affd8397268f0824daed661bad25bfd0580, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-15T16:26:11.533Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:26:11.916Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:26:11.917Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:26:11.917Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:26:11.917Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:26:11.917Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:26:11.917Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:26:11.917Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:26:12.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:12.341Z] [2023-03-15T16:26:12.341Z] 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-15T16:26:12.729Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:12.729Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:26:12.729Z] b85a868b505f: Pulling fs layer [2023-03-15T16:26:12.729Z] e2be974225ed: Pulling fs layer [2023-03-15T16:26:12.729Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:26:12.729Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:26:12.729Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:26:12.729Z] eaf3925da568: Pulling fs layer [2023-03-15T16:26:12.729Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:26:12.729Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:26:12.729Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:26:12.729Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:26:12.729Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:26:12.729Z] 1469e6f7b9e6: Waiting [2023-03-15T16:26:12.729Z] eaf3925da568: Waiting [2023-03-15T16:26:12.729Z] bab4dde63d76: Waiting [2023-03-15T16:26:12.729Z] bde34c3a00c8: Waiting [2023-03-15T16:26:12.729Z] b352a97aabf1: Waiting [2023-03-15T16:26:12.729Z] 4872d77fe225: Waiting [2023-03-15T16:26:12.729Z] 5851b861e8e6: Waiting [2023-03-15T16:26:12.729Z] 988bab9f4d93: Waiting [2023-03-15T16:26:12.729Z] e2be974225ed: Verifying Checksum [2023-03-15T16:26:12.729Z] e2be974225ed: Download complete [2023-03-15T16:26:12.996Z] 988bab9f4d93: Download complete [2023-03-15T16:26:12.996Z] 1469e6f7b9e6: Download complete [2023-03-15T16:26:12.996Z] 339a4e72a1f5: Download complete [2023-03-15T16:26:12.996Z] eaf3925da568: Download complete [2023-03-15T16:26:12.996Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:26:12.996Z] bde34c3a00c8: Download complete [2023-03-15T16:26:13.256Z] b352a97aabf1: Download complete [2023-03-15T16:26:13.256Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:26:13.256Z] 4872d77fe225: Download complete [2023-03-15T16:26:13.256Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:26:13.256Z] 5851b861e8e6: Download complete [2023-03-15T16:26:13.256Z] b85a868b505f: Verifying Checksum [2023-03-15T16:26:13.256Z] b85a868b505f: Download complete [2023-03-15T16:26:13.518Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:26:13.518Z] bab4dde63d76: Download complete [2023-03-15T16:26:14.897Z] b85a868b505f: Pull complete [2023-03-15T16:26:14.897Z] e2be974225ed: Pull complete [2023-03-15T16:26:15.158Z] 339a4e72a1f5: Pull complete [2023-03-15T16:26:15.418Z] 988bab9f4d93: Pull complete [2023-03-15T16:26:15.678Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:26:15.679Z] eaf3925da568: Pull complete [2023-03-15T16:26:17.584Z] bab4dde63d76: Pull complete [2023-03-15T16:26:17.584Z] bde34c3a00c8: Pull complete [2023-03-15T16:26:17.584Z] b352a97aabf1: Pull complete [2023-03-15T16:26:17.844Z] 4872d77fe225: Pull complete [2023-03-15T16:26:17.844Z] 5851b861e8e6: Pull complete [2023-03-15T16:26:18.104Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:26:18.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:18.104Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:26:18.337Z] prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container [2023-03-15T16:26:18.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-266 -v /w/workspace/undry_device-onvif-camera_PR-266:/w/workspace/undry_device-onvif-camera_PR-266:rw,z -v /w/workspace/undry_device-onvif-camera_PR-266@tmp:/w/workspace/undry_device-onvif-camera_PR-266@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:26:19.850Z] $ docker top 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa -eo pid,comm [2023-03-15T16:26:19.910Z] 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-15T16:26:19.910Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:26:20.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:26:20.030Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:26:20.157Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:26:20.158Z] $ docker exec 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa ssh-agent [2023-03-15T16:26:20.280Z] SSH_AUTH_SOCK=/tmp/ssh-ELbTeDbWgEn2/agent.31 [2023-03-15T16:26:20.280Z] SSH_AGENT_PID=37 [2023-03-15T16:26:20.286Z] Running ssh-add (command line suppressed) [2023-03-15T16:26:20.388Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-266@tmp/private_key_7081736085722540972.key (/w/workspace/undry_device-onvif-camera_PR-266@tmp/private_key_7081736085722540972.key) [2023-03-15T16:26:20.405Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:26:20.736Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:26:20.758Z] $ docker exec --env ******** --env ******** 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa ssh-agent -k [2023-03-15T16:26:20.863Z] unset SSH_AUTH_SOCK; [2023-03-15T16:26:20.863Z] unset SSH_AGENT_PID; [2023-03-15T16:26:20.863Z] echo Agent pid 37 killed; [2023-03-15T16:26:20.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:26:20.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:26:20.959Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:26:21.073Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:26:21.075Z] $ docker exec 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa ssh-agent [2023-03-15T16:26:21.211Z] SSH_AUTH_SOCK=/tmp/ssh-RiX5ed60jl1i/agent.70 [2023-03-15T16:26:21.211Z] SSH_AGENT_PID=76 [2023-03-15T16:26:21.215Z] Running ssh-add (command line suppressed) [2023-03-15T16:26:21.316Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-266@tmp/private_key_15938110559449332334.key (/w/workspace/undry_device-onvif-camera_PR-266@tmp/private_key_15938110559449332334.key) [2023-03-15T16:26:21.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:26:21.669Z] + git semver init [2023-03-15T16:26:21.929Z] 2023-03-15 16:26:21,868 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:26:21.929Z] 2023-03-15 16:26:21,869 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-266/.semver [2023-03-15T16:26:21.929Z] 2023-03-15 16:26:21,869 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-266/.semver [2023-03-15T16:26:21.929Z] 2023-03-15 16:26:21,870 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-266/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-266, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,921 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-266/.git/info/exclude [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,922 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-266/.semver/PR-266 with force:False [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,922 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-266/.semver/PR-266 [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,926 [execute] INFO git cat-file --batch-check [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,932 [execute] INFO git cat-file --batch [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-266/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:26:23.312Z] 2023-03-15 16:26:22,937 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-266/.semver/PR-266 [2023-03-15T16:26:23.312Z] 0.0.0 [Pipeline] } [2023-03-15T16:26:23.337Z] $ docker exec --env ******** --env ******** 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa ssh-agent -k [2023-03-15T16:26:23.445Z] unset SSH_AUTH_SOCK; [2023-03-15T16:26:23.445Z] unset SSH_AGENT_PID; [2023-03-15T16:26:23.446Z] echo Agent pid 76 killed; [2023-03-15T16:26:23.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:26:23.892Z] + git semver [Pipeline] } [2023-03-15T16:26:24.175Z] $ docker stop --time=1 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa [2023-03-15T16:26:25.504Z] $ docker rm -f --volumes 38454181f19d9c5a7a0cc53738af21f49efc9057a6932a7f3486a620563c87fa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:26:25.896Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:26:26.164Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:26:26.183Z] [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-15T16:26:26.859Z] provisioning config files... [2023-03-15T16:26:26.868Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-266@tmp/config7563641994840453783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:27.210Z] ---> docker-login.sh [2023-03-15T16:26:27.211Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:26:27.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:27.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:27.211Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:27.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:27.211Z] [2023-03-15T16:26:27.211Z] Login Succeeded [2023-03-15T16:26:27.211Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:26:27.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:27.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:27.211Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:27.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:27.211Z] [2023-03-15T16:26:27.211Z] Login Succeeded [2023-03-15T16:26:27.474Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:26:27.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:27.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:27.474Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:27.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:27.474Z] [2023-03-15T16:26:27.474Z] Login Succeeded [2023-03-15T16:26:27.474Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:26:27.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:27.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:27.736Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:27.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:27.736Z] [2023-03-15T16:26:27.736Z] Login Succeeded [2023-03-15T16:26:27.736Z] docker.io [2023-03-15T16:26:27.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:27.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:27.997Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:27.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:27.997Z] [2023-03-15T16:26:27.997Z] Login Succeeded [2023-03-15T16:26:27.997Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:26:28.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:26:28.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:26:28.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:26:28.402Z] ========================================================= [2023-03-15T16:26:28.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:26:28.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:26:28.872Z] + 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-15T16:26:28.872Z] Sending build context to Docker daemon 27.86MB [2023-03-15T16:26:28.872Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:26:28.872Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T16:26:29.155Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:26:29.155Z] 63b65145d645: Pulling fs layer [2023-03-15T16:26:29.155Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:26:29.155Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:26:29.155Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:26:29.155Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:26:29.155Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:26:29.155Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:26:29.155Z] f25807f1079a: Pulling fs layer [2023-03-15T16:26:29.155Z] 30dea6a524f1: Waiting [2023-03-15T16:26:29.155Z] f25807f1079a: Waiting [2023-03-15T16:26:29.155Z] a2aff8979fd8: Waiting [2023-03-15T16:26:29.155Z] a2d21d5440eb: Download complete [2023-03-15T16:26:29.155Z] 94cc34f8dd06: Download complete [2023-03-15T16:26:29.155Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:26:29.155Z] 30dea6a524f1: Download complete [2023-03-15T16:26:29.155Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:26:29.155Z] a2aff8979fd8: Download complete [2023-03-15T16:26:29.734Z] 63b65145d645: Verifying Checksum [2023-03-15T16:26:29.734Z] 63b65145d645: Download complete [2023-03-15T16:26:29.734Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:26:29.734Z] 935e6c44a52c: Download complete [2023-03-15T16:26:29.996Z] 63b65145d645: Pull complete [2023-03-15T16:26:29.996Z] a2d21d5440eb: Pull complete [2023-03-15T16:26:29.996Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:26:29.996Z] 6808be2612f2: Download complete [2023-03-15T16:26:30.255Z] f25807f1079a: Verifying Checksum [2023-03-15T16:26:30.255Z] f25807f1079a: Download complete [2023-03-15T16:26:33.547Z] 935e6c44a52c: Pull complete [2023-03-15T16:26:33.812Z] 94cc34f8dd06: Pull complete [2023-03-15T16:26:33.812Z] 30dea6a524f1: Pull complete [2023-03-15T16:26:33.812Z] a2aff8979fd8: Pull complete [2023-03-15T16:26:36.344Z] 6808be2612f2: Pull complete [2023-03-15T16:26:37.282Z] f25807f1079a: Pull complete [2023-03-15T16:26:37.282Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:26:37.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:26:37.282Z] ---> 3b553350e43f [2023-03-15T16:26:37.282Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:26:39.187Z] ---> Running in f41b0609050a [2023-03-15T16:26:39.187Z] Removing intermediate container f41b0609050a [2023-03-15T16:26:39.187Z] ---> ad209a10a815 [2023-03-15T16:26:39.187Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:26:39.187Z] ---> Running in aa3fa086ca86 [2023-03-15T16:26:39.446Z] Removing intermediate container aa3fa086ca86 [2023-03-15T16:26:39.446Z] ---> fb962a3bbe26 [2023-03-15T16:26:39.446Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:26:39.446Z] ---> Running in d8040db0a040 [2023-03-15T16:26:39.446Z] Removing intermediate container d8040db0a040 [2023-03-15T16:26:39.446Z] ---> 07079e57bad7 [2023-03-15T16:26:39.446Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:26:39.705Z] ---> Running in 0d274acd5405 [2023-03-15T16:26:39.705Z] Removing intermediate container 0d274acd5405 [2023-03-15T16:26:39.705Z] ---> 29713e56dc40 [2023-03-15T16:26:39.705Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-15T16:26:39.964Z] ---> Running in ec0a0686013b [2023-03-15T16:26:39.964Z] Removing intermediate container ec0a0686013b [2023-03-15T16:26:39.964Z] ---> 1bc5162728db [2023-03-15T16:26:39.964Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:26:39.964Z] ---> Running in c62ff62ec80e [2023-03-15T16:26:40.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:26:40.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:26:40.485Z] OK: 265 MiB in 53 packages [2023-03-15T16:26:41.062Z] Removing intermediate container c62ff62ec80e [2023-03-15T16:26:41.062Z] ---> 2202afd01dc6 [2023-03-15T16:26:41.062Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-15T16:26:41.062Z] ---> Running in fa6621babd38 [2023-03-15T16:26:41.062Z] Removing intermediate container fa6621babd38 [2023-03-15T16:26:41.062Z] ---> d8ead714ab8a [2023-03-15T16:26:41.062Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-15T16:26:41.321Z] ---> 62e056f0b89d [2023-03-15T16:26:41.321Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:26:41.321Z] ---> Running in 4234fd287e39 [2023-03-15T16:26:41.561Z] Still waiting to schedule task [2023-03-15T16:26:41.562Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:27:03.265Z] Removing intermediate container 4234fd287e39 [2023-03-15T16:27:03.266Z] ---> a0a8dc48f4e7 [2023-03-15T16:27:03.266Z] Step 12/13 : COPY . . [2023-03-15T16:27:03.266Z] ---> bf2de5e35496 [2023-03-15T16:27:03.266Z] Step 13/13 : RUN ${MAKE} [2023-03-15T16:27:03.266Z] ---> Running in 7960812251ed [2023-03-15T16:27:03.266Z] noop [2023-03-15T16:27:03.833Z] Removing intermediate container 7960812251ed [2023-03-15T16:27:03.833Z] ---> a3d0481fece3 [2023-03-15T16:27:03.833Z] Successfully built a3d0481fece3 [2023-03-15T16:27:03.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:04.280Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:27:04.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:04.434Z] prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container [2023-03-15T16:27:04.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-266 -v /w/workspace/undry_device-onvif-camera_PR-266:/w/workspace/undry_device-onvif-camera_PR-266:rw,z -v /w/workspace/undry_device-onvif-camera_PR-266@tmp:/w/workspace/undry_device-onvif-camera_PR-266@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:27:04.861Z] $ docker top 492ca34fb45b9cca44cdd6a67a4df57cf3cbbd72d1d036b1d5a0a3f2dafa9b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:27:05.243Z] + go version [2023-03-15T16:27:05.243Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:27:05.279Z] $ docker stop --time=1 492ca34fb45b9cca44cdd6a67a4df57cf3cbbd72d1d036b1d5a0a3f2dafa9b59 [2023-03-15T16:27:06.609Z] $ docker rm -f --volumes 492ca34fb45b9cca44cdd6a67a4df57cf3cbbd72d1d036b1d5a0a3f2dafa9b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:07.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:27:07.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:07.416Z] prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container [2023-03-15T16:27:07.450Z] $ 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-266 -v /w/workspace/undry_device-onvif-camera_PR-266:/w/workspace/undry_device-onvif-camera_PR-266:rw,z -v /w/workspace/undry_device-onvif-camera_PR-266@tmp:/w/workspace/undry_device-onvif-camera_PR-266@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 ******** ci-base-image-x86_64 cat [2023-03-15T16:27:07.865Z] $ docker top c6b683ba15c48e456d107906daf16fe25fa2fafa3eadfc4aedf2647b7cf65030 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:27:08.247Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-266 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:27:08.612Z] + make test [2023-03-15T16:27:08.612Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:27:14.032Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-15T16:27:24.008Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-15T16:27:24.008Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-15T16:27:24.944Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-15T16:27:24.944Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-15T16:27:27.479Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.571s coverage: 86.5% of statements [2023-03-15T16:27:27.479Z] FAIL [2023-03-15T16:27:27.479Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-15T16:27:27.530Z] $ docker stop --time=1 c6b683ba15c48e456d107906daf16fe25fa2fafa3eadfc4aedf2647b7cf65030 [2023-03-15T16:27:29.604Z] $ docker rm -f --volumes c6b683ba15c48e456d107906daf16fe25fa2fafa3eadfc4aedf2647b7cf65030 [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-15T16:27:30.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:27:30.730Z] [2023-03-15T16:27:30.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:31.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:27:31.100Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:27:31.100Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:27:31.100Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:27:31.100Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:27:31.100Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:27:31.100Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:27:31.100Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:27:31.100Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:27:31.100Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:27:31.100Z] 33b1e0a273af: Waiting [2023-03-15T16:27:31.100Z] 5d3b04190fa2: Waiting [2023-03-15T16:27:31.100Z] 2f39f015ded8: Waiting [2023-03-15T16:27:31.100Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T16:27:31.100Z] 5c69ac0246d0: Download complete [2023-03-15T16:27:31.100Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:27:31.359Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:27:31.359Z] 33b1e0a273af: Download complete [2023-03-15T16:27:31.359Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T16:27:31.359Z] 5d3b04190fa2: Download complete [2023-03-15T16:27:31.359Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:27:31.359Z] ec43610c2a17: Download complete [2023-03-15T16:27:31.359Z] 5eb5b503b376: Download complete [2023-03-15T16:27:32.293Z] 2f39f015ded8: Verifying Checksum [2023-03-15T16:27:32.293Z] 2f39f015ded8: Download complete [2023-03-15T16:27:32.552Z] 5eb5b503b376: Pull complete [2023-03-15T16:27:32.811Z] 5c69ac0246d0: Pull complete [2023-03-15T16:27:33.378Z] ec43610c2a17: Pull complete [2023-03-15T16:27:33.378Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:27:33.636Z] 33b1e0a273af: Pull complete [2023-03-15T16:27:33.636Z] 5d3b04190fa2: Pull complete [2023-03-15T16:27:38.914Z] 2f39f015ded8: Pull complete [2023-03-15T16:27:38.914Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:27:38.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:27:38.914Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:39.121Z] prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container [2023-03-15T16:27:39.156Z] $ 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-266 -v /w/workspace/undry_device-onvif-camera_PR-266:/w/workspace/undry_device-onvif-camera_PR-266:rw,z -v /w/workspace/undry_device-onvif-camera_PR-266@tmp:/w/workspace/undry_device-onvif-camera_PR-266@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:27:41.243Z] $ docker top 2315d8438720c64e791b55f0d46b2486dd910156ac2cbebeb6d1b798fbe689f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:41.664Z] ---> job-cost.sh [2023-03-15T16:27:41.664Z] lf-activate-venv: SKIPPING [2023-03-15T16:27:41.664Z] INFO: No Stack... [2023-03-15T16:27:41.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:27:42.183Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:27:42.502Z] + cat /w/workspace/undry_device-onvif-camera_PR-266/archives/cost.csv [2023-03-15T16:27:42.502Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:27:42.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [2023-03-15T16:27:42.548Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] did not exist. Created. [2023-03-15T16:27:42.548Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:27:42.942Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:27:43.017Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:27:43.033Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:27:43.116Z] $ docker stop --time=1 2315d8438720c64e791b55f0d46b2486dd910156ac2cbebeb6d1b798fbe689f0 [2023-03-15T16:27:44.297Z] $ docker rm -f --volumes 2315d8438720c64e791b55f0d46b2486dd910156ac2cbebeb6d1b798fbe689f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:27:44.611Z] Failed in branch amd64 [2023-03-15T16:38:24.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1742 in /w/workspace/undry_device-onvif-camera_PR-266 [Pipeline] { [Pipeline] ws [2023-03-15T16:38:24.165Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-15T16:38:24.276Z] The recommended git tool is: git [2023-03-15T16:38:36.163Z] using credential edgex-jenkins-ssh [2023-03-15T16:38:36.186Z] Cloning the remote Git repository [2023-03-15T16:38:36.270Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-15T16:38:36.440Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-15T16:38:36.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-15T16:38:36.703Z] > git --version # timeout=10 [2023-03-15T16:38:36.736Z] > git --version # 'git version 2.25.1' [2023-03-15T16:38:36.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:36.966Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:38.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-15T16:38:38.612Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:40.606Z] Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit d77b2affd8397268f0824daed661bad25bfd0580 [2023-03-15T16:38:41.200Z] Merge succeeded, producing d77b2affd8397268f0824daed661bad25bfd0580 [2023-03-15T16:38:41.200Z] Checking out Revision d77b2affd8397268f0824daed661bad25bfd0580 (PR-266) [2023-03-15T16:38:39.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-15T16:38:39.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-15T16:38:39.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:40.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/266/head:refs/remotes/origin/PR-266 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T16:38:40.637Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:38:40.740Z] > git checkout -f d77b2affd8397268f0824daed661bad25bfd0580 # timeout=10 [2023-03-15T16:38:41.086Z] > git remote # timeout=10 [2023-03-15T16:38:41.111Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T16:38:41.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:41.159Z] > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [2023-03-15T16:38:41.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T16:38:41.217Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:38:41.233Z] > git checkout -f d77b2affd8397268f0824daed661bad25bfd0580 # timeout=10 [2023-03-15T16:38:41.854Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-15T16:38:41.932Z] > git --version # timeout=10 [2023-03-15T16:38:41.946Z] > git --version # 'git version 2.25.1' [2023-03-15T16:38:41.972Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:38:43.567Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:38:43.567Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:38:43.567Z] Dload Upload Total Spent Left Speed [2023-03-15T16:38:43.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-03-15T16:38:44.247Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:38:44.623Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:38:44.623Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:38:44.623Z] { [2023-03-15T16:38:44.623Z] "registry-mirrors": [ [2023-03-15T16:38:44.623Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:38:44.623Z] ], [2023-03-15T16:38:44.623Z] "bip": "10.250.0.254/24", [2023-03-15T16:38:44.623Z] "hosts": [ [2023-03-15T16:38:44.623Z] "tcp://0.0.0.0:5555", [2023-03-15T16:38:44.623Z] "unix:///var/run/docker.sock" [2023-03-15T16:38:44.623Z] ], [2023-03-15T16:38:44.623Z] "mtu": 1458, [2023-03-15T16:38:44.623Z] "selinux-enabled": true, [2023-03-15T16:38:44.623Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:38:44.623Z] } [Pipeline] sh [2023-03-15T16:38:44.993Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:38:45.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:39:03.809Z] provisioning config files... [2023-03-15T16:39:03.846Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5656498621947641290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:39:04.259Z] ---> docker-login.sh [2023-03-15T16:39:04.259Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:39:04.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:05.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:05.133Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:05.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:05.133Z] [2023-03-15T16:39:05.133Z] Login Succeeded [2023-03-15T16:39:05.133Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:39:05.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:05.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:05.406Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:05.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:05.406Z] [2023-03-15T16:39:05.406Z] Login Succeeded [2023-03-15T16:39:05.406Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:39:05.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:05.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:05.957Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:05.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:05.957Z] [2023-03-15T16:39:05.957Z] Login Succeeded [2023-03-15T16:39:05.957Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:39:06.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:06.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:06.232Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:06.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:06.232Z] [2023-03-15T16:39:06.232Z] Login Succeeded [2023-03-15T16:39:06.232Z] docker.io [2023-03-15T16:39:06.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:06.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:06.777Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:06.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:06.777Z] [2023-03-15T16:39:06.777Z] Login Succeeded [2023-03-15T16:39:06.777Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:39:06.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:39:07.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:39:07.295Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:39:07.327Z] ========================================================= [2023-03-15T16:39:07.327Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:39:07.327Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:39:07.835Z] + 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-15T16:39:08.432Z] Sending build context to Docker daemon 20.62MB [2023-03-15T16:39:08.432Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:39:08.432Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T16:39:08.709Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:39:08.709Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:39:08.709Z] 55522c791124: Pulling fs layer [2023-03-15T16:39:08.709Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:39:08.709Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:39:08.709Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:39:08.709Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:39:08.709Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:39:08.709Z] 169dfbe0d373: Waiting [2023-03-15T16:39:08.709Z] 52ebb69f0ebf: Waiting [2023-03-15T16:39:08.709Z] e1ff8fa3b103: Waiting [2023-03-15T16:39:08.709Z] 5abe8eddf0d5: Waiting [2023-03-15T16:39:08.709Z] 55522c791124: Verifying Checksum [2023-03-15T16:39:08.709Z] 55522c791124: Download complete [2023-03-15T16:39:08.709Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:39:08.709Z] 169dfbe0d373: Download complete [2023-03-15T16:39:08.988Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:39:08.988Z] e1ff8fa3b103: Download complete [2023-03-15T16:39:08.988Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:39:09.988Z] af6eaf76a39c: Pull complete [2023-03-15T16:39:10.265Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:39:10.265Z] 5abe8eddf0d5: Download complete [2023-03-15T16:39:10.872Z] 55522c791124: Pull complete [2023-03-15T16:39:11.859Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:39:11.859Z] ce5c4a1c91eb: Download complete [2023-03-15T16:39:11.859Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:39:11.859Z] 52ebb69f0ebf: Download complete [2023-03-15T16:39:24.259Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:39:24.259Z] 169dfbe0d373: Pull complete [2023-03-15T16:39:24.259Z] e1ff8fa3b103: Pull complete [2023-03-15T16:39:32.517Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:39:33.952Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:39:33.952Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:39:33.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:39:33.952Z] ---> 6cb57ee374ae [2023-03-15T16:39:33.952Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:39:35.923Z] ---> Running in 15ace3b9a2e8 [2023-03-15T16:39:36.195Z] Removing intermediate container 15ace3b9a2e8 [2023-03-15T16:39:36.195Z] ---> 6562a336b6f2 [2023-03-15T16:39:36.195Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:39:36.472Z] ---> Running in d33c4b9e0c37 [2023-03-15T16:39:36.742Z] Removing intermediate container d33c4b9e0c37 [2023-03-15T16:39:36.742Z] ---> 7879c8c9ff07 [2023-03-15T16:39:36.742Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:39:36.742Z] ---> Running in 87c7e394cb33 [2023-03-15T16:39:37.335Z] Removing intermediate container 87c7e394cb33 [2023-03-15T16:39:37.335Z] ---> 880faa5f866b [2023-03-15T16:39:37.335Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:39:37.335Z] ---> Running in 6fa38671f6d9 [2023-03-15T16:39:39.300Z] Removing intermediate container 6fa38671f6d9 [2023-03-15T16:39:39.300Z] ---> a7fe260e39e0 [2023-03-15T16:39:39.300Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-15T16:39:39.300Z] ---> Running in 47bc4a3f1eee [2023-03-15T16:39:39.300Z] Removing intermediate container 47bc4a3f1eee [2023-03-15T16:39:39.300Z] ---> 20643184e93d [2023-03-15T16:39:39.300Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:39:39.573Z] ---> Running in f637717d6c66 [2023-03-15T16:39:40.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:41.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:42.714Z] OK: 263 MiB in 53 packages [2023-03-15T16:39:43.691Z] Removing intermediate container f637717d6c66 [2023-03-15T16:39:43.691Z] ---> 5a409768cb63 [2023-03-15T16:39:43.691Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-15T16:39:43.691Z] ---> Running in f24b123f4024 [2023-03-15T16:39:43.966Z] Removing intermediate container f24b123f4024 [2023-03-15T16:39:43.966Z] ---> 81e8309ec999 [2023-03-15T16:39:43.966Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-15T16:39:44.582Z] ---> 73e7696796b6 [2023-03-15T16:39:44.582Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:39:44.851Z] ---> Running in 1bbb7b20f822 [2023-03-15T16:41:06.596Z] Removing intermediate container 1bbb7b20f822 [2023-03-15T16:41:06.596Z] ---> 0c10096371bb [2023-03-15T16:41:06.596Z] Step 12/13 : COPY . . [2023-03-15T16:41:06.596Z] ---> 4014e309e841 [2023-03-15T16:41:06.596Z] Step 13/13 : RUN ${MAKE} [2023-03-15T16:41:06.596Z] ---> Running in 3979655229b5 [2023-03-15T16:41:06.596Z] noop [2023-03-15T16:41:06.596Z] Removing intermediate container 3979655229b5 [2023-03-15T16:41:06.596Z] ---> 2d6b482d3210 [2023-03-15T16:41:06.596Z] Successfully built 2d6b482d3210 [2023-03-15T16:41:06.596Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:41:07.067Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:41:07.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:41:07.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-03-15T16:41:07.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:41:08.829Z] $ docker top 795b11e95e34f691f8c7485fce1632f2065469ee7d002eed174fd5dac915ea5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:41:09.731Z] + go version [2023-03-15T16:41:09.731Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:41:09.777Z] $ docker stop --time=1 795b11e95e34f691f8c7485fce1632f2065469ee7d002eed174fd5dac915ea5d [2023-03-15T16:41:11.456Z] $ docker rm -f --volumes 795b11e95e34f691f8c7485fce1632f2065469ee7d002eed174fd5dac915ea5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:41:12.313Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:41:12.313Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:41:12.610Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-03-15T16:41:12.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:41:14.018Z] $ docker top 31a3f913c65741b9104d20c16ef8612dd1690f693aecee25af0ebd1022878c72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:41:14.923Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:41:15.641Z] + make test [2023-03-15T16:41:15.641Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:42:02.557Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-15T16:44:09.408Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-15T16:44:09.408Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-15T16:44:21.814Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-15T16:44:21.814Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-15T16:44:43.964Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.962s coverage: 86.5% of statements [2023-03-15T16:44:43.964Z] FAIL [2023-03-15T16:44:44.551Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-15T16:44:44.611Z] $ docker stop --time=1 31a3f913c65741b9104d20c16ef8612dd1690f693aecee25af0ebd1022878c72 [2023-03-15T16:44:48.520Z] $ docker rm -f --volumes 31a3f913c65741b9104d20c16ef8612dd1690f693aecee25af0ebd1022878c72 [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-15T16:44:50.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:44:50.475Z] [2023-03-15T16:44:50.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:44:50.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:44:51.165Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:44:51.165Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:44:51.165Z] 04944245beec: Pulling fs layer [2023-03-15T16:44:51.165Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:44:51.165Z] 765212b225bb: Pulling fs layer [2023-03-15T16:44:51.165Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:44:51.165Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:44:51.165Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:44:51.165Z] f23df028b6ca: Waiting [2023-03-15T16:44:51.165Z] d65c8cfc05b1: Waiting [2023-03-15T16:44:51.165Z] 2437ff75d9bd: Waiting [2023-03-15T16:44:51.165Z] 765212b225bb: Waiting [2023-03-15T16:44:51.165Z] 04944245beec: Verifying Checksum [2023-03-15T16:44:51.165Z] 04944245beec: Download complete [2023-03-15T16:44:51.165Z] 765212b225bb: Verifying Checksum [2023-03-15T16:44:51.165Z] 765212b225bb: Download complete [2023-03-15T16:44:51.443Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:44:51.443Z] f23df028b6ca: Download complete [2023-03-15T16:44:51.443Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:44:51.443Z] d65c8cfc05b1: Download complete [2023-03-15T16:44:51.443Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:44:51.443Z] 699f458cf7ca: Download complete [2023-03-15T16:44:52.036Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:44:52.036Z] 8998bd30e6a1: Download complete [2023-03-15T16:44:54.655Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:44:54.655Z] 2437ff75d9bd: Download complete [2023-03-15T16:44:56.621Z] 8998bd30e6a1: Pull complete [2023-03-15T16:44:57.210Z] 04944245beec: Pull complete [2023-03-15T16:44:58.631Z] 699f458cf7ca: Pull complete [2023-03-15T16:44:58.905Z] 765212b225bb: Pull complete [2023-03-15T16:44:59.876Z] f23df028b6ca: Pull complete [2023-03-15T16:45:00.233Z] d65c8cfc05b1: Pull complete [2023-03-15T16:45:15.446Z] 2437ff75d9bd: Pull complete [2023-03-15T16:45:15.446Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:45:15.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:45:15.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:45:15.794Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-03-15T16:45:15.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T16:45:18.861Z] $ docker top 653a775b3f495f343a69dd87a05d3cb88c32c79528ab80d9b0ac6880d9aaae46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:19.794Z] ---> job-cost.sh [2023-03-15T16:45:19.794Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:19.794Z] INFO: No Stack... [2023-03-15T16:45:20.062Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:45:21.026Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:45:21.698Z] + cut -d, -f6 [2023-03-15T16:45:21.698Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-03-15T16:45:21.796Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [2023-03-15T16:45:21.800Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] did not exist. Created. [2023-03-15T16:45:21.800Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:45:22.536Z] /w/workspace/device-onvif-camera/1@tmp/durable-2eb3a34c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:45:23.230Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:45:23.264Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:45:23.857Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:45:23.872Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-266-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:45:23.963Z] $ docker stop --time=1 653a775b3f495f343a69dd87a05d3cb88c32c79528ab80d9b0ac6880d9aaae46 [2023-03-15T16:45:25.533Z] $ docker rm -f --volumes 653a775b3f495f343a69dd87a05d3cb88c32c79528ab80d9b0ac6880d9aaae46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:45:26.260Z] 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-15T16:45:28.145Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-266/archives ] [2023-03-15T16:45:28.145Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-266/archives [2023-03-15T16:45:28.145Z] total 16 [2023-03-15T16:45:28.145Z] drwxr-xr-x 3 root root 4096 Mar 15 16:27 . [2023-03-15T16:45:28.145Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:27 .. [2023-03-15T16:45:28.145Z] drwxr-xr-x 2 root root 4096 Mar 15 16:27 cost [2023-03-15T16:45:28.145Z] -rw-r--r-- 1 root root 91 Mar 15 16:27 cost.csv [2023-03-15T16:45:28.145Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-266/archives [2023-03-15T16:45:28.145Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-266/archives [2023-03-15T16:45:28.145Z] total 16 [2023-03-15T16:45:28.145Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:27 . [2023-03-15T16:45:28.145Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:27 .. [2023-03-15T16:45:28.145Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:27 cost [2023-03-15T16:45:28.145Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 15 16:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:28.470Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:29.357Z] ---> package-listing.sh [2023-03-15T16:45:29.357Z] ++ facter osfamily [2023-03-15T16:45:29.357Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:45:29.616Z] + OS_FAMILY=debian [2023-03-15T16:45:29.616Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-266 [2023-03-15T16:45:29.616Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:45:29.616Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:45:29.616Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:45:29.616Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:45:29.616Z] + '[' /w/workspace/undry_device-onvif-camera_PR-266 ']' [2023-03-15T16:45:29.616Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:45:29.616Z] + case "${OS_FAMILY}" in [2023-03-15T16:45:29.616Z] + dpkg -l [2023-03-15T16:45:29.616Z] + grep '^ii' [2023-03-15T16:45:29.616Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:45:29.616Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:45:29.616Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:45:29.616Z] + '[' /w/workspace/undry_device-onvif-camera_PR-266 ']' [2023-03-15T16:45:29.616Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-266/archives/ [2023-03-15T16:45:29.616Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-266/archives/ [Pipeline] echo [2023-03-15T16:45:29.655Z] 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-266/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:45:29.964Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:45:30.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:45:30.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:45:30.734Z] prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container [2023-03-15T16:45:30.770Z] $ 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-266/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-266 -v /w/workspace/undry_device-onvif-camera_PR-266:/w/workspace/undry_device-onvif-camera_PR-266:rw,z -v /w/workspace/undry_device-onvif-camera_PR-266@tmp:/w/workspace/undry_device-onvif-camera_PR-266@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-lftools-log-publisher:latest cat [2023-03-15T16:45:31.042Z] $ docker top 1320007ae3832d6eb43c6cca735c40951e5e173040024669074dbfc18551cc19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:45:31.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:45:31.736Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:45:32.050Z] + ls /var/log/sa-host [2023-03-15T16:45:32.050Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:45:32.180Z] provisioning config files... [2023-03-15T16:45:32.192Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-266@tmp/config5170567133606932346tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:45:32.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:32.553Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:45:32.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:32.983Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:45:33.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:33.331Z] ---> sudo-logs.sh [2023-03-15T16:45:33.331Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:45:33.416Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:33.730Z] ---> job-cost.sh [2023-03-15T16:45:33.730Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:33.730Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:45:33.730Z] INFO: Retrieving Stack Cost... [2023-03-15T16:45:34.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:45:34.559Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:45:34.604Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:34.917Z] ---> logs-deploy.sh [2023-03-15T16:45:34.917Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:34.917Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-266/1 [2023-03-15T16:45:34.917Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:45:35.855Z] Archives upload complete. [2023-03-15T16:45:35.855Z] INFO: archiving logs to Nexus