...
Code Block |
---|
[fornariclas12@ui-tier1 ~]$ eval `oidc-agent` Agent pid 16049 [fornariclas12@ui-tier1 ~]$ oidc-gen Enter short name for the account to configure: fornariclas12 [1] https://iam-test.indigo-datacloud.eu/ [2] https://iam.deep-hybrid-datacloud.eu/ [3] https://iam.extreme-datacloud.eu/ [4] https://b2access.eudat.eu/oauth2/ [5] https://b2access-integration.fz-juelich.de/oauth2 [6] https://unity.eudat-aai.fz-juelich.de/oauth2/ [7] https://unity.helmholtz-data-federation.de/oauth2/ [8] https://login.helmholtz-data-federation.de/oauth2/ [9] https://services.humanbrainproject.eu/oidc/ [10] https://accounts.google.com/ [11] https://aai.egi.eu/oidc/ [12] https://aai-dev.egi.eu/oidc [13] https://login.elixir-czech.org/oidc/ [14] https://oidc.scc.kit.edu/auth/realms/kit/ Issuer [https://iam-test.indigo-datacloud.eu/]: https://iam-t1-computing.cloud.cnaf.infn.it/ Space delimited list of scopes or 'max' [openid profile offline_access]: Registering Client ... Generating account configuration ... accepted To continue and approve the registered client visit the following URL in a Browser of your choice: https://iam-t1-computing.cloud.cnaf.infn.it/authorize?response_type=code&client_id=d70f9284-c371-4ce2-90e9-1cd3d6201329&redirect_uri=http://localhost:13481&scope=openid profile offline_access&access_type=offline&prompt=consent&state=0:2s4EBiNy_Z0a835JBiaw_cGG:33:L3RtcC9vaWRjLTRzMjdBOS9vaWRjLWFnZW50LjExMTY2&code_challenge_method=S256&code_challenge=cL1sKfZAgVO7rV5PGm5XXFKgPiM-Dbnj_Bf3BpzEoR4 /bin/xdg-open: line 881: www-browser: command not found /bin/xdg-open: line 881: links2: command not found /bin/xdg-open: line 881: elinks: command not found /bin/xdg-open: line 881: links: command not found Polling oidc-agent to get the generated account configuration ...success The generated account config was successfully added to oidc-agent. You don't have to run oidc-add. Enter encryption password for account configuration 'fornariclas12': Confirm encryption Password: [fornariclas12@ui-tier1 ~]$ oidc-token fornariclas12 eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkODFhNTQ5OC01ODlhLTQwYjItODJhMi04M2U2MjY3NTQwMDQiLCJpc3MiOiJodHRwczpcL1wvaWFtLXQxLWNvbXB1dGluZy5jbG91ZC5jbmFmLmluZm4uaXRcLyIsIm5hbWUiOiJGZWRlcmljbyBGb3JuYXJpIiwiZ3JvdXBzIjpbImZhemlhIiwiamxhYjEyIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImZmb3JuYXJpIiwib3JnYW5pc2F0aW9uX25hbWUiOiJ0MS1jb21wdXRpbmciLCJleHAiOjE2MjA5MDYxNDksImlhdCI6MTYyMDkwMjU0OSwianRpIjoiNjM0Y2VjNzMtMDAwMC00MGU0LTg5YjgtZjI2NjFjMGZiZmE3IiwiY2xpZW50X2lkIjoiZDcwZjkyODQtYzM3MS00Y2UyLTkwZTktMWNkM2Q2MjAxMzI5In0.irwbiCxdHZWOpyv1l9jbmGExeVl_gyB9fhHEnlSjbFOL4WV--vrh3E3pLu-e1FV8c23TexwbHvnJGEZxaOqVNJMO3VUaso2i0zIz2oPTsEmxJpa52goNTYrbRm2TRGErkAE0vaEqJbbI3wDoCJ_BPkdDLAT0YL5-AbHTkum8Ovs [fornariclas12@ui-tier1 ~]$ export AT=$(oidc-token fornariclas12) [fornariclas12@ui-tier1 ~]$ cat test.sub universe = vanilla executable = test.sh getenv = true log = test.log output = outfile.txt error = errors.txt should_transfer_files = YES when_to_transfer_output = ON_EXIT queue [fornariclas12@ui-tier1 ~]$ cat test.sh #!/bin/bash echo "this is a test by F. Fornari" | tee test-fornari export BEARER_TOKEN=$AT gfal-copy test-fornari https://xfer-archive.cr.cnaf.infn.it:8443/jlab12/test-fornari gfal-ls https://xfer-archive.cr.cnaf.infn.it:8443/jlab12 ls -lrth /storage/gpfs_data/class12vo/data/ gfal-rm https://xfer-archive.cr.cnaf.infn.it:8443/jlab12/test-fornari [fornariclas12@ui-tier1 ~]$ condor_submit -spool -name sn-0102 test.sub Submitting job(s). 1 job(s) submitted to cluster 15750247. [fornariclas12@ui-tier1 ~]$ watch condor_q -name sn-0102 15750247 [fornariclas12@ui-tier1 ~]$ condor_transfer_data -name sn-0102 15750247 Fetching data files... [fornariclas12@ui-tier1 ~]$ cat outfile.txt this is a test by F. Fornari test-fornari total 512 -rw-r-----+ 1 storm storm 29 May 13 15:29 test-fornari [fornariclas12@ui-tier1 ~]$ cat errors.txt [fornariclas12@ui-tier1 ~]$ cat test.log 000 (15750247.000.000) 05/13 15:28:44 Job submitted from host: <131.154.192.58:9618?addrs=131.154.192.58-9618&noUDP&sock=703648_945d_3> ... 001 (15750247.000.000) 05/13 15:29:29 Job executing on host: <131.154.208.195:9618?addrs=131.154.208.195-9618&noUDP&sock=14671_aa08_3> ... 006 (15750247.000.000) 05/13 15:29:30 Image size of job updated: 237380 0 - MemoryUsage of job (MB) 0 - ResidentSetSize of job (KB) ... 005 (15750247.000.000) 05/13 15:29:30 Job terminated. (1) Normal termination (return value 0) Usr 0 00:00:00, Sys 0 00:00:00 - Run Remote Usage Usr 0 00:00:00, Sys 0 00:00:00 - Run Local Usage Usr 0 00:00:00, Sys 0 00:00:00 - Total Remote Usage Usr 0 00:00:00, Sys 0 00:00:00 - Total Local Usage 136 - Run Bytes Sent By Job 544 - Run Bytes Received By Job 136 - Total Bytes Sent By Job 544 - Total Bytes Received By Job Partitionable Resources : Usage Request Allocated Cpus : 0.02 1 1 Disk (KB) : 25 1 3400414 Memory (MB) : 0 1 128 ... [fornariclas12@ui-tier1 ~]$ oidc-agent -k unset OIDC_SOCK; unset OIDCD_PID; echo Agent pid 16049 killed; |
...