Skip to content

Conversation

@wyrzyk
Copy link
Contributor

@wyrzyk wyrzyk commented Oct 11, 2019

No description provided.

//ignore
}
val executeDuration = Duration.between( start, Instant.now())
Assert.assertTrue(executeDuration < Duration.ofSeconds(10))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😲

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that sshj sends SSH_MSG_CHANNEL_CLOSE as per https://www.ietf.org/rfc/rfc4254.txt but it doesn't receive the same message in response. Sshj waits 30 seconds before timeout. I need to Wireshark it to get more details.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And it seems to be related to our "Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)" problem. Ubuntu doesn't close the connection and doesn't kill the apt process.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh, that's super interesting
I'm glad you found it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants