Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866455 - [guru] dev-python/scrapy-2.6.2 fails tests
Summary: [guru] dev-python/scrapy-2.6.2 fails tests
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-25 05:28 UTC by Agostino Sarubbo
Modified: 2022-08-25 05:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,371.21 KB, text/plain)
2022-08-25 05:28 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-25 05:28:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/scrapy-2.6.2 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-25 05:28:48 UTC
Created attachment 800914 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-25 05:28:49 UTC
Error(s) that match a know pattern:


    return (yield download_func(request=request, spider=spider))
  File "/var/tmp/portage/dev-python/scrapy-2.6.2/work/scrapy-2.6.2/scrapy/core/downloader/middleware.py", line 49, in process_request
 \'downloader/exception_type_count/builtins.ValueError\': 1,
 \'downloader/request_bytes\': 200,
 \'downloader/request_count\': 1,
 \'downloader/request_method_count/GET\': 1,
 \'elapsed_time_seconds\': 0.206069,
 \'finish_reason\': \'finished\',
 \'finish_time\': datetime.datetime(2022, 8, 24, 23, 8, 47, 60537),
 \'log_count/DEBUG\': 1,
 \'log_count/ERROR\': 1,
 \'log_count/INFO\': 10,
 \'memusage/max\': 112271360,
 \'memusage/startup\': 112271360,
 \'scheduler/dequeued/memory\': 1,
 \'scheduler/dequeued\': 1,
 \'scheduler/enqueued/memory\': 1,
 \'scheduler/enqueued\': 1,
 \'scrapy.downloadermiddlewares.cookies.CookiesMiddleware\',
 \'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware\',
 \'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware\',
 \'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware\',
 \'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware\',
 \'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware\',
 \'scrapy.downloadermiddlewares.redirect.RedirectMiddleware\',
 \'scrapy.downloadermiddlewares.stats.DownloaderStats\']
 \'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware\',
 \'scrapy.extensions.logstats.LogStats\']
 \'scrapy.extensions.memusage.MemoryUsage\',
 \'scrapy.extensions.telnet.TelnetConsole\',
 \'scrapy.spidermiddlewares.depth.DepthMiddleware\']
 \'scrapy.spidermiddlewares.offsite.OffsiteMiddleware\',
 \'scrapy.spidermiddlewares.referer.RefererMiddleware\',
 \'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware\',
 \'start_time\': datetime.datetime(2022, 8, 24, 23, 8, 46, 854468)}
'
2022-08-25 01:08:46 [scrapy.core.engine] INFO: Spider opened
2022-08-25 01:08:46 [scrapy.core.scraper] ERROR: Error downloading <GET http://::1>
2022-08-25 01:08:46 [scrapy.crawler] INFO: Overridden settings:
2022-08-25 01:08:46 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2022-08-25 01:08:46 [scrapy.extensions.telnet] INFO: Telnet Password: 86d29912478aafd6
2022-08-25 01:08:46 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2022-08-25 01:08:46 [scrapy.middleware] INFO: Enabled downloader middlewares:
2022-08-25 01:08:46 [scrapy.middleware] INFO: Enabled extensions:
2022-08-25 01:08:46 [scrapy.middleware] INFO: Enabled item pipelines:
2022-08-25 01:08:46 [scrapy.middleware] INFO: Enabled spider middlewares:
2022-08-25 01:08:46 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.epollreactor.EPollReactor
2022-08-25 01:08:46 [scrapy.utils.log] INFO: Versions: lxml 4.9.1.0, libxml2 2.10.0, cssselect 1.1.0, parsel 1.6.0, w3lib 2.0.1, Twisted 22.4.0, Python 3.9.13 (main, Aug 11 2022, 08:55:02) - [GCC 12.1.1 20220625], pyOpenSSL 22.0.0 (OpenSSL 1.1.1q  5 Jul 2022), cryptography 37.0.4, Platform Linux-5.10.133-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.35
2022-08-25 01:08:47 [scrapy.core.engine] INFO: Closing spider (finished)
2022-08-25 01:08:47 [scrapy.core.engine] INFO: Spider closed (finished)
2022-08-25 01:08:47 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
E           twisted.trial.unittest.FailTest: "'downloader/exception_type_count/twisted.internet.error.DNSLookupError': 1," not in '2022-08-25 01:08:46 [scrapy.utils.log] INFO: Scrapy 2.6.2 started (bot: scrapybot)
FAILED tests/test_crawler.py::CrawlerProcessSubprocess::test_ipv6_default_name_resolver
FAILED tests/test_spider.py::CrawlSpiderTest::test_process_request_instance_method
Traceback (most recent call last):
ValueError: invalid hostname: :
[\'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware\',
[\'scrapy.extensions.corestats.CoreStats\',
[\'scrapy.spidermiddlewares.httperror.HttpErrorMiddleware\',
[]
{\'RETRY_ENABLED\': False}
{\'downloader/exception_count\': 1,