Re: Request permission for running tools/run-swarmed.py tests

7 views
Skip to first unread message

Erik Staab

unread,
Jun 7, 2021, 10:32:54 AMJun 7
to Fāng-ruì Sòng, infra-dev
+infra-dev -luci-dev

On Thu, Jun 3, 2021 at 2:19 PM 'Fāng-ruì Sòng' via luci-dev <luci...@chromium.org> wrote:
Hello,

I occasionally help the toolchain team on improving the llvm-project
toolchain but don't personally have a @chromium.org account.
E.g. https://reviews.llvm.org/D103372#2794795 I need rnk@'s help on
verifying my compiler change's impact for Chrome.

I think it'd be good for me to do testing by myself. Therefore I
followed the instructions on
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/win_cross.md#running-tests-on-swarming
The test command fails because presumably I don't have permission.
May I request the permission?

% python tools/swarming_client/auth.py login
--service=https://isolateserver.appspot.com --auth-no-local-webserver
Logged in as 'user:mas...@google.com'.
% python tools/swarming_client/auth.py login
--service=https://chromium-swarm.appspot.com --auth-no-local-webserver
Logged in as 'user:mas...@google.com'.

("Right now, only users Chromium team members can use the
infrastructure directly. Note that the whole Swarming infrastructure
is open source so if any other company would help to recreate the same
infrastructure internally, send us a note at
swarmi...@googlegroups.com")


BTW: on https://www.chromium.org/developers/testing/isolated-testing/for-swes#TOC-Login-on-the-services
> That's it. Feel free to contact the team at iso...@chromium.org for any chromium open source specific questions.

iso...@chromium.org appears to be stale now. It should be luci...@chromium.org


% tools/run-swarmed.py out/win base_unittests
/usr/local/google/home/maskray/chromium/src/tools/luci-go/isolate
check -i out/win/base_unittests.isolate
Isolate:   /usr/local/google/home/maskray/chromium/src/out/win/base_unittests.isolate
Isolated:
Config:    map[]
Path:      map[EXECUTABLE_SUFFIX:]
If you get authentication errors, follow:
  https://www.chromium.org/developers/testing/isolated-testing/for-swes#TOC-Login-on-the-services
Uploading to isolate server, this can take a while...
[I2021-06-03T13:57:30.335779-07:00 3542213 0 client.go:108] context
metadata: client.ContextMetadata{ActionID:"946d9550-1dbe-4b0d-a5de-15fda80b289e",
InvocationID:"c4cd9a88-46c3-43cb-8814-2edf145ca15f",
CorrelatedInvocationID:"", ToolName:"isolate", ToolVersion:""}
isolate: original error: interactive login is required

goroutine 1:
#0 go.chromium.org/luci/auth/auth.go:61 - auth.init()
#1 runtime/proc.go:6309 - runtime.doInit()
#2 runtime/proc.go:6286 - runtime.doInit()
#3 runtime/proc.go:208 - runtime.main()
  reason: failed to get PerRPCCredentials

#4 runtime/asm_amd64.s:1371 - runtime.goexit()
Traceback (most recent call last):
  File "tools/run-swarmed.py", line 313, in <module>
    sys.exit(main())
  File "tools/run-swarmed.py", line 260, in main
    '-isolate', isolate, '-dump-json', archive_json
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['tools/luci-go/isolate',
'archive', '-cas-instance', 'chromium-swarm', '-isolate',
'out/win/base_unittests.isolate', '-dump-json',
'out/win/base_unittests.archive.json']' returned non-zero exit status
1


--
宋方睿

--
You received this message because you are subscribed to the Google Groups "luci-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to luci-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/luci-dev/CAFP8O3JWgee9-8%2B8bz%2B1enX2%2B2bdHZwLPR2MFTNjoAN0vqnTyw%40mail.gmail.com.

Takuto Ikuta

unread,
Jun 7, 2021, 9:20:34 PMJun 7
to Erik Staab, Fāng-ruì Sòng, infra-dev
Hi Fangrui,

Could you follow
to login the service with your google.com account?

Instruction on www.chromium.org is currently stale.

You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAN60yaKwXkjboWqrUEr4ikG%2BjX3LM-XNtcdqPFry5%3DaY7rzV9Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages