[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] osstest: stop anacron service
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <iwj@xxxxxxxxxxxxxx>
- From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Date: Tue, 5 Apr 2022 16:18:27 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; 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=mVMkoMk91yFrrJtOSVoTMkVMqr0s1tTnW4QpC202swo=; b=kzBUlmSWil6PWP/me/N76+4vUWowFQIk5aZcc5Xi6AiX64NwAHTRGwLZpL9xQfZ30V+YgQATAOH/GKfnnwokc3dUB40uzDgFYOffHKV8+NA1VOIoM0EyyPYStDltAizEcwtTplAlnh/fUhI5aJE/AginiJWwMThIhzonysjHBLKoiIKsromOMj7LmcvF47drUMw4SQBhA5jU91zo4QmE14+pib5tSGAXuvma/n2St/db88XqnYMGmPbDOlxyc6vbZeW94yFPRBums1Z4ZImRn3T/TtOj2YGQKJS/0p+O4ROq40Dx6mX03Cl3Ds4NGbb2EMXiDPQBURBVb4RhYPKT/A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W22MflDArLbeX+Jyyfn2pVTQgFq5XibnbQtrtx8P9rUvexa3koyruXlpeDb3H/nmMl2nSvKT33flO/3DPS3GiMcqbz8+0QcZbIWaQJnBvavHx1SuzQUJ9QmRjDdO0/kouYZq87DfAto7lz5N8oZhjaXvlbxlq35XhXgD8YToNRVI62kfxvhi88O1Fw+6J8Dw0TDvRX5NGKsllFWMUiFJ6jJbbVZlg9jaXidXJHB9wqH+7SKZSpYkGLocq/DuY+claw4KzBQee+nIoOOI2hP1imibdGPhF+yfaT+1qdZXAAj5V2MflcMmq3Ov+iS391RH7+BGtmoaMtWr5eCy+JKaSw==
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Delivery-date: Tue, 05 Apr 2022 14:19:02 +0000
- Ironport-data: A9a23:r/c7/KyWYHv0AbeCC0N6t+c1xirEfRIJ4+MujC+fZmUNrF6WrkUOx 2sXXmzSPP2DNzeneoxwa43k/RsAuMTUnNdlG1E5qiAxQypGp/SeCIXCJC8cHc8zwu4v7q5Dx 59DAjUVBJlsFhcwnj/0bv656yMUOZigHtIQMsadUsxKbVIiGX9JZS5LwbZj2NY02YXhWWthh PupyyHhEA79s9JLGjp8B5Kr8HuDa9yr5Vv0FnRnDRx6lAe2e0s9VfrzFonoR5fMeaFGH/bSe gr25OrRElU1XfsaIojNfr7TKiXmS1NJVOSEoiI+t6OK2nCuqsGuu0qS2TV1hUp/0l20c95NJ Nplq5CIclcFL/Xwwt9Mc15yIi85OIsdweqSSZS/mZT7I0zudnLtx7NlDV0sPJ1e8eFyaY1M3 aVGcnZXNEnF3r/ohuLgIgVvrp1LwM3DJoQQt2sm1TjEJf0nXYrCU+PB4towMDIY2JAWQK+EP pRxhTxHTCzARENIJwYsEr0Ptt2RhynFdGVgtwfAzUYwyzeKl1EguFT3C/LUZd6iVchThlyfp G/N4yL+GB5yHMySz3+J/2yhgsfLnDjnQ8QCGbug7PlojVaPgGsJB3UruUCT+KfjzBTkApQGd hJSqnFGQbUOGFKDUNXFZE2UsSa45CVNe516IuN97SfW8/+Bi+qGPVQsQjlEYd0gkcY5Qz02y 1OE9+/U6SxTXK69EizEqOrNxd+mEW1MdDJZO3dYJecQy4O7yLzfmC4jWTqK/ESdqtTuUQ/9z DmRxMTVr+VC1JVbv0lXEL2uvt5NmnQrZlNujuk0djj8hu+cWGJDT9b1gbQ8xawdRLt1tnHb4 BA5dzG2tYji962lmi2XW/kqF7q0/fuDOzC0qQcxQ8h5rWzxpiL4Idw4DNRCyKFBaJtsldjBO hG7hO+szMULYCvCgVFfPepd9PjGPYC/TI+4B5g4n/JFY4RrdR/vwc2dTRX44owZq2B1yftXE c7CKa6EVC9GYYw6nGveb7pMitcDm3FhrV4/sLimlnxLJ5LFPyXLIVrEWXPTBt0EAFSs+1yPq YsAbpfUkH2ykoTWO0HqzGLaFnhTRVATDpHqsc1HMOmFJwttAmY6DPHNh7gmfuRYc259z48kI lnVtpdk9WfC
- Ironport-hdrordr: A9a23:QD+iHKEuTIS3fojkpLqFAJHXdLJyesId70hD6qkvc3Jom52j+P xGws526faVslYssHFJo6HmBEDmewKgyXcV2/hqAV7GZmjbUQSTXfhfBOfZsljd8k7Fh5BgPM VbAtBD4bTLZDAQ56uKg3jbLz9J+qj5zEnCv5a5854Cd3APV0k2hD0JdjpzX3cGDTVuNN4cLt 6x98BHrz2vdTA+adm6PGAMW6zmq8fQnJzrTBYaD1p/gTP+xg+A2frfKVy1zx0eWzRAzfML9n XEqRXw4uGGv+ugwhHR+mfP59B9mcfnyPFEGMuQ4/JlYgnEu0KNXsBMSreCtDc6rKWG70srqs DFp1MaM8F6+xrqDxWIiCqo/zOl/Ccl6nfkx1Pdq2Dku9bFSDUzDNcErZ5FczPCgnBQ8O1U4e Zu5Sa0ppBXBRTPkGDW/N7TTSxnkUKyvD4LjfMTtXpCSoETAYUh4LD3xHklXqvoIRiKqbzOSI JVfYHhDbdtABmnhknizyZSKIfGZAVxIv+EKnJyz/B9nQIm3kyR9HFotPD3rk1wha7VdKM0lN gsSp4Y742mbvVmGp6VV91xN/deNAT2MGDx2SSpUBHaKJ0=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Just disabling cron in rc.d is not enough. There's also anacron which
will get invoked during startup, and since apt-compat has a delay of
up to 30min it can be picked up by the leak detector if the test
finishes fast enough:
LEAKED [process 14563 sleep] process: root 14563 14556 0 07:49 ?
00:00:00 sleep 1163
LEAKED [process 14550 /bin/sh] process: root 14550 2264 0 07:49 ?
00:00:00 /bin/sh -c run-parts --report /etc/cron.daily
LEAKED [process 14551 run-parts] process: root 14551 14550 0 07:49 ?
00:00:00 run-parts --report /etc/cron.daily
LEAKED [process 14556 /bin/sh] process: root 14556 14551 0 07:49 ?
00:00:00 /bin/sh /etc/cron.daily/apt-compat
From:
http://logs.test-lab.xenproject.org/osstest/logs/169015
To prevent this disable anacron like it's done for cron.
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
Osstest/TestSupport.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 8103ea1d..8e3e5f68 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -3151,6 +3151,8 @@ sub host_install_postboot_complete ($) {
target_core_dump_setup($ho);
target_cmd_root($ho, "update-rc.d cron disable");
target_cmd_root($ho, "service cron stop");
+ target_cmd_root($ho, "update-rc.d anacron disable");
+ target_cmd_root($ho, "service anacron stop");
target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
target_https_mitm_proxy_setup($ho);
}
--
2.35.1
|