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

Order of logs lines sometimes is messed up #88

Closed
grigorye opened this issue Jun 3, 2023 · 1 comment · Fixed by #87 or #89
Closed

Order of logs lines sometimes is messed up #88

grigorye opened this issue Jun 3, 2023 · 1 comment · Fixed by #87 or #89
Labels
bug Something isn't working

Comments

@grigorye
Copy link
Contributor

grigorye commented Jun 3, 2023

$ orchard --version
orchard version 0.7.0-60e564d

Steps to reproduce:

orchard create vm v --startup-script 'for i in $(seq 1 100); do echo "$i."; done'
...
orchard logs vm v

Expected output (as long as #87 is not merged):

1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33.34.35.36.37.38.39.40.41.42.43.44.45.46.47.48.49.50.51.52.53.54.55.56.57.58.59.60.61.62.63.64.65.66.67.68.69.70.71.72.73.74.75.76.77.78.79.80.81.82.83.84.85.86.87.88.89.90.91.92.93.94.95.96.97.98.99.100.$

Examples of actual output (which differ from case to case):

100.1.2.3.12.13.14.15.16.17.18.19.20.21.4.22.23.24.25.26.27.28.29.30.31.5.32.33.34.35.36.37.38.39.40.41.6.42.43.44.45.46.47.48.49.50.51.7.52.53.54.55.56.57.58.59.60.61.8.62.63.64.65.66.67.68.69.70.71.9.72.73.74.75.76.77.78.79.80.81.10.82.83.84.85.86.87.88.89.90.91.11.92.93.94.95.96.97.98.99.$
1.67.2.68.11.77.78.12.13.79.80.14.15.81.16.82.83.17.84.18.19.85.20.86.69.3.21.87.88.22.89.23.24.90.91.25.92.26.93.27.94.28.29.95.96.30.70.4.31.97.32.98.99.33.34.100.35.36.37.38.39.40.5.71.41.42.43.44.45.46.47.48.49.50.72.6.51.52.53.54.55.56.57.58.59.60.73.7.61.62.63.64.65.66.74.8.75.9.76.10.$

Notes

What's interesting, is that if the number of lines is not that big, it is not reproducible:

$ orchard-local create vm v --startup-script 'for i in $(seq 1 10); do echo "$i."; done'
$ orchard logs vm v
1.2.3.4.5.6.7.8.9.10.$
@edigaryev edigaryev linked a pull request Jun 4, 2023 that will close this issue
@grigorye
Copy link
Contributor Author

grigorye commented Jun 4, 2023

Hey folks, if I get it correctly, #87 should fix gluing, but not this (ordering of lines) issue - it's a different one. As far as I recall, it's still reproducible even after fixing gluing, sorry.

@edigaryev edigaryev reopened this Jun 4, 2023
@fkorotkov fkorotkov added the bug Something isn't working label Jun 5, 2023
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
3 participants