Apologies if this is being tracked elsewhere, but I started getting these
failures when building the toolchain on Linux.

I triggered this by running utils/update-checkout --clone &&
utils/build-toolchain local.swift on a fresh machine. All other tests pass (
8457/8459).

Any thoughts as to why this may have started happening? Should I file a
ticket a JIRA about this?

On an unrelated note: is there a preset, or extra commands, to skip running
the tests when building the toolchain?

Thanks.

===

UNRESOLVED: Swift(linux-x86_64) :: SIL/parse_stdlib_0.sil (8443 of 8459)
******************** TEST 'Swift(linux-x86_64) :: SIL/parse_stdlib_0.sil'
FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/swift-development/llvm/utils/lit/lit/run.py", line 166, in
execute_test
    result = test.config.test_format.execute(test, self.lit_config)
  File "/swift-development/swift/test/lit.cfg", line 175, in execute
    result = super(SwiftTest, self).execute(test, litConfig)
  File "/swift-development/llvm/utils/lit/lit/formats/shtest.py", line 12,
in execute
    self.execute_external)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 734, in
executeShTest
    res = _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 680, in
_runShTest
    res = executeScript(test, litConfig, tmpBase, script, execdir)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 470, in
executeScript
    timeout=litConfig.maxIndividualTestTime)
  File "/swift-development/llvm/utils/lit/lit/util.py", line 216, in
executeCommand
    out,err = p.communicate(input=input)
  File "/usr/lib/python2.7/subprocess.py", line 799, in communicate
    return self._communicate(input)
  File "/usr/lib/python2.7/subprocess.py", line 1417, in _communicate
    stderr = ''.join(stderr)
MemoryError


********************
UNRESOLVED: Swift(linux-x86_64) :: SIL/parse_stdlib_7.sil (8444 of 8459)
******************** TEST 'Swift(linux-x86_64) :: SIL/parse_stdlib_7.sil'
FAILED ********************
Exception during script execution:
Traceback (most recent call last):
  File "/swift-development/llvm/utils/lit/lit/run.py", line 166, in
execute_test
    result = test.config.test_format.execute(test, self.lit_config)
  File "/swift-development/swift/test/lit.cfg", line 175, in execute
    result = super(SwiftTest, self).execute(test, litConfig)
  File "/swift-development/llvm/utils/lit/lit/formats/shtest.py", line 12,
in execute
    self.execute_external)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 734, in
executeShTest
    res = _runShTest(test, litConfig, useExternalSh, script, tmpBase)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 680, in
_runShTest
    res = executeScript(test, litConfig, tmpBase, script, execdir)
  File "/swift-development/llvm/utils/lit/lit/TestRunner.py", line 470, in
executeScript
    timeout=litConfig.maxIndividualTestTime)
  File "/swift-development/llvm/utils/lit/lit/util.py", line 224, in
executeCommand
    err = convert_string(err)
  File "/swift-development/llvm/utils/lit/lit/util.py", line 22, in
convert_string
    return to_string(bytes.decode('utf-8'))
  File "/swift-development/llvm/utils/lit/lit/util.py", line 18, in
to_string
    return to_bytes(bytes)
  File "/swift-development/llvm/utils/lit/lit/util.py", line 13, in to_bytes
    return str.encode('utf-8')
MemoryError
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to