From nobody Mon May 9 14:48:42 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EC5B01ACD046 for ; Mon, 9 May 2022 14:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KxkZL3kltz4VVG for ; Mon, 9 May 2022 14:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 57C57131A6 for ; Mon, 9 May 2022 14:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 249Emgnj024582 for ; Mon, 9 May 2022 14:48:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 249EmgP4024581 for ports-bugs@FreeBSD.org; Mon, 9 May 2022 14:48:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263881] java/openjdk17-jre Exception: Thread CPU time measurement is not supported Date: Mon, 09 May 2022 14:48:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: me@indgy.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652107722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w4K97SPv5+bK2bmCDz+MN8yyasozV3JVqK/FFHcyJho=; b=vM7qGA0Zdhwr8tmIm1g1Ru0m+7tYSadykwE4NgG7gQyXQeClOFiLWyxkveNU6WNfxlaReZ zxipKSlsdCFFwUOkSebqz9nHdBNY1cH3Ev2OtzSKLbfaKcjlaaj9/FcVLRCFKvMyoe4N1M oEi3IDmmasGR8fs1todINe1XaSQq0D4el8k2FmqpRsCoSiaXMiLfYE9otzNfop8cAtmZWD TqNmpIOyFI5gT4j00nk7vOm+4ZEEa5Qzlsk3liHVwxKtozBQN2SUX4bpieJQEmYhBn6/H8 dv+e7tqf/oAFu6LgphLU1RlSZjzYrkumdr9TfZEY53Q0rxA7f1tdMjmlFbnGPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652107722; a=rsa-sha256; cv=none; b=sQqjH8PUk3YIlnCkB0qBQDPSqM5fkeenBFYs461FOvPQp4Bz2IrPf27QmRjq/XNkUSkOAz g3hck0ivpBayXnCEY3rv2fNfkf6s7al8ua20QUQ5Tvwgj7Ik8dSjULVZFNClZjb4Yv72sk uQedkiXJ10JefhtovZlP+GwhPs6mnIz59c8knLHdJ8ewmPVv+ttpykL+ch/STz3wo1RMXE qStx4Dw0n4ihESedYd5AGGG+0hPEzVR83QH6Ef/7DGkqQUKjGxSJyMo9vChuXiFmEvmkYP OvwTRowGuU4B+gTM42rN3mPHY8ycqtlroR9SmdTQESeMa59kP6du/AhrbNDZqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263881 Bug ID: 263881 Summary: java/openjdk17-jre Exception: Thread CPU time measurement is not supported Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: me@indgy.uk Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org Using OpenJDK17-JRE with GoCD Server (Zip version) from here: https://download.gocd.org/binaries/22.1.0-13913/generic/go-server-22.1.0-13= 913.zip GoCD is a CI/CD server. GoCD Server fails to run correctly when running a job in a Pipeline. Downgrading to OpenJDK11-JRE fixes the issue, the above error no longer appears. The following error seems to be the culprit. java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported. at java.management/sun.management.ThreadImpl.verifyThreadCpuTime(Unknown Sourc= e) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unkno= wn Source) at jdk.management/com.sun.management.internal.HotSpotThreadImpl.getThreadCpuTi= me(Unknown Source) at java.management/sun.management.ThreadImpl.getThreadCpuTime(Unkno= wn Source) at com.thoughtworks.go.server.service.support.DaemonThreadStatsCollector.captu= reStats(DaemonThreadStatsCollector.java:33) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run= Impl(JMSMessageListenerAdapter.java:82) at com.thoughtworks.go.server.messaging.activemq.JMSMessageListenerAdapter.run= (JMSMessageListenerAdapter.java:63) at java.base/java.lang.Thread.run(Unknown Source) Please drop me an email if you want me to setup an reproducable example. Thank you --=20 You are receiving this mail because: You are the assignee for the bug.=