Bug 1881572
Summary: | Review Request: golang-github-projectdiscovery-cdncheck - Filter to check for CDN IP addresses during port scanning | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fabian Affolter <mail> |
Component: | Package Review | Assignee: | Robert-André Mauchin 🐧 <zebob.m> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | package-review, zebob.m |
Target Milestone: | --- | Flags: | zebob.m:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-27 20:11:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1881562 | ||
Bug Blocks: | 1881363, 1881611 |
Description
Fabian Affolter
2020-09-22 17:29:24 UTC
- Bump to latest commit before import - Tests fail, Seems they need network access: Testing in: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build/src PATH: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build/bin:/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/cdncheck-19e1db650e26adfbd81f1e01c66633f7d1ab7e3c/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/projectdiscovery/cdncheck/version=0 -X github.com/projectdiscovery/cdncheck/version.commit=19e1db650e26adfbd81f1e01c66633f7d1ab7e3c -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/projectdiscovery/cdncheck github.com/projectdiscovery/cdncheck --- FAIL: TestCDNCheck (0.00s) cdncheck_test.go:12: Error Trace: cdncheck_test.go:12 Error: Expected nil, but got: &url.Error{Op:"Get", URL:"https://ipinfo.io/AS12222", Err:(*net.OpError)(0xc000072690)} Test: TestCDNCheck Messages: Could not create cdncheck client --- FAIL: TestScrapeRanges (0.00s) --- FAIL: TestScrapeRanges/cloudflare (0.00s) ranges_test.go:27: Error Trace: ranges_test.go:27 Error: Expected nil, but got: &url.Error{Op:"Get", URL:"https://www.cloudflare.com/ips-v4", Err:(*net.OpError)(0xc0000727d0)} Test: TestScrapeRanges/cloudflare Messages: Could not scrape cloudflare --- FAIL: TestScrapeRanges/incapsula (0.00s) ranges_test.go:31: Error Trace: ranges_test.go:31 Error: Expected nil, but got: &url.Error{Op:"Post", URL:"https://my.incapsula.com/api/integration/v1/ips", Err:(*net.OpError)(0xc0000728c0)} Test: TestScrapeRanges/incapsula Messages: Could not scrape incapsula --- FAIL: TestScrapeRanges/akamai (0.00s) ranges_test.go:35: Error Trace: ranges_test.go:35 Error: Expected nil, but got: &url.Error{Op:"Get", URL:"https://ipinfo.io/AS12222", Err:(*net.OpError)(0xc0000729b0)} Test: TestScrapeRanges/akamai Messages: Could not scrape akamai --- FAIL: TestScrapeRanges/sucuri (0.00s) ranges_test.go:39: Error Trace: ranges_test.go:39 Error: Expected nil, but got: &url.Error{Op:"Get", URL:"https://ipinfo.io/AS30148", Err:(*net.OpError)(0xc000072aa0)} Test: TestScrapeRanges/sucuri Messages: Could not scrape sucuri FAIL exit status 1 FAIL github.com/projectdiscovery/cdncheck 0.008s Thanks for your input. %changelog * Mon Nov 16 10:01:13 CET 2020 Fabian Affolter <mail> - 0-0.2.20201116git5bc57c3 - Tests requires network access (#1881572) - Update to latest commit Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=56756864 Updated files: Spec URL: https://fab.fedorapeople.org/packages/SRPMS/golang-github-projectdiscovery-cdncheck.spec https://fab.fedorapeople.org/packages/SRPMS/golang-github-projectdiscovery-cdncheck-0-0.2.20201116git5bc57c3.fc33.src.rpm + Please package published version instead of a git commit: https://github.com/projectdiscovery/cdncheck/releases/tag/v0.0.1 - License ok - Latest version packaged - Builds in mock - No rpmlint errors - Conforms to Packaging Guidelines Package approved. Thanks for the review. (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-projectdiscovery-cdncheck |