Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/llvm-elfabi/preserve-dates-stub.test fails on Windows #48261

Closed
zmodem opened this issue Jan 28, 2021 · 2 comments
Closed

tools/llvm-elfabi/preserve-dates-stub.test fails on Windows #48261

zmodem opened this issue Jan 28, 2021 · 2 comments
Labels
bugzilla Issues migrated from bugzilla

Comments

@zmodem
Copy link
Collaborator

zmodem commented Jan 28, 2021

Bugzilla Link 48917
Resolution FIXED
Resolved on Feb 03, 2021 14:25
Version trunk
OS Linux
Blocks #48246
CC @tstellar
Fixed by commit(s) 771b359 e2d822c

Extended Description

See discussion on https://reviews.llvm.org/D92902 which introduced the problem.

On my machine it fails as below. It appears 'touch' does not like the date for whatever reason. This means I'm not able to build 12.0.0-rc1.


Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test (39967 of 42071)
******************** TEST 'LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test' FAILED ********************
Script:

: 'RUN: at line 3'; llvm-elfabi --elf c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so --emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 4'; touch -m -t 197001010000 c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp
: 'RUN: at line 5'; llvm-elfabi --elf c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so --emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp --write-if-changed
: 'RUN: at line 6'; ls -l c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp | c:\src\llvm_package_1200-rc1\build32_stage0\bin\filecheck.exe --allow-unused-prefixes=false c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi\preserve-dates-tbe.test

Exit Code: 1

Command Output (stdout):

$ ":" "RUN: at line 3"
$ "llvm-elfabi" "--elf" "c:\src\llvm_package_1200-rc1\llvm-project\llvm\test\tools\llvm-elfabi/Inputs/gnu_hash.so" "--emit-tbe=c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"
$ ":" "RUN: at line 4"
$ "touch" "-m" "-t" "197001010000" "c:\src\llvm_package_1200-rc1\build32_stage0\test\tools\llvm-elfabi\Output\preserve-dates-tbe.test.tmp"

command stderr:

touch: invalid date format `197001010000'

error: command failed with exit status: 1

--


Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..


Failed Tests (2):
LLVM :: tools/llvm-elfabi/preserve-dates-stub.test
LLVM :: tools/llvm-elfabi/preserve-dates-tbe.test

@zmodem
Copy link
Collaborator Author

zmodem commented Feb 2, 2021

This was fixed in 771b359

Tom, can you please merge this to the 12.x branch?

@tstellar
Copy link
Collaborator

tstellar commented Feb 3, 2021

Merged: e2d822c

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla
Projects
None yet
Development

No branches or pull requests

2 participants