Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] RTT --deadline option issue

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] RTT --deadline option issue


Chronological Thread 
  • From: Mark Feit <>
  • To: Szymon Trocha <>, Thomas Tsagklas <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] RTT --deadline option issue
  • Date: Thu, 21 Mar 2024 12:39:24 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=internet2.edu; dmarc=pass action=none header.from=internet2.edu; dkim=pass header.d=internet2.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pUaVy7sKfM83t6RjTEq96T2UDaiiBZmeJUYL4/4Lba4=; b=gQkea6T62x5QlxUUGMk7H3LYOCWf+g8B3SIHaRB4z7MhEEtGhUb2uWx16734DaDaDREQH6xO21W25RranzVxiK67/IRgDzCmaG/y7qSsMLDhQAM6CctujdLHHRt/z7OZz0aLWiIwz4dtMUbcBNjqnlUfzyjEEgUiX8OnhBSIc7GiaSIyxjbFqjTHPsfZw2H0OVRUiKyvDjee4u5M1iVWeENcdKOx9j8mPrAxgV/JTiF1Dk2MF1lXAYTpXpOLgEV4EN/+dSzXoiyI7xVXqJJd3GVRKGuOA0gO6UBorlImom+40h5eBxlXZjTUosWomwU8PCXD3J8ACYUAdAa+6b7GDw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T58maoxiK4Y5ic4RK9WLr6tW/+06svlL6cSAQZ+iY+3zM/eZS04RnKmGp6f3WBRrcBaF/Vr9Ci0pT3X6weat9sDO72XuPNpxwSId8PPavIh0pAXQWHiVqOeL0eTaWtgQgjKqt7CnL2MNsKXb7zLB5ETBolfhbMZGzTSY75vpHOjfjVICOrJcwZhnw7swRPczOEkDaSJ2sABjwS37LOk7QFGBoEPFQXgqZUKFFFRPf/xwOjCPJWvrIXB4+7+SvbHcQ/EXI8L9WNra2l4RvD3+4hpH3obaevaDqfTFptGXHxgZuNzUvpuxDGhEjcGZIjmqLJN/JzDbOXOrBfpCR1EA4A==

Szymon Trocha writes:

I was able to replicate the issue so I opened a report in Github https://github.com/perfsonar/pscheduler/issues/1423

That helps and I was able to find the problem.  This one’s fun.

When pScheduler’s ping plugin was first written, ping accepted 20.0 as a value for the deadline switch.  At some point, they changed how the value was parsed changed and 20.0 became invalid, causing ping to exit with a status of 1.  The systems where I tested this were running the older version and Thomas and Szymon’s had the newer one.  One quirk of ping is that it exits 1 whether there was a genuine problem or if the remote host didn’t respond.  The plugin was taking an exit status of 1 as the latter and returning 100% packet loss, which is a reasonable thing to do if the arguments are all valid.

I’ll add code to the next release to make the plugin able to tell the difference between no answer and actual errors.

This may also be related to https://github.com/perfsonar/pscheduler/issues/1422

I wrote that yesterday while experimenting with this problem.  It’s unrelated, and would have caused test failures with a “program took too long to run” error.  That’ll be fixed in the next release, too.

--Mark

 




Archive powered by MHonArc 2.6.24.

Top of Page