facebookincubator / below

A time traveling resource monitor for modern Linux systems
Apache License 2.0
1.08k stars 61 forks source link

thread 'test::test_dump_queue_content' panicked at below/dump/src/test.rs:1056:5: #8232

Open danie-dejager opened 5 months ago

danie-dejager commented 5 months ago

I got the following running cargo test building with rustc 1.78.0:

assertion `left == right` failed
  left: Array [Object {"Datetime": String("1970-01-01 00:00:00"), "Interface": String("eth0"), "Queue": String("0"), "RawStats": String("stat1=1000, stat2=2000"), "RxBytes": String("10 B/s"), "RxCount": String("100/s"), "Timestamp": String("0"), "TxBytes": String("20 B/s"), "TxCount": String("200/s"), "TxMissedTx": String("50"), "TxUnmaskInterrupt": String("5")}, Object {"Datetime": String("1970-01-01 00:00:00"), "Interface": String("eth0"), "Queue": String("1"), "RawStats": String("stat1=2000, stat2=1000"), "RxBytes": String("20 B/s"), "RxCount": String("200/s"), "Timestamp": String("0"), "TxBytes": String("10 B/s"), "TxCount": String("100/s"), "TxMissedTx": String("5"), "TxUnmaskInterrupt": String("50")}, Object {"Datetime": String("1970-01-01 00:00:00"), "Interface": String("lo"), "Queue": String("1"), "RawStats": String("stat1=2000, stat2=1000"), "RxBytes": String("20 B/s"), "RxCount": String("200/s"), "Timestamp": String("0"), "TxBytes": String("10 B/s"), "TxCount": String("100/s"), "TxMissedTx": String("5"), "TxUnmaskInterrupt": String("50")}]
 right: Array [Object {"Datetime": String("1969-12-31 16:00:00"), "Interface": String("eth0"), "Queue": String("0"), "RawStats": String("stat1=1000, stat2=2000"), "RxBytes": String("10 B/s"), "RxCount": String("100/s"), "Timestamp": String("0"), "TxBytes": String("20 B/s"), "TxCount": String("200/s"), "TxMissedTx": String("50"), "TxUnmaskInterrupt": String("5")}, Object {"Datetime": String("1969-12-31 16:00:00"), "Interface": String("eth0"), "Queue": String("1"), "RawStats": String("stat1=2000, stat2=1000"), "RxBytes": String("20 B/s"), "RxCount": String("200/s"), "Timestamp": String("0"), "TxBytes": String("10 B/s"), "TxCount": String("100/s"), "TxMissedTx": String("5"), "TxUnmaskInterrupt": String("50")}, Object {"Datetime": String("1969-12-31 16:00:00"), "Interface": String("lo"), "Queue": String("1"), "RawStats": String("stat1=2000, stat2=1000"), "RxBytes": String("20 B/s"), "RxCount": String("200/s"), "Timestamp": String("0"), "TxBytes": String("10 B/s"), "TxCount": String("100/s"), "TxMissedTx": String("5"), "TxUnmaskInterrupt": String("50")}]

clang = 15.0.7. Running on Amazon's al2023.

Let me know if you need anything more.