Comments (7)
I've made several changes to that spec last week. Might this be it?
from examples.
No it was running on the same spec/model. Is there a history repository of nightly builds anywhere I can test it against?
from examples.
In these cases I use git bisect.
from examples.
As good an excuse for me to finally learn git bisect as any! I think the last time I would have updated tla2tools.jar was when working on this PR, so June 6th of this year.
from examples.
Okay, found it! Not a problem with TLC, but with the community modules. I had also changed the community modules jar locally (never change two things at once, gah). When using the https://github.com/tlaplus/CommunityModules/releases/tag/202304140044 release instead of the latest https://github.com/tlaplus/CommunityModules/releases/tag/202307191312 release, specifications/ewd998/EWD998ChanID.cfg fails with this error (exit code 13, a liveness failure):
Implied-temporal checking--satisfiability problem has 2 branches.
Computing initial states...
Finished computing initial states: 1 distinct state generated at 2023-08-07 17:26:27.
Error: Action property line 138, col 17 to line 138, col 29 of module EWD998Chan is violated.
Error: The behavior up to this point is:
State 1: <Initial predicate>
/\ color = ( n1 :> "black" @@
n2 :> "black" @@
n3 :> "black" @@
n4 :> "black" @@
n5 :> "black" )
/\ inbox = ( n1 :> <<>> @@
n2 :> <<>> @@
n3 :> <<>> @@
n4 :>
<< [ color |-> "black",
type |-> "tok",
q |-> 0,
vc |-> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) ] >> @@
n5 :> <<>> )
/\ active = (n1 :> FALSE @@ n2 :> FALSE @@ n3 :> FALSE @@ n4 :> FALSE @@ n5 :> FALSE)
/\ passes = 0
/\ counter = (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0)
/\ clock = ( n1 :> (n1 :> 1 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n2 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n3 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n4 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n5 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) )
State 2: <PassToken(n4) line 129, col 3 to line 148, col 57 of module EWD998ChanID>
/\ color = ( n1 :> "black" @@
n2 :> "black" @@
n3 :> "black" @@
n4 :> "white" @@
n5 :> "black" )
/\ inbox = ( n1 :> <<>> @@
n2 :> <<>> @@
n3 :> <<>> @@
n4 :> <<>> @@
n5 :>
<< [ color |-> "black",
type |-> "tok",
q |-> 0,
vc |-> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 1 @@ n5 :> 0) ] >> )
/\ active = (n1 :> FALSE @@ n2 :> FALSE @@ n3 :> FALSE @@ n4 :> FALSE @@ n5 :> FALSE)
/\ passes = 1
/\ counter = (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0)
/\ clock = ( n1 :> (n1 :> 1 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n2 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n3 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) @@
n4 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 1 @@ n5 :> 0) @@
n5 :> (n1 :> 0 @@ n2 :> 0 @@ n3 :> 0 @@ n4 :> 0 @@ n5 :> 0) )
2 states generated, 2 distinct states found, 0 states left on queue.
The depth of the complete state graph search is 2.
Finished in 01s at (2023-08-07 17:26:27)
Trace exploration spec path: ewd998/EWD998ChanID_TTrace_1691443586.tla
If this isn't a bug then feel free to close.
from examples.
You closed it => not a bug?
from examples.
I probably would not have reported this as a bug if I knew the cause originally. At most it is an example of how declaring dependency version of the community modules might be important.
from examples.
Related Issues (20)
- Submodules vs. copying specs into the repo HOT 2
- `ctl[p]` is never equal `"req"` in specifications/SpecifyingSystems/Liveness properties HOT 6
- ChangRoberts!TypeOK refers to non-existing PlusCal label "n2" HOT 7
- Add Raft spec with Apalache type annotations HOT 4
- More termination detection algorithms HOT 6
- Concurrent increments to a shared variable HOT 1
- Case study to share: Specifying and Verifying SDP Protocol based Zero Trust Architecture HOT 2
- Index examples in manifest.json HOT 13
- Models failing smoke testing HOT 6
- EWD998 spec fails parsing due to name collision between TLAPS and Community Modules HOT 1
- Specs failing proof validation HOT 13
- Enforce correspondence between manifest.json and README.md table in CI HOT 3
- Parameterize version of TLA+ tools used during CI run HOT 2
- Question about the specification of reliable broadcast algorithm by Bracha & Toueg (1985) HOT 8
- CI workflow fails on ubuntu HOT 7
- Do not suppress TLC output HOT 3
- ERROR in specifications/SpecifyingSystems/Composing/CompositeFIFO.tla: In evaluation, the identifier in is either undefined or not an operator. HOT 1
- Remove deadlock flag in manifest.json in favor of `CHECK_DEADLOCK` in config file HOT 4
- Install TLA+ unicode converter into gitpod and codespaces HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.