Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'], chrootPath='/var/lib/mock/f40-build-2599124-63005/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'], chrootPath='/var/lib/mock/f40-build-2599124-63005/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d2oyaN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bindman-dns-webhook-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bindman-dns-webhook-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bindman-dns-webhook-1.0.2 + rm -rf /builddir/build/BUILD/bindman-dns-webhook-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bindman-dns-webhook-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/bindman-dns-webhook-1.0.2/vendor + [[ ! -e /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin' + export GOPATH=/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook ]] ++ dirname /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + install -m 0755 -vd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x' + ln -fs /builddir/build/BUILD/bindman-dns-webhook-1.0.2 /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + cd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i59kwc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 + cd bindman-dns-webhook-1.0.2 + cd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/labbsr0x/bindman-dns-webhook -b /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin -s /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build -o golang-github-labbsr0x-bindman-dns-webhook-devel.file-list -O /builddir/build/BUILD/bindman-dns-webhook-1.0.2 -V 1.0.2-10.fc40 -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/labbsr0x/bindman-dns-webhook + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5zy5ea + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + LDFLAGS=' -X github.com/labbsr0x/bindman-dns-webhook/version=1.0.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/labbsr0x/bindman-dns-webhook -b /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin -s /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build -V 1.0.2-10.fc40 -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src PATH: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/labbsr0x/bindman-dns-webhook/version=1.0.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/labbsr0x/bindman-dns-webhook github.com/labbsr0x/bindman-dns-webhook/src/client time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{ A A}'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{ A A}'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:10:19-04:00" level=info msg="Record to check: '&{test A A}'" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/client 4.228s github.com/labbsr0x/bindman-dns-webhook/src/client time="2024-03-23T07:14:01-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{ A A}'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{ A A}'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{test A A}'" time="2024-03-23T07:14:02-04:00" level=info msg="Record to check: '&{test A A}'" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/client 4.607s github.com/labbsr0x/bindman-dns-webhook/src/hook time="2024-03-23T07:33:12-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:33:12-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:33:13-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc000194720}" time="2024-03-23T07:33:13-04:00" level=info msg="200 Response sent. Payload: []types.DNSRecord{types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}}" time="2024-03-23T07:33:13-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc000194e70}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc0001956e0}" time="2024-03-23T07:33:13-04:00" level=info msg="200 Response sent. Payload: &types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}" time="2024-03-23T07:33:13-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc000195d40}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc0001f4420}" time="2024-03-23T07:33:13-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc0001f49c0}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaac1210828 54 [] false map[] map[] map[] 0xc0001f4f30}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:33:13-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaac1210828 54 [] false map[] map[] map[] 0xc0001f5470}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc0001f5ad0}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xaaaaaac17bdb50)}" time="2024-03-23T07:33:13-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaac1210828 44 [] false map[] map[] map[] 0xc000208090}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaac1210828 17 [] false map[] map[] map[] 0xc0002086f0}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc0001ac730)}" time="2024-03-23T07:33:13-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaac1210828 54 [] false map[] map[] map[] 0xc000208c90}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:33:13-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaac1210828 54 [] false map[] map[] map[] 0xc0002091d0}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaac1226120 0 [] false map[] map[] map[] 0xc000209830}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xaaaaaac17bdb50)}" time="2024-03-23T07:33:13-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaac1210828 44 [] false map[] map[] map[] 0xc000209dd0}" time="2024-03-23T07:33:13-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaac1210828 17 [] false map[] map[] map[] 0xc000222450}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc0001ac910)}" time="2024-03-23T07:33:13-04:00" level=info msg="200 Response sent. Payload: " time="2024-03-23T07:33:13-04:00" level=info msg="200 Response sent. Payload: hook.test{Message:\"Hello world\"}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (400): error; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"error\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:33:13-04:00" level=error msg="ERROR (500): An internal server error occurred, please contact the system administrator.; \n Inner error: %!s()" time="2024-03-23T07:33:13-04:00" level=info msg="500 Response sent. Payload: &types.Error{Message:\"An internal server error occurred, please contact the system administrator.\", Code:500, Details:[]string(nil), Err:error(nil)}" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook 7.290s github.com/labbsr0x/bindman-dns-webhook/src/hook time="2024-03-23T07:37:46-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:37:46-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:37:46-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00021c690}" time="2024-03-23T07:37:46-04:00" level=info msg="200 Response sent. Payload: []types.DNSRecord{types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}}" time="2024-03-23T07:37:46-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00021cde0}" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:37:46-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:46-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00021d650}" time="2024-03-23T07:37:46-04:00" level=info msg="200 Response sent. Payload: &types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}" time="2024-03-23T07:37:46-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00021dcb0}" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:37:46-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:46-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00026c390}" time="2024-03-23T07:37:46-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00026c930}" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:46-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:37:46-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae1eee828 54 [] false map[] map[] map[] 0xc00026cea0}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:37:47-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae1eee828 54 [] false map[] map[] map[] 0xc00026d3e0}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc00026da40}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xaaaaaae249bb50)}" time="2024-03-23T07:37:47-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae1eee828 44 [] false map[] map[] map[] 0xc000280000}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae1eee828 17 [] false map[] map[] map[] 0xc000280660}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc0002226e0)}" time="2024-03-23T07:37:47-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae1eee828 54 [] false map[] map[] map[] 0xc000280c00}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:37:47-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae1eee828 54 [] false map[] map[] map[] 0xc000281140}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae1f04120 0 [] false map[] map[] map[] 0xc0002817a0}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xaaaaaae249bb50)}" time="2024-03-23T07:37:47-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae1eee828 44 [] false map[] map[] map[] 0xc000281d40}" time="2024-03-23T07:37:47-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae1eee828 17 [] false map[] map[] map[] 0xc00029a3c0}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc0002228c0)}" time="2024-03-23T07:37:47-04:00" level=info msg="200 Response sent. Payload: " time="2024-03-23T07:37:47-04:00" level=info msg="200 Response sent. Payload: hook.test{Message:\"Hello world\"}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (400): error; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"error\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2024-03-23T07:37:47-04:00" level=error msg="ERROR (500): An internal server error occurred, please contact the system administrator.; \n Inner error: %!s()" time="2024-03-23T07:37:47-04:00" level=info msg="500 Response sent. Payload: &types.Error{Message:\"An internal server error occurred, please contact the system administrator.\", Code:500, Details:[]string(nil), Err:error(nil)}" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook 9.461s github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics 6.546s github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics 6.037s github.com/labbsr0x/bindman-dns-webhook/src/types time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{t.test.com 0.0.0.0 A}'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ 0.0.0.0 A}'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ A}'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:49:02-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:49:02-04:00" level=error msg=Test time="2024-03-23T07:49:02-04:00" level=error msg="ERROR (0): ; \n Inner error: %!!(MISSING)s()" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/types 5.629s github.com/labbsr0x/bindman-dns-webhook/src/types time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{t.test.com 0.0.0.0 A}'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ 0.0.0.0 A}'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ A}'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:51:37-04:00" level=info msg="Record to check: '&{ }'" time="2024-03-23T07:51:37-04:00" level=error msg=Test time="2024-03-23T07:51:37-04:00" level=error msg="ERROR (0): ; \n Inner error: %!!(MISSING)s()" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/types 4.019s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-labbsr0x-bindman-dns-webhook-devel-1.0.2-10.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nsPiVx + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + cp -pr /builddir/build/BUILD/bindman-dns-webhook-1.0.2/README.md /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NdWCSl + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + cp -pr /builddir/build/BUILD/bindman-dns-webhook-1.0.2/LICENSE /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/labbsr0x/bindman-dns-webhook/src/client) = 1.0.2-10.fc40 golang(github.com/labbsr0x/bindman-dns-webhook/src/hook) = 1.0.2-10.fc40 golang(github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics) = 1.0.2-10.fc40 golang(github.com/labbsr0x/bindman-dns-webhook/src/types) = 1.0.2-10.fc40 golang-github-labbsr0x-bindman-dns-webhook-devel = 1.0.2-10.fc40 golang-ipath(github.com/labbsr0x/bindman-dns-webhook) = 1.0.2-10.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/go-errors/errors) golang(github.com/gorilla/mux) golang(github.com/labbsr0x/goh/gohclient) golang(github.com/prometheus/client_golang/prometheus) golang(github.com/prometheus/client_golang/prometheus/promhttp) golang(github.com/sirupsen/logrus) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-10.fc40.riscv64 Wrote: /builddir/build/RPMS/golang-github-labbsr0x-bindman-dns-webhook-devel-1.0.2-10.fc40.noarch.rpm Child return code was: 0