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

Race conditions in parallel Apalache runtimes #120

Closed
rnbguy opened this issue Nov 4, 2021 · 0 comments
Closed

Race conditions in parallel Apalache runtimes #120

rnbguy opened this issue Nov 4, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rnbguy
Copy link
Member

rnbguy commented Nov 4, 2021

While running our integration tests in parallel, we noticed (#111 (comment)) some unexpected behaviors from Apalache.

This has been confirmed by Apalache team.

This is due to SANY - tlaplus/tlaplus#688.

$ cat run-sany.sh 
#!/bin/sh
java -cp tla2tools.jar tla2sany.SANY T.tla
$ seq 1 10 | parallel ./run-sany.sh
****** SANY2 Version 2.1 created 24 February 2014

Parsing file /Users/igor/Downloads/T.tla
Parsing file /private/var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Integers.tla
Parsing file /private/var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Naturals.tla
Semantic processing of module Naturals
Semantic processing of module Integers
Semantic processing of module T

****** SANY2 Version 2.1 created 24 February 2014

Parsing file /Users/igor/Downloads/T.tla
Parsing file /private/var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Integers.tla
Parsing file /private/var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Naturals.tla
Semantic processing of module Naturals
Semantic processing of module Integers
Semantic processing of module T
Encountered an exception while attempt to validate /var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Naturals.tla - /var/folders/42/77j16l715bd5k68fffptzgvw0000gn/T/Naturals.tla (No such file or directory)
@rnbguy rnbguy added the bug Something isn't working label Nov 4, 2021
@rnbguy rnbguy closed this as completed in a351c2f Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant