Closed
Bug 1190169
Opened 9 years ago
Closed 9 years ago
AV scan fails trying to allocate memory
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: rail, Unassigned)
References
Details
[taskcluster] taskId: LSh96sagR1ORn9PVvkOvhQ, workerId: i-aaf4546f
rail/funsize-update-generator@sha256:ee2f95d6d2c5de2d2dfc6a04d4ed4c01c0e448bc19634ae4fb94c7361877c9b7 exists in the cache.
+ test http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-01-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar
+ test http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-02-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar
+ test linux
+ test en-ZA
+ test nightly
+ ARTIFACTS_DIR=/home/worker/artifacts
+ mkdir -p /home/worker/artifacts
+ /home/worker/bin/funsize.py --artifacts-dir /home/worker/artifacts --from-mar http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-01-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar --to-mar http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-02-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar --platform linux --locale en-ZA --signing-cert /home/worker/keys/nightly.pubkey
2015-08-02 11:58:21,850 - INFO - Refreshing clamav db...
2015-08-02 11:58:21,851 - DEBUG - attempt 1/5
2015-08-02 11:58:21,852 - DEBUG - retry: Calling <function <lambda> at 0x7f0b4ae2da28> with args: (), kwargs: {}, attempt #1
2015-08-02 11:58:53,245 - INFO - Done.
2015-08-02 11:58:53,258 - DEBUG - attempt 1/5
2015-08-02 11:58:53,259 - DEBUG - retry: Calling <function download at 0x7f0b4ae2d2a8> with args: ('https://hg.mozilla.org/mozilla-central/raw-file/default/tools/update-packaging/unwrap_full_update.pl',), kwargs: {'dest': '/tmp/tmpIaXKHW/unwrap_full_update.pl', 'mode': 493}, attempt #1
2015-08-02 11:58:53,259 - DEBUG - Downloading https://hg.mozilla.org/mozilla-central/raw-file/default/tools/update-packaging/unwrap_full_update.pl to /tmp/tmpIaXKHW/unwrap_full_update.pl
2015-08-02 11:58:53,272 - INFO - Starting new HTTPS connection (1): hg.mozilla.org
2015-08-02 11:58:54,147 - DEBUG - "GET /mozilla-central/raw-file/default/tools/update-packaging/unwrap_full_update.pl HTTP/1.1" 200 None
2015-08-02 11:58:54,149 - DEBUG - chmod 755 /tmp/tmpIaXKHW/unwrap_full_update.pl
2015-08-02 11:58:54,153 - DEBUG - attempt 1/5
2015-08-02 11:58:54,153 - DEBUG - retry: Calling <function download at 0x7f0b4ae2d2a8> with args: ('https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mar',), kwargs: {'dest': '/tmp/tmpIaXKHW/mar', 'mode': 493}, attempt #1
2015-08-02 11:58:54,154 - DEBUG - Downloading https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mar to /tmp/tmpIaXKHW/mar
2015-08-02 11:58:54,156 - INFO - Starting new HTTPS connection (1): ftp.mozilla.org
2015-08-02 11:58:54,297 - DEBUG - "GET /pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mar HTTP/1.1" 200 19539
2015-08-02 11:58:54,300 - DEBUG - chmod 755 /tmp/tmpIaXKHW/mar
2015-08-02 11:58:54,302 - DEBUG - attempt 1/5
2015-08-02 11:58:54,303 - DEBUG - retry: Calling <function download at 0x7f0b4ae2d2a8> with args: ('https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mbsdiff',), kwargs: {'dest': '/tmp/tmpIaXKHW/mbsdiff', 'mode': 493}, attempt #1
2015-08-02 11:58:54,304 - DEBUG - Downloading https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mbsdiff to /tmp/tmpIaXKHW/mbsdiff
2015-08-02 11:58:54,306 - INFO - Starting new HTTPS connection (1): ftp.mozilla.org
2015-08-02 11:58:54,426 - DEBUG - "GET /pub/mozilla.org/firefox/nightly/latest-mozilla-central/mar-tools/linux64/mbsdiff HTTP/1.1" 200 12837
2015-08-02 11:58:54,429 - DEBUG - chmod 755 /tmp/tmpIaXKHW/mbsdiff
2015-08-02 11:58:54,432 - DEBUG - attempt 1/5
2015-08-02 11:58:54,432 - DEBUG - retry: Calling <function download at 0x7f0b4ae2d2a8> with args: ('http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-01-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar', '/tmp/tmpIaXKHW/firefox-41.0a2.en-ZA.linux-i686.complete.mar'), kwargs: {}, attempt #1
2015-08-02 11:58:54,433 - DEBUG - Downloading http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/08/2015-08-01-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar to /tmp/tmpIaXKHW/firefox-41.0a2.en-ZA.linux-i686.complete.mar
2015-08-02 11:58:54,435 - INFO - Starting new HTTP connection (1): download.cdn.mozilla.net
2015-08-02 11:58:54,484 - DEBUG - "GET /pub/mozilla.org/firefox/nightly/2015/08/2015-08-01-00-40-05-mozilla-aurora-l10n/firefox-41.0a2.en-ZA.linux-i686.complete.mar HTTP/1.1" 200 56089341
2015-08-02 11:58:55,966 - INFO - Checking /tmp/tmpIaXKHW/firefox-41.0a2.en-ZA.linux-i686.complete.mar signature
2015-08-02 11:58:55,982 - DEBUG - index_offset is 56087355
2015-08-02 11:58:55,985 - DEBUG - first offset is 392
2015-08-02 11:58:55,985 - DEBUG - reading signatures
2015-08-02 11:58:55,985 - DEBUG - file_size: 56089341 bytes
2015-08-02 11:58:55,986 - DEBUG - 1 signatures present
2015-08-02 11:58:55,987 - DEBUG - signature data at 28 to 284
2015-08-02 11:58:55,987 - DEBUG - ver 1 signature 256 bytes at 20
2015-08-02 11:58:55,988 - DEBUG - 1 additional sections present
2015-08-02 11:58:55,988 - DEBUG - 1 104 bytes: 'firefox-mozilla-aurora\x0041.0a2\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2015-08-02 11:58:57,692 - INFO - Verification OK (RSA-PKCS1-SHA1)
2015-08-02 11:58:58,016 - DEBUG - Unwrapping /tmp/tmpIaXKHW/firefox-41.0a2.en-ZA.linux-i686.complete.mar
2015-08-02 11:59:08,218 - INFO - AV-scanning /tmp/tmpIaXKHW/from ...
Traceback (most recent call last):
File "/home/worker/bin/funsize.py", line 238, in <module>
main()
File "/home/worker/bin/funsize.py", line 189, in main
sh.clamscan("-r", unpack_dir, _timeout=600, _err_to_out=True)
File "/usr/lib/python2.7/dist-packages/sh.py", line 769, in __call__
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/lib/python2.7/dist-packages/sh.py", line 330, in __init__
self.wait()
File "/usr/lib/python2.7/dist-packages/sh.py", line 334, in wait
self._handle_exit_code(self.process.wait())
File "/usr/lib/python2.7/dist-packages/sh.py", line 348, in _handle_exit_code
self.process.stderr
sh.ErrorReturnCode_2:
RAN: '/usr/bin/clamscan -r /tmp/tmpIaXKHW/from'
STDOUT:
LibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).
LibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans
LibClamAV Error: cli_parse_add(): Problem adding signature (3).
LibClamAV Error: Problem parsing database at line 185
LibClamAV Error: Can't load daily.ldb: Can't allocate memory
LibClamAV Error: cli_tgzload: Can't load daily.ldb
LibClamAV Error: Can't load /var/lib/clamav/daily.cld: Malformed database
ERROR: Malformed database
----------- SCAN SUMMARY -----------
Known viruses: 1501144
Engine version: 0.98.7
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 6.393 sec (0 m 6 s)
STDERR:
[taskcluster] Unsuccessful task run with exit code: 1 completed in 54.853 seconds
Reporter | ||
Comment 1•9 years ago
|
||
I haven't seen these for ages
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•