{"action":"opened","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/3924","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/3924/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/3924/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/3924/events","html_url":"https://github.com/mesonbuild/meson/issues/3924","id":343341182,"node_id":"MDU6SXNzdWUzNDMzNDExODI=","number":3924,"title":"Full environment written to testlog.txt","user":{"login":"dpirch","id":5123752,"node_id":"MDQ6VXNlcjUxMjM3NTI=","avatar_url":"https://avatars3.githubusercontent.com/u/5123752?v=4","gravatar_id":"","url":"https://api.github.com/users/dpirch","html_url":"https://github.com/dpirch","followers_url":"https://api.github.com/users/dpirch/followers","following_url":"https://api.github.com/users/dpirch/following{/other_user}","gists_url":"https://api.github.com/users/dpirch/gists{/gist_id}","starred_url":"https://api.github.com/users/dpirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpirch/subscriptions","organizations_url":"https://api.github.com/users/dpirch/orgs","repos_url":"https://api.github.com/users/dpirch/repos","events_url":"https://api.github.com/users/dpirch/events{/privacy}","received_events_url":"https://api.github.com/users/dpirch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-21T17:11:20Z","updated_at":"2018-07-21T17:11:20Z","closed_at":null,"author_association":"NONE","body":"Since 0.46.1, the full environment is written to testlog.txt in front of the command of each test that was run. For example (on linux):\r\n```\r\nLog of Meson test suite run on 2018-07-21T18:47:34.296824\r\n\r\n1/1 test                                    OK       0.00 s \r\n\r\n--- command ---\r\nGJS_DEBUG_TOPICS='JS ERROR;JS LOG' LESSOPEN='| /usr/bin/lesspipe %s' J2SDKDIR='/usr/lib/jvm/java-8-oracle' USER='dpirch' LANGUAGE='en' LC_TIME='en_IE.UTF-8' XDG_SEAT='seat0' SSH_AGENT_PID='2840' XDG_SESSION_TYPE='x11' J2REDIR='/usr/lib/jvm/java-8-oracle/jre' SHLVL='1' QT4_IM_MODULE='xim' HOME='/home/dpirch' OLDPWD='/home/dpirch/projects/solotest' DESKTOP_SESSION='cinnamon' GTK_MODULES='gail:atk-bridge' XDG_SEAT_PATH='/org/freedesktop/DisplayManager/Seat0' LC_MONETARY='en_IE.UTF-8' DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus' CINNAMON_VERSION='3.6.7' COLORTERM='truecolor' GNOME_KEYRING_CONTROL='1' MANDATORY_PATH='/usr/share/gconf/cinnamon.mandatory.path' QT_QPA_PLATFORMTHEME='gtk2' LOGNAME='dpirch' GTK_IM_MODULE='ibus' _='/usr/bin/ninja' DEFAULTS_PATH='/usr/share/gconf/cinnamon.default.path' GTK_OVERLAY_SCROLLING='0' XDG_SESSION_ID='c2' TERM='xterm-256color' GNOME_DESKTOP_SESSION_ID='this-is-deprecated' PATH='/home/dpirch/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin' GDM_LANG='en' DERBY_HOME='/usr/lib/jvm/java-8-oracle/db' PAPERSIZE='a4' SESSION_MANAGER='local/nymeria:@/tmp/.ICE-unix/2774,unix/nymeria:/tmp/.ICE-unix/2774' S_COLORS='auto' GNOME_TERMINAL_SCREEN='/org/gnome/Terminal/screen/67188179_4958_4751_8918_afad66197aad' LC_ADDRESS='en_IE.UTF-8' XDG_RUNTIME_DIR='/run/user/1000' XDG_SESSION_PATH='/org/freedesktop/DisplayManager/Session0' DISPLAY=':0' LANG='en_US.UTF-8' XDG_CURRENT_DESKTOP='X-Cinnamon' LC_TELEPHONE='en_IE.UTF-8' LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' XDG_SESSION_DESKTOP='cinnamon' XMODIFIERS='@im=ibus' GNOME_TERMINAL_SERVICE=':1.113' XAUTHORITY='/home/dpirch/.Xauthority' SSH_AUTH_SOCK='/run/user/1000/keyring/ssh' XDG_GREETER_DATA_DIR='/var/lib/lightdm-data/dpirch' LC_NAME='en_IE.UTF-8' SHELL='/bin/bash' QT_ACCESSIBILITY='1' GDMSESSION='cinnamon' LESSCLOSE='/usr/bin/lesspipe %s %s' LC_MEASUREMENT='en_IE.UTF-8' GJS_DEBUG_OUTPUT='stderr' GPG_AGENT_INFO='/run/user/1000/gnupg/S.gpg-agent:0:1' LC_IDENTIFICATION='en_IE.UTF-8' XDG_VTNR='7' QT_IM_MODULE='ibus' JAVA_HOME='/usr/lib/jvm/java-8-oracle' PWD='/home/dpirch/projects/solotest/builddir' CLUTTER_IM_MODULE='xim' XDG_DATA_DIRS='/usr/share/gnome:/usr/share/cinnamon:/home/dpirch/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop' XDG_CONFIG_DIRS='/etc/xdg/xdg-cinnamon:/etc/xdg' LC_NUMERIC='en_IE.UTF-8' LC_PAPER='en_IE.UTF-8' VTE_VERSION='5202' /home/dpirch/projects/solotest/builddir/demotest \r\n-------\r\n\r\n\r\nOK:         1\r\nFAIL:       0\r\nSKIP:       0\r\nTIMEOUT:    0\r\n```\r\nThis is a lot of useless information, also printed to stdout by `ninja test` when a test fails. Instead, only the environment set via the 'env' kwarg of a test should be included, as was the case in 0.46.0 and before."}}
{"actor":{"display_login":"dpirch"}}