textToJSON is not correctly parsing 1.16-style hex colors.

Code I'm using (the second line of the motd of mslc.mc-complex.com):
import motdParser from '@sfirew/minecraft-motd-parser';
console.log(motdParser.textToJSON(' \u00a7r\u00a7fs\u1d0b\u028f\u0299\u029f\u1d0f\u1d04\u1d0b\u00a7r \u00a7b\u00a7r\u00a7k\u00a7li\u00a7r\u00a7#F1AEFFi\u00a7r\u00a7bi\u00a7r \u00a7#F1AEFF#1 1.21 \u1d20\u1d00\u0274\u026a\u029f\u029f\u1d00 \u0274\u1d07\u1d1b\u1d21\u1d0f\u0280\u1d0b \u00a7r\u00a7b\u00a7r\u00a7k\u00a7li\u00a7r\u00a7#F1AEFFi\u00a7r\u00a7bi\u00a7r    \u00a7f\u0493\u1d00\u1d04\u1d1b\u026a\u1d0f\u0274s\u00a7r'));

Output it gives:
{
    "text": "",
    "extra": [
        {
            "text": " ",
            "extra": []
        },
        {
            "text": "sᴋʏʙʟᴏᴄᴋ",
            "extra": [],
            "color": "#FFFFFF"
        },
        {
            "text": " ",
            "extra": []
        },
        {
            "text": "i",
            "extra": [],
            "obfuscated": true,
            "bold": true
        },
        {
            "text": "§#F1AEFFi",
            "extra": []
        },
        {
            "text": "i",
            "extra": [],
            "color": "#55FFFF"
        },
        {
            "text": " §#F1AEFF#1 1.21 ᴠᴀɴɪʟʟᴀ ɴᴇᴛᴡᴏʀᴋ ",
            "extra": []
        },
        {
            "text": "i",
            "extra": [],
            "obfuscated": true,
            "bold": true
        },
        {
            "text": "§#F1AEFFi",
            "extra": []
        },
        {
            "text": "i",
            "extra": [],
            "color": "#55FFFF"
        },
        {
            "text": "    ",
            "extra": []
        },
        {
            "text": "ғᴀᴄᴛɪᴏɴs",
            "extra": [],
            "color": "#FFFFFF"
        }
    ]
}

You can see that in certain parts of the output the text of the component contains the section sign symbol and the hex color as plain text instead of as a color. I tried it on your website and that displays it correctly, so I'm unsure if I'm just doing something wrong or if it's a bug.

This parser only supports the original Minecraft format. Minecraft vanilla does not support formats like §#F1AEFFi, so it won't parse them.
When pinging a Minecraft server, the original  MOTD format will be parsed into a different format. So this parser can understand what is it.


QuantumChain Full Update

This pull request includes changes to transform Bitcoin Core code into QuantumChain, including quantum-resistant encryption and premine features.

Updated files and applied additional modifications to ensure compliance with QuantumChain requirements.


Loading ky-universal from node loads browser.js instead of index.js

Versions information
Node 14
<EMAIL_ADDRESS><EMAIL_ADDRESS>Description
This is a sample project demonstrating the problem. Inside the package.json file we specify that the .js files are treated as esm modules.
However running the simple test.js sample:
import ky from 'ky-universal'

const parsed = await ky('https://httpbin.org/json').json()
console.log(parsed)

Fails i.e:

The issue seems that it seems to be loading the browser.js variant instead of the index.js which polyfills for the node environment.
E.g. if we explictely import the index.js variant that does the polyfill'ing it works as intended:
import ky from './node_modules/ky-universal/index.js'

const parsed = await ky('https://httpbin.org/json').json()
console.log(parsed)

The problem seem to be related to the changes done in the latest version.
Since the test samples will work perfectly fine with the previous versions of ky and ky-universal.
Checking out the branch previous-versions that use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

From what i can see changing the exports.import field in the package.json to the following:

seems to solve the problem:

From what i can see changing the exports.import field in the package.json to the following:

seems to solve the problem:

Thanks for reporting and for the test case. It seems I just slightly misread the docs: https://nodejs.org/api/packages.html#packages_package_entry_points

Thanks for reporting and for the test case. It seems I just slightly misread the docs: https://nodejs.org/api/packages.html#packages_package_entry_points

Released a fix: https://github.com/sindresorhus/ky-universal/releases/tag/v0.9.1

Released a fix: https://github.com/sindresorhus/ky-universal/releases/tag/v0.9.1

Yup i tested the latest version here locally and it works fine 👍

Yup i tested the latest version here locally and it works fine 👍


Unable to load any of {libcudnn_cnn.so.9.1.0, libcudnn_cnn.so.9.1, libcudnn_cnn.so.9, libcudnn_cnn.so}

i install CUDA Toolkit 11.8  and cuDNN 9.5.0  and all requirements files
but error show
Suppressing numeral and symbol tokens
Unable to load any of {libcudnn_cnn.so.9.1.0, libcudnn_cnn.so.9.1, libcudnn_cnn.so.9, libcudnn_cnn.so}
Invalid handle. Cannot load symbol cudnnCreateConvolutionDescriptor

any help

Why  not?

i install CUDA Toolkit 11.8 and cuDNN 9.5.0 and all requirements files
but error show
Suppressing numeral and symbol tokens
Unable to load any of {libcudnn_cnn.so.9.1.0, libcudnn_cnn.so.9.1, libcudnn_cnn.so.9, libcudnn_cnn.so}
Invalid handle. Cannot load symbol cudnnCreateConvolutionDescriptor

any help

i got the same error in google colab, although i didn't install anything

Then who installed that? I didn't do that kind of thing! I was just waiting patiently!

Alright, everybody, let's have a meeting!

i try it on google colab without installing CUDA Toolkit 11.8 and cuDNN 9.5.0 show same error, i run colab notebook and i get same error, i try it on lighting ai with different gpu like L4 and L40s same error

the error show when i click Translate in webui

ok it fixed thanks


Azure OpenAI is missing support for Managed Identity

The current implementation of Azure OpenAI does only support using API keys. We recently introduced support for Managed Identity in our OpenAI SDKs.
Happy to submit a PR :)

done in #922


Sizes attribute has an hard-coded value

Steps to reproduce the behavior:
Use the srcset to define some images. Check the html output and see that sizes has a hardcoded value of:
<img sizes="100vw" />

Expected behavior:
Be able to set the sizes dynamically.
Actual behavior:
sizes has a hardcoded value of 100vw

Aren't images supposed to be displayed at 100vw ?

Hi @jorrit , I think you are right. A Lightbox should always be 100vw... or I may be doing something wrong. Closing this for now. Many thanks for clear up things.


Unsubscribe/subscribe race conditions

Original issue: https://github.com/anycable/anycable-go/issues/148
Relevant Action Cable PR: https://github.com/rails/rails/pull/41581

Fixed and released in<EMAIL_ADDRESS>/cc @tleish

You can pass a custom protocol instance if you want to customize the options: createCable({protocol: new ActionCableProtocol(options)}).

This means that the retry interval is always 5 seconds.

That's the amount of time we wait for a subscription confirmation or rejection. Since Action Cable doesn't provide any feedback if the subscribe command has failed, we should rely on timeouts.
Here we try to resolve the potential race condition with unsubscription only. And we already have a different, cooldown, mechanism for that, which should work in most cases. Only if it doesn't work, we activate this retry mechanism.


Example for quant Gpt-neox-20b

Hey guys, I am using GPTQ to quantize the GPT-NeoX-20B model. Previously, when quantizing the Llama Family model, I usually used C4 as the example tokenizer. May I ask which dataset is suitable for GPT-NeoX-20B?

Hi, I've also tried neox20b quantization, the inference speed I got is 16tokens/s, which isn't fast enough, may I have your results?


RHEL7 agent config

Have you try trouble shooting doc?
Link to trouble shooting doc: https://www.visualstudio.com/en-us/docs/build/troubleshooting
Yes
Agent version and platform
Version of your agent? 2.102.0/2.100.1...
vsts-agent-rhel.7.2-x64-2.112.0.tar.gz

OS of the machine running the agent? OSX/Windows/Linux...
Red Hat Enterprise Linux Server release 7.3 (Maipo)

VSTS type and version
VisualStudio.com or On-Prem TFS?
On-prem 2017

If On-Prem TFS, which release, 2015 RTM/QU1/QU2?
Version 15.117.26526.0

If VisualStudio.com, what is your account name? http://account.visualstudio.com

What's not working?
Please include error messages and screenshots
Hi,
I'm attempting to install build agent on RHEL7.
Pre-reqs installed (except icu?):
[ec2-user@ip-10-245-113-108 myagent]$ sudo yum install -y deltarpm epel-release unzip libunwind gettext libcurl-devel openssl-devel zlib libicu-devel libunwind.x86_64 icu
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Package deltarpm-3.6-3.el7.x86_64 already installed and latest version
Package epel-release-7-9.noarch already installed and latest version
Package unzip-6.0-16.el7.x86_64 already installed and latest version
Package 2:libunwind-1.1-5.el7_2.2.x86_64 already installed and latest version
Package gettext-<IP_ADDRESS>-4.el7.x86_64 already installed and latest version
Package libcurl-devel-7.29.0-35.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7_3.1.x86_64 already installed and latest version
Package zlib-1.2.7-17.el7.x86_64 already installed and latest version
Package libicu-devel-50.1.2-15.el7.x86_64 already installed and latest version
Package 2:libunwind-1.1-5.el7_2.2.x86_64 already installed and latest version
No package icu available.
Nothing to do

I've tested connecting with curl which works with NTLM:
[ec2-user@ip-10-245-113-108 myagent]$ curl -vvv https://tfsdev.domain/tfs/_apis/distributedtask/pools --ntlm -u DPI\\tfsdevbl:password
* About to connect() to tfsdev.domain port 443 (#0)
*   Trying IP...
* Connected to tfsdev.domain (IP) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=domain
*       start date: Jun 01 00:00:00 2017 GMT
*       expire date: Jul 01 12:00:00 2018 GMT
*       common name: domain
*       issuer: CN=Amazon,OU=Server CA 1B,O=Amazon,C=US
* Server auth using NTLM with user 'DPI\tfsdevbl'
> GET /tfs/_apis/distributedtask/pools HTTP/1.1
> Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
> User-Agent: curl/7.29.0
> Host: tfsdev.domain
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Content-Type: text/html; charset=us-ascii
< Date: Wed, 05 Jul 2017 04:15:51 GMT
< Server: Microsoft-HTTPAPI/2.0
< WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAwADADgAAAAGgokCmbVsaInUqXsAAAAAAAAAALQAtAA7AAAABgOAJQAAAA9EUEkCAAYARABQAEkAAQAaAEEATQBBAEQARQBWAFQARgBTAEMATwBSAEUABAAcAEQAUABJAC4ATgBTAFcALgBHAE8AVgAuAEEAVQADADgAYQBtAGEAZABlAHYAdABmAHMAYwBvAHIAZQAuAEQAUABJAC4ATgBTAFcALgBHAE8AVgAuAEEAVQAFABwARABQAEkALgBOAFMAVwAuAEcATwBWAC4AQQBVAAcACACAnkBjRfXSAQAAAAA=
< Content-Length: 341
< Connection: keep-alive
<
* Ignoring the response-body
* Connection #0 to host tfsdev.domain left intact
* Issue another request to this URL: 'https://tfsdev.domain/tfs/_apis/distributedtask/pools'
* Found bundle for host tfsdev.domain: 0x2483f70
* Re-using existing connection! (#0) with host tfsdev.domain
* Connected to tfsdev.domain (IP) port 443 (#0)
* Server auth using NTLM with user 'DPI\tfsdevbl'
> GET /tfs/_apis/distributedtask/pools HTTP/1.1
> Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAMAAwBwAAAACAAIAHMAAAARABEAewAAAAAAAAAAAAAABoKJAp6QzllGV9QTAAAAAAAAAAAAAAAAAAAAACuRTPJZKUi/cth3cgeIVyeHpXTkGVjqOURQSXRmc2RldmJsaXAtMTAtMjQ1LTExMy0xMDg=
> User-Agent: curl/7.29.0
> Host: tfsdev.domain
> Accept: */*
>
< HTTP/1.1 200 OK
< ActivityId: 3a250756-b083-436f-965a-532e2eee0213
< Cache-Control: no-cache
< Content-Type: application/json; charset=utf-8; api-version=3.1
< Date: Wed, 05 Jul 2017 04:15:51 GMT
< Expires: -1
< Lfs-Authenticate: NTLM
< P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
< Persistent-Auth: true
< Pragma: no-cache
< Server: Microsoft-IIS/8.5
< X-AspNet-Version: 4.0.30319
< X-Content-Type-Options: nosniff
< X-FRAME-OPTIONS: SAMEORIGIN
< X-Powered-By: ASP.NET
< X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
< X-TFS-Session: 3a250756-b083-436f-965a-532e2eee0213
< X-VSS-E2EID: 3a250756-b083-436f-965a-532e2eee0213
< X-VSS-UserData: d028b97f-2b6d-4057-8082-04621883d5af:tfsdevbl
< Content-Length: 1024
< Connection: keep-alive
<
{"count":1,"value":[{"size":4,"createdOn":"2016-10-26T00:43:53.123Z","autoProvision":true,"createdBy":{"id":"d01a252c-7c1e-4f25-afe4-fae71b1cc42b","displayName":"[Agent Pools]\\Agent Pool Administrators","uniqueName":"vstfs:///Framework/Generic/18968611-4fe9-4dc4-b08f-1e7796d63c3a\\Agent Pool Administrators","isContainer":true},"groupScopeId":"c7be8649-bc33-44e4-a3f8-9c3682d547dd","provisioned":true,"administratorsGroup":{"id":"abf3824b-471f-4b42-9ff7-1a14f5aa8634","displayName":"[Agent Pool 1]\\Agent Pool Administrators","uniqueName":"vstfs:///Framework/Generic/c7be8649-bc33-44e4-a3f8-9c3682d547dd\\Agent Pool Administrators","isContainer":true},"serviceAccountsGroup":{"id":"e9dc6ff8-75c0-4a34-a8ad-808032e3afa6","displayName":"[Agent Pool 1]\\Agent Pool Service Accounts","uniqueName":"vstfs:///Framework/Generic/c7be8649-bc33-44e4-a3f8-9c3682d547dd\\Agent Pool Service Accounts","isContainer":true},"id":1,"scope":"15d9c977-e7b6-45ec-aa28-e8f24db8c3c0","name":"Default","isHosted":false,"poolType":"automation"}]}* Connection #0 to host tfsdev.domain left intact

## **Agent and Worker's diag log**
Logs are located at the `_diag` under agent root folder, agent log prefix with `Agent_`, worker log prefix with `Worker_`. all sensitive information should already be masked out, please double check before paste here.
[2017-07-05 04:23:34Z INFO AgentProcess] Agent is built for Linux - rhel.7.2-x64.
[2017-07-05 04:23:34Z INFO AgentProcess] RuntimeInformation: Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017.
[2017-07-05 04:23:34Z INFO AgentProcess] Version: 2.112.0
[2017-07-05 04:23:34Z INFO AgentProcess] Commit: 7f51dc44f64f29b26d5f0f00c26f99352201418e
[2017-07-05 04:23:34Z INFO AgentProcess] Culture: en-US
[2017-07-05 04:23:34Z INFO AgentProcess] UI Culture: en-US
[2017-07-05 04:23:34Z INFO HostContext] Well known directory 'Bin': '/home/ec2-user/myagent/bin'
[2017-07-05 04:23:34Z INFO HostContext] Well known directory 'Root': '/home/ec2-user/myagent'
[2017-07-05 04:23:34Z INFO AgentProcess] Validating directory permissions for: '/home/ec2-user/myagent'
[2017-07-05 04:23:34Z INFO CommandLineParser] Parse
[2017-07-05 04:23:34Z INFO CommandLineParser] Parsing 1 args
[2017-07-05 04:23:34Z INFO CommandLineParser] parsing argument
[2017-07-05 04:23:34Z INFO CommandLineParser] HasArgs: False
[2017-07-05 04:23:34Z INFO CommandLineParser] Adding Command: configure
[2017-07-05 04:23:34Z INFO AgentProcess] Arguments parsed
[2017-07-05 04:23:34Z INFO ProxyConfiguration] Config proxy at: proxyserver:8080.
[2017-07-05 04:23:34Z INFO ProxyConfiguration] Config proxy use DefaultNetworkCredentials.
[2017-07-05 04:23:34Z INFO Agent] ExecuteCommand
[2017-07-05 04:23:34Z INFO ConfigurationStore] currentAssemblyLocation: /home/ec2-user/myagent/bin/Agent.Listener.dll
[2017-07-05 04:23:34Z INFO ConfigurationStore] binPath: /home/ec2-user/myagent/bin
[2017-07-05 04:23:34Z INFO ConfigurationStore] RootFolder: /home/ec2-user/myagent
[2017-07-05 04:23:34Z INFO ConfigurationStore] ConfigFilePath: /home/ec2-user/myagent/.agent
[2017-07-05 04:23:34Z INFO ConfigurationStore] CredFilePath: /home/ec2-user/myagent/.credentials
[2017-07-05 04:23:34Z INFO ConfigurationStore] ServiceConfigFilePath: /home/ec2-user/myagent/.service
[2017-07-05 04:23:34Z INFO CommandSettings] Flag 'help': 'False'
[2017-07-05 04:23:34Z INFO CommandSettings] Flag 'version': 'False'
[2017-07-05 04:23:34Z INFO CommandSettings] Flag 'commit': 'False'
[2017-07-05 04:23:34Z INFO CommandSettings] Command 'configure': 'True'
[2017-07-05 04:23:34Z INFO ConfigurationManager] ConfigureAsync
[2017-07-05 04:23:34Z INFO ConfigurationStore] IsConfigured()
[2017-07-05 04:23:34Z INFO ConfigurationStore] IsConfigured: False
[2017-07-05 04:23:34Z INFO ConfigurationManager] Is configured: False
[2017-07-05 04:23:35Z INFO Terminal] WRITE LINE:
[2017-07-05 04:23:35Z INFO Terminal] WRITE LINE: >> End User License Agreements:
[2017-07-05 04:23:35Z INFO Terminal] WRITE LINE:
[2017-07-05 04:23:35Z INFO Terminal] WRITE LINE: Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /home/ec2-user/myagent/externals/tee/license.html
[2017-07-05 04:23:35Z INFO Terminal] WRITE LINE:
[2017-07-05 04:23:35Z INFO CommandSettings] Flag 'acceptteeeula': 'False'
[2017-07-05 04:23:35Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:35Z INFO PromptManager] ReadValue
[2017-07-05 04:23:35Z INFO Terminal] WRITE: Enter (Y/N) Accept the Team Explorer Everywhere license agreement now? (press enter for N) >
[2017-07-05 04:23:35Z INFO Terminal] READ LINE
[2017-07-05 04:23:36Z INFO Terminal] Read value: 'Y'
[2017-07-05 04:23:36Z INFO CommandSettings] Flag 'machinegroup': 'False'
[2017-07-05 04:23:36Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'
[2017-07-05 04:23:36Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener
[2017-07-05 04:23:36Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.MachineGroupAgentConfigProvider, Agent.Listener
[2017-07-05 04:23:36Z INFO Terminal] WRITE LINE:
[2017-07-05 04:23:36Z INFO Terminal] WRITE LINE: >> Connect:
[2017-07-05 04:23:36Z INFO Terminal] WRITE LINE:
[2017-07-05 04:23:36Z INFO CommandSettings] Arg 'url': ''
[2017-07-05 04:23:36Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:36Z INFO PromptManager] ReadValue
[2017-07-05 04:23:36Z INFO Terminal] WRITE: Enter server URL >
[2017-07-05 04:23:36Z INFO Terminal] READ LINE
[2017-07-05 04:23:47Z INFO Terminal] Read value: 'https://tfsdev.domain/tfs'
[2017-07-05 04:23:47Z INFO ConfigurationManager] GetCredentialProvider
[2017-07-05 04:23:47Z INFO CommandSettings] Arg 'auth': ''
[2017-07-05 04:23:47Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:47Z INFO PromptManager] ReadValue
[2017-07-05 04:23:47Z INFO Terminal] WRITE: Enter authentication type (press enter for Negotiate) >
[2017-07-05 04:23:47Z INFO Terminal] READ LINE
[2017-07-05 04:23:48Z INFO Terminal] Read value: ''
[2017-07-05 04:23:48Z INFO PromptManager] Falling back to the default: 'Negotiate'
[2017-07-05 04:23:48Z INFO ConfigurationManager] Creating credential for auth: Negotiate
[2017-07-05 04:23:48Z INFO CredentialManager] GetCredentialProvider
[2017-07-05 04:23:48Z INFO CredentialManager] Creating type Negotiate
[2017-07-05 04:23:48Z INFO CredentialManager] Creating credential type: Negotiate
[2017-07-05 04:23:48Z INFO PersonalAccessToken] EnsureCredential
[2017-07-05 04:23:48Z INFO CommandSettings] Arg 'username': ''
[2017-07-05 04:23:48Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:48Z INFO PromptManager] ReadValue
[2017-07-05 04:23:48Z INFO Terminal] WRITE: Enter user name >
[2017-07-05 04:23:48Z INFO Terminal] READ LINE
[2017-07-05 04:23:54Z INFO Terminal] Read value: 'DPI\\tfsdevbl'
[2017-07-05 04:23:54Z INFO CommandSettings] Arg 'password': ''
[2017-07-05 04:23:54Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:54Z INFO PromptManager] ReadValue
[2017-07-05 04:23:54Z INFO Terminal] WRITE: Enter password >
[2017-07-05 04:23:54Z INFO Terminal] READ SECRET
[2017-07-05 04:23:57Z INFO Terminal] Read value: '********'
[2017-07-05 04:23:57Z INFO NegotiateCredential] GetVssCredentials
[2017-07-05 04:23:57Z INFO NegotiateCredential] User name retrieved.
[2017-07-05 04:23:57Z INFO NegotiateCredential] Password retrieved.
[2017-07-05 04:23:57Z INFO NegotiateCredential] URL retrieved: https://tfsdev.domain/tfs
[2017-07-05 04:23:57Z INFO ConfigurationManager] cred retrieved
[2017-07-05 04:23:57Z INFO Terminal] WRITE LINE: Connecting to server ...
[2017-07-05 04:23:59Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:59Z ERR  Terminal] WRITE ERROR (exception):
[2017-07-05 04:23:59Z ERR  Terminal] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.CurlException: Failure when receiving data from the peer
   at System.Net.Http.CurlHandler.ThrowIfCURLEError(CURLcode error)
   at System.Net.Http.CurlHandler.MultiAgent.FinishRequest(StrongToWeakReference`1 easyWrapper, CURLcode messageResult)
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__42`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.AgentServer.<ConnectAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.<TestConnectionAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<ConfigureAsync>d__7.MoveNext()
[2017-07-05 04:23:59Z ERR  Terminal] WRITE ERROR: Failed to connect.  Try again or ctrl-c to quit
[2017-07-05 04:23:59Z INFO CommandSettings] Arg 'url': ''
[2017-07-05 04:23:59Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 04:23:59Z INFO PromptManager] ReadValue
[2017-07-05 04:23:59Z INFO Terminal] WRITE: Enter server URL >
[2017-07-05 04:23:59Z INFO Terminal] READ LINE
[2017-07-05 04:24:02Z INFO Terminal] WRITE LINE: Exiting...

@samindustry thanks for your detail log and all you have been tried.
Can you try use curl access the same endpoint agent trying to access?
Are you able to try latest version agent? since we add more trace in the newer version agent for debug, basically the agent can trace out http request and response.
Here is the doc: https://www.visualstudio.com/en-us/docs/build/troubleshooting#http-trace-logs
export VSTS_AGENT_HTTPTRACE=true before config the agent, then the agent diag log should contains which endpoint the error happen, then you can use curl try that endpoint.
also, can you try run yum list installed | grep curl to display all curl version you have on that box?

@TingluoHuang thanks for the prompt response.
I have tested curl and didn't see any issues there, please see OP.  Please advise if I should try a different URL.
Where can I get latest agent as the doco says to download from my TFS install.  I did enable httptrace but maybe my agent is too old.
[ec2-user@ip-10-245-113-108 myagent]$ yum list installed | grep curl
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/product/rhui-client-config-server-7.crt
Repo rhui-REGION-client-config-server-7 forced skip_if_unavailable=True due to: /etc/pki/rhui/rhui-client-config-server-7.key
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel7.crt
Repo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel7.key
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel7.crt
Repo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel7.key
curl.x86_64                7.29.0-35.el7       @anaconda/7.3
libcurl.x86_64             7.29.0-35.el7       @anaconda/7.3
libcurl-devel.x86_64       7.29.0-35.el7       @rhui-REGION-rhel-server-releases
python-pycurl.x86_64       7.19.0-19.el7       @anaconda/7.3

@samindustry you can always get it from github.
https://github.com/Microsoft/vsts-agent/releases/tag/v2.117.2

@samindustry do you have any proxy between you agent and AT?

@TingluoHuang yes, proxy is set (export VSTS_HTTP_PROXY=).  With updated agent (2.117.2) I am getting past that error now!
Now I am getting auth error on default agent pool:
[ec2-user@ip-10-245-113-108 myagent]$ ./config.sh

>> End User License Agreements:

Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /home/ec2-user/myagent/externals/tee/license.html

Enter (Y/N) Accept the Team Explorer Everywhere license agreement now? (press enter for N) > Y

>> Connect:

Enter server URL > https://tfsdev.domain/tfs
Enter authentication type (press enter for Negotiate) >
Enter user name > DPI\tfsdevbl
Enter password > *******
Connecting to server ...

>> Register Agent:

Enter agent pool (press enter for default) >
TF400813: Resource not available for anonymous access. Client authentication required.
Failed to find pool name. Try again or ctrl-c to quit
Enter agent pool (press enter for default) >
Enter agent name (press enter for ip-10-245-113-108) >
Scanning for tool capabilities.
Connecting to the server.
TF400813: Resource not available for anonymous access. Client authentication required.

Diag:
[2017-07-05 05:00:05Z WARN HostContext] *****************************************************************************************
[2017-07-05 05:00:05Z WARN HostContext] **                                                                                **
[2017-07-05 05:00:05Z WARN HostContext] ** Http trace is enabled, all your http traffic will be dumped into agent diag log.    **
[2017-07-05 05:00:05Z WARN HostContext] ** DO NOT share the log in public place! The trace may contains secrets in plain text. **
[2017-07-05 05:00:05Z WARN HostContext] **                                                                                **
[2017-07-05 05:00:05Z WARN HostContext] *****************************************************************************************
[2017-07-05 05:00:05Z INFO AgentProcess] Agent is built for Linux - rhel.7.2-x64.
[2017-07-05 05:00:05Z INFO AgentProcess] RuntimeInformation: Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017.
[2017-07-05 05:00:05Z INFO AgentProcess] Version: 2.117.2
[2017-07-05 05:00:05Z INFO AgentProcess] Commit: 38c028a22fde25ec5deff999b2518392ba750446
[2017-07-05 05:00:05Z INFO AgentProcess] Culture: en-US
[2017-07-05 05:00:05Z INFO AgentProcess] UI Culture: en-US
[2017-07-05 05:00:05Z INFO HostContext] Well known directory 'Bin': '/home/ec2-user/myagent/bin'
[2017-07-05 05:00:05Z INFO HostContext] Well known directory 'Root': '/home/ec2-user/myagent'
[2017-07-05 05:00:05Z INFO AgentProcess] Validating directory permissions for: '/home/ec2-user/myagent'
[2017-07-05 05:00:05Z INFO CommandLineParser] Parse
[2017-07-05 05:00:05Z INFO CommandLineParser] Parsing 1 args
[2017-07-05 05:00:05Z INFO CommandLineParser] parsing argument
[2017-07-05 05:00:05Z INFO CommandLineParser] HasArgs: False
[2017-07-05 05:00:05Z INFO CommandLineParser] Adding Command: configure
[2017-07-05 05:00:05Z INFO AgentProcess] Arguments parsed
[2017-07-05 05:00:05Z INFO VstsAgentWebProxy] No proxy setting found.
[2017-07-05 05:00:05Z INFO Agent] ExecuteCommand
[2017-07-05 05:00:05Z INFO ConfigurationStore] currentAssemblyLocation: /home/ec2-user/myagent/bin/Agent.Listener.dll
[2017-07-05 05:00:05Z INFO ConfigurationStore] binPath: /home/ec2-user/myagent/bin
[2017-07-05 05:00:05Z INFO ConfigurationStore] RootFolder: /home/ec2-user/myagent
[2017-07-05 05:00:05Z INFO ConfigurationStore] ConfigFilePath: /home/ec2-user/myagent/.agent
[2017-07-05 05:00:05Z INFO ConfigurationStore] CredFilePath: /home/ec2-user/myagent/.credentials
[2017-07-05 05:00:05Z INFO ConfigurationStore] ServiceConfigFilePath: /home/ec2-user/myagent/.service
[2017-07-05 05:00:05Z INFO CommandSettings] Flag 'help': 'False'
[2017-07-05 05:00:05Z INFO CommandSettings] Flag 'version': 'False'
[2017-07-05 05:00:05Z INFO CommandSettings] Flag 'commit': 'False'
[2017-07-05 05:00:05Z INFO CommandSettings] Command 'configure': 'True'
[2017-07-05 05:00:05Z INFO ConfigurationManager] ConfigureAsync
[2017-07-05 05:00:05Z INFO ConfigurationStore] IsConfigured()
[2017-07-05 05:00:05Z INFO ConfigurationStore] IsConfigured: False
[2017-07-05 05:00:05Z INFO ConfigurationManager] Is configured: False
[2017-07-05 05:00:05Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:05Z INFO Terminal] WRITE LINE: >> End User License Agreements:
[2017-07-05 05:00:05Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:05Z INFO Terminal] WRITE LINE: Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /home/ec2-user/myagent/externals/tee/license.html
[2017-07-05 05:00:05Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:05Z INFO CommandSettings] Flag 'acceptteeeula': 'False'
[2017-07-05 05:00:05Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:05Z INFO PromptManager] ReadValue
[2017-07-05 05:00:05Z INFO Terminal] WRITE: Enter (Y/N) Accept the Team Explorer Everywhere license agreement now? (press enter for N) >
[2017-07-05 05:00:05Z INFO Terminal] READ LINE
[2017-07-05 05:00:07Z INFO Terminal] Read value: 'Y'
[2017-07-05 05:00:07Z INFO CommandSettings] Flag 'machinegroup': 'False'
[2017-07-05 05:00:07Z INFO CommandSettings] Flag 'deploymentgroup': 'False'
[2017-07-05 05:00:07Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'
[2017-07-05 05:00:07Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener
[2017-07-05 05:00:07Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.DeploymentGroupAgentConfigProvider, Agent.Listener
[2017-07-05 05:00:07Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:07Z INFO Terminal] WRITE LINE: >> Connect:
[2017-07-05 05:00:07Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:07Z INFO CommandSettings] Arg 'url': ''
[2017-07-05 05:00:07Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:07Z INFO PromptManager] ReadValue
[2017-07-05 05:00:07Z INFO Terminal] WRITE: Enter server URL >
[2017-07-05 05:00:07Z INFO Terminal] READ LINE
[2017-07-05 05:00:14Z INFO Terminal] Read value: 'https://tfsdev.domain/tfs'
[2017-07-05 05:00:14Z INFO ConfigurationManager] GetCredentialProvider
[2017-07-05 05:00:14Z INFO CommandSettings] Arg 'auth': ''
[2017-07-05 05:00:14Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:14Z INFO PromptManager] ReadValue
[2017-07-05 05:00:14Z INFO Terminal] WRITE: Enter authentication type (press enter for Negotiate) >
[2017-07-05 05:00:14Z INFO Terminal] READ LINE
[2017-07-05 05:00:15Z INFO Terminal] Read value: ''
[2017-07-05 05:00:15Z INFO PromptManager] Falling back to the default: 'Negotiate'
[2017-07-05 05:00:15Z INFO ConfigurationManager] Creating credential for auth: Negotiate
[2017-07-05 05:00:15Z INFO CredentialManager] GetCredentialProvider
[2017-07-05 05:00:15Z INFO CredentialManager] Creating type Negotiate
[2017-07-05 05:00:15Z INFO CredentialManager] Creating credential type: Negotiate
[2017-07-05 05:00:15Z INFO PersonalAccessToken] EnsureCredential
[2017-07-05 05:00:15Z INFO CommandSettings] Arg 'username': ''
[2017-07-05 05:00:15Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:15Z INFO PromptManager] ReadValue
[2017-07-05 05:00:15Z INFO Terminal] WRITE: Enter user name >
[2017-07-05 05:00:15Z INFO Terminal] READ LINE
[2017-07-05 05:00:22Z INFO Terminal] Read value: 'DPI\tfsdevbl'
[2017-07-05 05:00:22Z INFO CommandSettings] Arg 'password': ''
[2017-07-05 05:00:22Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:22Z INFO PromptManager] ReadValue
[2017-07-05 05:00:22Z INFO Terminal] WRITE: Enter password >
[2017-07-05 05:00:22Z INFO Terminal] READ SECRET
[2017-07-05 05:00:24Z INFO Terminal] Read value: '********'
[2017-07-05 05:00:24Z INFO NegotiateCredential] GetVssCredentials
[2017-07-05 05:00:24Z INFO NegotiateCredential] User name retrieved.
[2017-07-05 05:00:24Z INFO NegotiateCredential] Password retrieved.
[2017-07-05 05:00:24Z INFO NegotiateCredential] URL retrieved: https://tfsdev.domain/tfs
[2017-07-05 05:00:24Z INFO ConfigurationManager] cred retrieved
[2017-07-05 05:00:24Z INFO Terminal] WRITE LINE: Connecting to server ...
[2017-07-05 05:00:25Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfsdev.domain/tfs/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.255.65000.0
  User-Agent: (NetStandard; Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  User-Agent: VstsAgentCore-rhel.7.2-x64/2.117.2
  User-Agent: (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  Expect: 100-continue
}, LoggingRequestId = a068137c-4331-4a44-b224-ec5dfcfecf7c, Timestamp =<PHONE_NUMBER>326 }
[2017-07-05 05:00:26Z INFO HttpTrace] Trace System.Net.Http.Response event:
{ Response = StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  ActivityId: 3a252abc-b083-436f-965a-532e2eee0213
  Date: Wed, 05 Jul 2017 05:00:26 GMT
  Lfs-Authenticate: NTLM
  P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
  Server: Microsoft-IIS/8.5
  WWW-Authenticate: Bearer
  WWW-Authenticate: Basic realm="tfsdev.domain"
  WWW-Authenticate: Negotiate
  WWW-Authenticate: NTLM
  X-Content-Type-Options: nosniff
  X-FRAME-OPTIONS: SAMEORIGIN
  X-Powered-By: ASP.NET
  X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
  X-TFS-ServiceError: TF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-TFS-SoapException: %3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%3csoap%3aEnvelope+xmlns%3asoap%3d%22http%3a%2f%2fwww.w3.org%2f2003%2f05%2fsoap-envelope%22%3e%3csoap%3aBody%3e%3csoap%3aFault%3e%3csoap%3aCode%3e%3csoap%3aValue%3esoap%3aReceiver%3c%2fsoap%3aValue%3e%3csoap%3aSubcode%3e%3csoap%3aValue%3eUnauthorizedRequestException%3c%2fsoap%3aValue%3e%3c%2fsoap%3aSubcode%3e%3c%2fsoap%3aCode%3e%3csoap%3aReason%3e%3csoap%3aText+xml%3alang%3d%22en%22%3eTF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.%3c%2fsoap%3aText%3e%3c%2fsoap%3aReason%3e%3c%2fsoap%3aFault%3e%3c%2fsoap%3aBody%3e%3c%2fsoap%3aEnvelope%3e
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  Connection: keep-alive
  Content-Type: text/html; charset=utf-8
  Content-Length: 20164
}, LoggingRequestId = a068137c-4331-4a44-b224-ec5dfcfecf7c, TimeStamp =<PHONE_NUMBER>237 }
[2017-07-05 05:00:26Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfsdev.domain/tfs/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1', Version: 1.1, Content: <null>, Headers:
{
  User-Agent: VSServices/15.255.65000.0
  User-Agent: (NetStandard; Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  User-Agent: VstsAgentCore-rhel.7.2-x64/2.117.2
  User-Agent: (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  Expect: 100-continue
  X-VSS-UserData:
}, LoggingRequestId = 745c010c-2ea5-408a-8d7f-b500e77132c0, Timestamp =<PHONE_NUMBER>651 }
[2017-07-05 05:00:26Z INFO HttpTrace] Trace System.Net.Http.Response event:
{ Response = StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  ActivityId: 3a252ab8-b083-436f-965a-532e2eee0213
  Cache-Control: no-cache
  Date: Wed, 05 Jul 2017 05:00:26 GMT
  Lfs-Authenticate: NTLM
  P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
  Persistent-Auth: true
  Pragma: no-cache
  Server: Microsoft-IIS/8.5
  Vary: Accept-Encoding
  X-AspNet-Version: 4.0.30319
  X-Content-Type-Options: nosniff
  X-FRAME-OPTIONS: SAMEORIGIN
  X-Powered-By: ASP.NET
  X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-UserData: d028b97f-2b6d-4057-8082-04621883d5af:tfsdevbl
  Connection: keep-alive
  Content-Type: application/json; charset=utf-8; api-version=3.2-preview.1
  Expires: -1
}, LoggingRequestId = 745c010c-2ea5-408a-8d7f-b500e77132c0, TimeStamp =<PHONE_NUMBER>558 }
[2017-07-05 05:00:26Z INFO ConfigurationManager] Test Connection complete.
[2017-07-05 05:00:26Z INFO RSAFileKeyManager] Creating new RSA key using 2048-bit key length
[2017-07-05 05:00:27Z INFO RSAFileKeyManager] Successfully saved RSA key parameters to file /home/ec2-user/myagent/.credentials_rsaparams
[2017-07-05 05:00:27Z INFO WhichUtil] Which: 'chmod'
[2017-07-05 05:00:27Z INFO WhichUtil] Location: '/usr/bin/chmod'
[2017-07-05 05:00:27Z INFO ProcessInvoker] Starting process:
[2017-07-05 05:00:27Z INFO ProcessInvoker]   File name: '/usr/bin/chmod'
[2017-07-05 05:00:27Z INFO ProcessInvoker]   Arguments: '600 /home/ec2-user/myagent/.credentials_rsaparams'
[2017-07-05 05:00:27Z INFO ProcessInvoker]   Working directory: '/home/ec2-user/myagent'
[2017-07-05 05:00:27Z INFO ProcessInvoker]   Require exit code zero: 'False'
[2017-07-05 05:00:27Z INFO ProcessInvoker]   Encoding web name:  ; code page: ''
[2017-07-05 05:00:27Z INFO ProcessInvoker]   Force kill process on cancellation: 'False'
[2017-07-05 05:00:27Z INFO ProcessInvoker] Process started with process id 2377, waiting for process exit.
[2017-07-05 05:00:27Z INFO ProcessInvoker] Finished process with exit code 0, and elapsed time 00:00:00.0308864.
[2017-07-05 05:00:27Z INFO RSAFileKeyManager] Successfully set permissions for RSA key parameters file /home/ec2-user/myagent/.credentials_rsaparams
[2017-07-05 05:00:27Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:27Z INFO Terminal] WRITE LINE: >> Register Agent:
[2017-07-05 05:00:27Z INFO Terminal] WRITE LINE:
[2017-07-05 05:00:27Z INFO CommandSettings] Arg 'pool': ''
[2017-07-05 05:00:27Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:27Z INFO PromptManager] ReadValue
[2017-07-05 05:00:27Z INFO Terminal] WRITE: Enter agent pool (press enter for default) >
[2017-07-05 05:00:27Z INFO Terminal] READ LINE
[2017-07-05 05:00:30Z INFO Terminal] Read value: ''
[2017-07-05 05:00:30Z INFO PromptManager] Falling back to the default: 'default'
[2017-07-05 05:00:30Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfsdev.domain/tfs/_apis/distributedtask/pools?poolName=default', Version: 1.1, Content: <null>, Headers:
{
  Accept: application/json; api-version=3.2-preview.1
  User-Agent: VSServices/15.255.65000.0
  User-Agent: (NetStandard; Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  User-Agent: VstsAgentCore-rhel.7.2-x64/2.117.2
  User-Agent: (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
}, LoggingRequestId = c4f93d02-a13d-42d8-b7b3-9e409769bd5e, Timestamp =<PHONE_NUMBER>188 }
[2017-07-05 05:00:30Z INFO HttpTrace] Trace System.Net.Http.Response event:
{ Response = StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  ActivityId: 3a252aa4-b083-436f-965a-532e2eee0213
  Date: Wed, 05 Jul 2017 05:00:30 GMT
  Lfs-Authenticate: NTLM
  P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
  Server: Microsoft-IIS/8.5
  WWW-Authenticate: Bearer
  WWW-Authenticate: Basic realm="tfsdev.domain"
  WWW-Authenticate: Negotiate
  WWW-Authenticate: NTLM
  X-Content-Type-Options: nosniff
  X-FRAME-OPTIONS: SAMEORIGIN
  X-Powered-By: ASP.NET
  X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
  X-TFS-ServiceError: TF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-TFS-SoapException: %3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%3csoap%3aEnvelope+xmlns%3asoap%3d%22http%3a%2f%2fwww.w3.org%2f2003%2f05%2fsoap-envelope%22%3e%3csoap%3aBody%3e%3csoap%3aFault%3e%3csoap%3aCode%3e%3csoap%3aValue%3esoap%3aReceiver%3c%2fsoap%3aValue%3e%3csoap%3aSubcode%3e%3csoap%3aValue%3eUnauthorizedRequestException%3c%2fsoap%3aValue%3e%3c%2fsoap%3aSubcode%3e%3c%2fsoap%3aCode%3e%3csoap%3aReason%3e%3csoap%3aText+xml%3alang%3d%22en%22%3eTF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.%3c%2fsoap%3aText%3e%3c%2fsoap%3aReason%3e%3c%2fsoap%3aFault%3e%3c%2fsoap%3aBody%3e%3c%2fsoap%3aEnvelope%3e
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  Connection: keep-alive
  Content-Type: text/plain; charset=utf-8
  Content-Length: 86
}, LoggingRequestId = c4f93d02-a13d-42d8-b7b3-9e409769bd5e, TimeStamp =<PHONE_NUMBER>668 }
[2017-07-05 05:00:30Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:30Z ERR  Terminal] WRITE ERROR (exception):
[2017-07-05 05:00:30Z ERR  Terminal] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: Resource not available for anonymous access. Client authentication required.
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__45`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__27`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.<GetPoolIdAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.<GetPoolId>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<ConfigureAsync>d__7.MoveNext()
[2017-07-05 05:00:30Z ERR  Terminal] WRITE ERROR: Failed to find pool name. Try again or ctrl-c to quit
[2017-07-05 05:00:30Z INFO CommandSettings] Arg 'pool': ''
[2017-07-05 05:00:30Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:00:30Z INFO PromptManager] ReadValue
[2017-07-05 05:00:30Z INFO Terminal] WRITE: Enter agent pool (press enter for default) >
[2017-07-05 05:00:30Z INFO Terminal] READ LINE
[2017-07-05 05:03:27Z INFO Terminal] Read value: ''
[2017-07-05 05:03:27Z INFO PromptManager] Falling back to the default: 'default'
[2017-07-05 05:03:27Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfsdev.domain/tfs/_apis/distributedtask/pools?poolName=default', Version: 1.1, Content: <null>, Headers:
{
  Accept: application/json; api-version=3.2-preview.1
  User-Agent: VSServices/15.255.65000.0
  User-Agent: (NetStandard; Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  User-Agent: VstsAgentCore-rhel.7.2-x64/2.117.2
  User-Agent: (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
}, LoggingRequestId = b0b9b37c-541c-461c-aae2-ccbbd2ccbc9e, Timestamp =<PHONE_NUMBER>526 }
[2017-07-05 05:03:27Z INFO HttpTrace] Trace System.Net.Http.Response event:
{ Response = StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  ActivityId: 3a2528a0-b083-436f-965a-532e2eee0213
  Cache-Control: no-cache
  Date: Wed, 05 Jul 2017 05:03:27 GMT
  Lfs-Authenticate: NTLM
  P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
  Persistent-Auth: true
  Pragma: no-cache
  Server: Microsoft-IIS/8.5
  Vary: Accept-Encoding
  X-AspNet-Version: 4.0.30319
  X-Content-Type-Options: nosniff
  X-FRAME-OPTIONS: SAMEORIGIN
  X-Powered-By: ASP.NET
  X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-UserData: d028b97f-2b6d-4057-8082-04621883d5af:tfsdevbl
  Connection: keep-alive
  Content-Type: application/json; charset=utf-8; api-version=3.2-preview.1
  Expires: -1
}, LoggingRequestId = b0b9b37c-541c-461c-aae2-ccbbd2ccbc9e, TimeStamp =<PHONE_NUMBER>544 }
[2017-07-05 05:03:27Z INFO BuildReleasesAgentConfigProvider] Found pool default with id 1
[2017-07-05 05:03:27Z INFO BuildReleasesAgentConfigProvider] PoolId for agent pool 'default' is '1'.
[2017-07-05 05:03:27Z INFO CommandSettings] Arg 'agent': ''
[2017-07-05 05:03:27Z INFO CommandSettings] Flag 'unattended': 'False'
[2017-07-05 05:03:27Z INFO PromptManager] ReadValue
[2017-07-05 05:03:27Z INFO Terminal] WRITE: Enter agent name (press enter for ip-10-245-113-108) >
[2017-07-05 05:03:27Z INFO Terminal] READ LINE
[2017-07-05 05:03:31Z INFO Terminal] Read value: ''
[2017-07-05 05:03:31Z INFO PromptManager] Falling back to the default: 'ip-10-245-113-108'
[2017-07-05 05:03:31Z INFO Terminal] WRITE LINE: Scanning for tool capabilities.
[2017-07-05 05:03:31Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Capabilities.ICapabilitiesProvider'
[2017-07-05 05:03:31Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Capabilities.AgentCapabilitiesProvider, Agent.Listener
[2017-07-05 05:03:31Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Capabilities.EnvironmentCapabilitiesProvider, Agent.Listener
[2017-07-05 05:03:31Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Capabilities.NixCapabilitiesProvider, Agent.Listener
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding '_': './bin/Agent.Listener'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'HISTCONTROL': 'ignoredups'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'HISTSIZE': '1000'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'HOME': '/home/ec2-user'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'HOSTNAME': 'ip-10-245-113-108.dpi.nsw.gov.au'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'LANG': 'en_US.UTF-8'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'LESSOPEN': '||/usr/bin/lesspipe.sh %s'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'LOGNAME': 'ec2-user'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Skipping: 'LS_COLORS'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'MAIL': '/var/spool/mail/ec2-user'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'PATH': '/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'PWD': '/home/ec2-user/myagent'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SELINUX_LEVEL_REQUESTED': ''
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SELINUX_ROLE_REQUESTED': ''
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SELINUX_USE_CURRENT_RANGE': ''
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SHELL': '/bin/bash'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Skipping: 'SHLVL'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_CLIENT': '<IP_ADDRESS> 62180 22'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_CONNECTION': '<IP_ADDRESS> 62180 <IP_ADDRESS> 22'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'SSH_TTY': '/dev/pts/0'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Skipping: 'TERM'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'USER': 'ec2-user'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'VSTS_AGENT_HTTPTRACE': 'true'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_RUNTIME_DIR': '/run/user/1000'
[2017-07-05 05:03:31Z INFO EnvironmentCapabilitiesProvider] Adding 'XDG_SESSION_ID': '1'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'android'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Checking file: 'tools/android'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Checking file: '/home/ec2-user/Library/Developer/Xamarin/android-sdk-macosx/tools/android'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'ant'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'waagent'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'bundle'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'clang'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'cmake'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'curl'
[2017-07-05 05:03:31Z INFO WhichUtil] Location: '/usr/bin/curl'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Adding 'curl': '/usr/bin/curl'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'git'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'gulp'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'java'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'javac'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'make'
[2017-07-05 05:03:31Z INFO WhichUtil] Location: '/usr/bin/make'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Adding 'make': '/usr/bin/make'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'mvn'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'xbuild'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'node'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'nodejs'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'npm'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'python'
[2017-07-05 05:03:31Z INFO WhichUtil] Location: '/usr/bin/python'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Adding 'python': '/usr/bin/python'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'python3'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'sh'
[2017-07-05 05:03:31Z INFO WhichUtil] Location: '/usr/bin/sh'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Adding 'sh': '/usr/bin/sh'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'svn'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'ruby'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'rake'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'svn'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'mdtool'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Checking file: '/Applications/Xamarin Studio.app/Contents/MacOS/mdtool'
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Checking file: '/Applications/Visual Studio.app/Contents/MacOS/vstool'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'generator'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO CapabilitiesBuilder] Checking file: '/Library/Frameworks/Xamarin.Android.framework/Commands/generator'
[2017-07-05 05:03:31Z INFO WhichUtil] Which: 'xcode-select'
[2017-07-05 05:03:31Z INFO WhichUtil] Not found.
[2017-07-05 05:03:31Z INFO AgentCapabilitiesProvider] Adding 'Agent.Name': 'ip-10-245-113-108'
[2017-07-05 05:03:31Z INFO AgentCapabilitiesProvider] Adding 'Agent.OS': 'linux'
[2017-07-05 05:03:31Z INFO AgentCapabilitiesProvider] Adding 'Agent.Version': '2.117.2'
[2017-07-05 05:03:31Z INFO AgentCapabilitiesProvider] Adding 'Agent.ComputerName': 'ip-10-245-113-108'
[2017-07-05 05:03:31Z INFO Terminal] WRITE LINE: Connecting to the server.
[2017-07-05 05:03:31Z INFO HttpTrace] Trace System.Net.Http.Request event:
{ Request = Method: GET, RequestUri: 'https://tfsdev.domain/tfs/_apis/distributedtask/pools/1/agents?agentName=ip-10-245-113-108&includeCapabilities=False', Version: 1.1, Content: <null>, Headers:
{
  Accept: application/json; api-version=3.2-preview.1
  User-Agent: VSServices/15.255.65000.0
  User-Agent: (NetStandard; Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  User-Agent: VstsAgentCore-rhel.7.2-x64/2.117.2
  User-Agent: (Linux 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017)
  Accept-Language: en-US
  X-TFS-FedAuthRedirect: Suppress
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
}, LoggingRequestId = 2b699d8a-1f8e-4f76-ba63-7652947ddaca, Timestamp =<PHONE_NUMBER>496 }
[2017-07-05 05:03:31Z INFO HttpTrace] Trace System.Net.Http.Response event:
{ Response = StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  ActivityId: 3a25284e-b083-436f-965a-532e2eee0213
  Date: Wed, 05 Jul 2017 05:03:31 GMT
  Lfs-Authenticate: NTLM
  P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
  Server: Microsoft-IIS/8.5
  WWW-Authenticate: Bearer
  WWW-Authenticate: Basic realm="tfsdev.domain"
  WWW-Authenticate: Negotiate
  WWW-Authenticate: NTLM
  X-Content-Type-Options: nosniff
  X-FRAME-OPTIONS: SAMEORIGIN
  X-Powered-By: ASP.NET
  X-TFS-ProcessId: 4d362418-fe21-45a6-aa02-9e3a6b6080c0
  X-TFS-ServiceError: TF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.
  X-TFS-Session: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  X-TFS-SoapException: %3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%3csoap%3aEnvelope+xmlns%3asoap%3d%22http%3a%2f%2fwww.w3.org%2f2003%2f05%2fsoap-envelope%22%3e%3csoap%3aBody%3e%3csoap%3aFault%3e%3csoap%3aCode%3e%3csoap%3aValue%3esoap%3aReceiver%3c%2fsoap%3aValue%3e%3csoap%3aSubcode%3e%3csoap%3aValue%3eUnauthorizedRequestException%3c%2fsoap%3aValue%3e%3c%2fsoap%3aSubcode%3e%3c%2fsoap%3aCode%3e%3csoap%3aReason%3e%3csoap%3aText+xml%3alang%3d%22en%22%3eTF400813%3a+Resource+not+available+for+anonymous+access.+Client+authentication+required.%3c%2fsoap%3aText%3e%3c%2fsoap%3aReason%3e%3c%2fsoap%3aFault%3e%3c%2fsoap%3aBody%3e%3c%2fsoap%3aEnvelope%3e
  X-VSS-E2EID: a9848309-ccbf-4e6a-99a5-b2be97c12a16
  Connection: keep-alive
  Content-Type: text/plain; charset=utf-8
  Content-Length: 86
}, LoggingRequestId = 2b699d8a-1f8e-4f76-ba63-7652947ddaca, TimeStamp =<PHONE_NUMBER>324 }
[2017-07-05 05:03:31Z ERR  Agent] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: Resource not available for anonymous access. Client authentication required.
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__45`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__27`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.<GetAgentAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<ConfigureAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Agent.<ExecuteCommand>d__9.MoveNext()
[2017-07-05 05:03:31Z ERR  Terminal] WRITE ERROR: TF400813: Resource not available for anonymous access. Client authentication required.
[2017-07-05 05:03:31Z INFO HttpTrace] DiagListeners finished transmitting data.

@TingluoHuang thanks for your help, Alternate auth worked:
[ec2-user@ip-10-245-113-108 myagent]$ ./config.sh --unattended --url https://tfsdev.domain/tfs --auth Alternate --windowslogonaccount domain\\user --windowslogonpassword PASSWORD --username domain\\user --password PASSWORD --pool default

>> End User License Agreements:

Building sources from a TFVC repository requires accepting the Team Explorer Everywhere End User License Agreement. This step is not required for building sources from Git repositories.

A copy of the Team Explorer Everywhere license agreement can be found at:
  /home/ec2-user/myagent/externals/tee/license.html

>> Connect:

Connecting to server ...

>> Register Agent:

Scanning for tool capabilities.
Connecting to the server.
Successfully added the agent
Testing agent connection.
2017-07-05 05:24:15Z: Settings Saved.

:+1:

@samindustry glad you unblock, but i am still interested to know why Negotiate not work.
Few thing i want to confirm:

You said you do have proxy between the agent and TFS AT, but the agent diag logs shows that the agent didn't pick up the proxy config you have. [2017-07-05 05:00:05Z INFO VstsAgentWebProxy] No proxy setting found. how did you set up proxy for agent?
When you use Negotiate (NTLM in your case), i would expect to see NTLM handshake in http requests, ex.  first request get 401 from server, second request will send auth header with NTLM token and pass the front door. However in your trace, i didn't see any auth header been sent out with NTLM token in there.

@TingluoHuang

Yes sorry, I had the .proxy file in the old agent, so when I downloaded updated agent it didn't have this .proxy file.  But I do also have the following set: VSTS_HTTP_PROXY=proxy:8080
Yes I would expect to see that also, as is shown in the CURL.

i am going to close this issue, since the original problem has been solved.
we are in the process of moving the build agent to use dotnet core 2.1 which has the big benefits of getting rid of libcurl dependency on Linux/OSX.


Update meeting-policies-in-teams.md

Fixed the text for cloud recording as the text was incorrect.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Add info about required permissions

Document required permissions to use it with Amazon S3. Finding them out via reverse engineering and trial&error was rather frustrating experience, so lets save others from it.

Thanks for the contribution


New version: Diffractor v0.2.1

Registering package: Diffractor
Repository: https://github.com/JuliaDiff/Diffractor.jl
Created by: @oxinabox
Version: v0.2.1
Commit: 9b2a506077d569d90df14817085447e5c9551ea3
Reviewed by: @oxinabox
Reference: https://github.com/JuliaDiff/Diffractor.jl/commit/9b2a506077d569d90df14817085447e5c9551ea3#commitcomment-122875244
Description: Next-generation AD

Won't automerge due to  being at higher version than JuliaCI runs at


Fix channels support and bump Django from 5.0 to <5.1

I tested manually though there's no test code.

Thanks! If you can fix the CI it would be great :upside_down_face:

Please add a RELEASE.md file as well
should llok like this
Release type: patch

describe your changes

Thanks!


[0.2.x] introduce TryFrom impls for path, scheme, uri and authority

This is a redo of https://github.com/hyperium/http/pull/308 on the 0.2.x branch

This PR introduces TryFrom, however doesn't remove HttpTryFrom or change other bits in any way, to keep the PR small and unblock others to continue this work.
Further PRs can remove HttpTryFrom completely if so required.

/cc @seanmonstar @davidbarsky

Thanks for this! I’m not one with the final authority on the matter, but I’d be happy to merge this in and pick up the remaining work of removing HttpTryFrom.


mock_api code generation 2023-09

This merged in mock_api code generation from mock_api branch to the latest.

This PR was meant for my fork.


@filename.tar as file entry to copy from one tarball to another

This is a very optional thing, and I'm not sure how useful it really is, but the completionist in me wants to do it.
If you do tar cf new.tar @old.tar it'll take the entries in old.tar and re-encode them as new entries in new.tar.  (You can also do this with u and r.)
It might require refactoring how write-entry.js works, because right now it takes a path, or maybe there needs to be a tar-entry.js that takes a ReadEntry and turns it directly into a WriteEntry.

YAGNI.  Closing until someone has a need for this.  It's a very obscure feature.

This sounds very interesting, I currently need to combine two tgz files and cannot quite find out how to pipe from a readstream to a tar writestream. This sounds helpful

Note: this did end up landing eventually.  You can do tar.c({file:'combined.tar'}<EMAIL_ADDRESS><EMAIL_ADDRESS>and it'll combine them into one.

@isaacs thanks. I assume this will also work with tgz files. I will try that. I missed the '@' special syntax


fix(material/datepicker): add hideHeader

adds a boolean Input for mat-datepicker to hide header so the users dont have to pass empty component to remove it
fixes #24337

not exactly sure whats up with lint, it seems to be passing locally.. :thinking:

I'm not sure we want to make this change, because it just adds more complexity to our API surface. I understand that passing an empty component might not feel like the nicest solution, but it does make it possible to support your use case within the existing API. In general I see it as: lets add the APIs that make sense for the "official experience" and the custom header is just a catch-all for people that want to go outside of that

I do agree with you but having an empty component just to hide header just feels off? It's completely up-to you guys, so feel free to close the PR, I'm just a fellow contributor who is still in learning phase! 😄


Update dev container to 3.0.1

If this has a new sandbox.sh bundled up with it, then we can remove the extra line in the postcreatecommand (in this file)

@ross-p-smith I'm not sure what you mean by new? It's got the sandbox at that time?
I think the reason this breaks is because the install prefix is now split, like the packages, and so the path should be /opt/ccf_virtual/... instead of /opt/ccf/....

@ross-p-smith I'm not sure what you mean by new? It's got the sandbox at that time?
I think the reason this breaks is because the install prefix is now split, like the packages, and so the path should be /opt/ccf_virtual/... instead of /opt/ccf/....

I put in a quick hack to copy sandbox.sh from this repo over the top of /opt/ccf/bin/sandbox.sh until we upgraded the devcontainer. If we are now upgrading the dev container, we don't need to copy that file in the postcreatecommand as it already exists in the right place(?!?).

@ross-p-smith oh I see, sorry, yes no this is definitely the up to date script in 3.0.1.

This
"postCreateCommand": "npm install --prefix=banking-app && npm install --prefix=auditable-logging-app && cp sandbox.sh /opt/ccf/bin/sandbox.sh",

becomes
"postCreateCommand": "npm install --prefix=banking-app && npm install --prefix=auditable-logging-app",

@ross-p-smith unfortunately it's out of range for the UI suggestion, but I think a number of other paths need to be updated, so let me do that too.

We had this on our backlog - so just linking that this will Fix #60

@achamayou - I pulled your branch and I can reproduce this same problem by running
/workspaces/ccf-app-samples/banking-app# make test-docker-virtual
I can look into this as a separate bug as it's a docker issue and not the new image that you have added. If you edit https://github.com/microsoft/ccf-app-samples/blob/7565b673cf5822c6379c3493496edc6e1b9a9462/.github/workflows/ci.yml#L27
And remove make test-docker-virtual for now as everything else works


sol::overload issue

Hello i'm trying to implement two template functions, but i'm having a few problems with sol::overload.

My hasComponent is working only when i'm looking for transform component, when i try to use sol::overload and pass other component types i have this error(and the getComponent is not working by the same problem):
sol: no matching function call takes this number of arguments and the specified types
Here are my template functions:

sol::overload does not work here because there exists no way for Lua (and sol2) to differentiate between the function calls. You need to pass in some kind of argument to act as a discriminator: sol::overload uses argument information to decide which one to call. GetComponent/HasComponent takes no arguments, so it matches no calls.
You need to write a version that takes some kind of indicator. A string name, various different special structures you inject into Lua to make the difference clear - something. What are you passing in right now to differentiate?

sol::overload does not work here because there exists no way for Lua (and sol2) to differentiate between the function calls. You need to pass in some kind of argument to act as a discriminator: sol::overload uses argument information to decide which one to call. GetComponent/HasComponent takes no arguments, so it matches no calls.
You need to write a version that takes some kind of indicator. A string name, various different special structures you inject into Lua to make the difference clear - something. What are you passing in right now to differentiate?

I pass the class type like this:

That passes a sol::metatable to a function named HasComponent. That does not match the HasComponent function you have. You need to write a single function which takes a HasComponent(sol::metatable) and then check the class name and map it to a specific class type, or some other form of identification.

That passes a sol::metatable to a function named HasComponent. That does not match the HasComponent function you have. You need to write a single function which takes a HasComponent(sol::metatable) and then check the class name and map it to a specific class type, or some other form of identification.

Thank you, it's working now


License link

React Boilerplate
Thank you for contributing! Please take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
Please open an issue before embarking on any significant pull request, especially those that
add a new library or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
Before opening a pull request, please ensure:

[ ] You have followed our contributing guidelines
[ ] double-check your branch is based on dev and targets dev
[ ] Pull request has tests (we are going for 100% coverage!)
[ ] Code is well-commented, linted and follows project conventions
[ ] Documentation is updated (if necessary)
[ ] Internal code generators and templates are updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the MIT License.

Sorry, pulled upstream by mistake.

Coverage remained the same at 100.0% when pulling 42a445c6dbfa34ddd6ad1e7061bd2325b4bbe04f on ishankbahl:license-link into 5b58dd97d0e9dc39799c345f1bcbf1333bde92b1 on react-boilerplate:master.

Coverage remained the same at 100.0% when pulling 42a445c6dbfa34ddd6ad1e7061bd2325b4bbe04f on ishankbahl:license-link into 5b58dd97d0e9dc39799c345f1bcbf1333bde92b1 on react-boilerplate:master.


arch/x86: clean up segmentation.h

include/arch/x86/ia32/segmentation.h needs to be reworked and cleaned up.  The primary goal is to eliminate the use of anonymous unions, which are a violation of our (emerging) coding standard.

@apboie if you end up moving forward with this before I do, please grab this issue so we don't duplicate work.


MX Anywhere 2 is not recognize

Information

ratbagd version (`ratbagd --version): 0.14
Distribution: Fedora 33
Kernel version (ex. uname -srmo): Linux 5.10.18-200.fc33.x86_64 x86_64 GNU/Linux

Device info (if applicable):
$ ratbagctl <device> info
No devices available.

Describe the bug
My mouse is not recognize
To Reproduce
Plug the receiver and open the Piper app, the mouse is not recognized
Logs
$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: Logitech MX Anywhere 2
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:4063
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c52b

Additional context
If I change the content of /usr/share/libratbag/logitech-MX-Anywhere2.device and add usb:046d:4063 for DeviceMatch the logs are changed and the Piper app recognize a device but I can't change anything because it throw an error
Here is the new logs. As far as I understand, the receiver is still not recognized, how to proceed in this case ?  Feel free to open a PR adding that ID to the .device file.

The log seems fine, it's just that some of the buttons are not recognized (we don't know which button they actually are). Feel free to open a PR adding that ID to the .device file.

Thank you for reply ! I will do a PR.
But I should not be concern about this error ? :
ratbag debug: New device: Logitech USB Receiver
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c52b

No. We are not talking to the receiver, in fact, we are not talking to any USB device directly. We are talking to the HID device (via the hidraw node). For Logitech receivers, the kernel will export a hidraw node for the receiver, as it would usually do for any USB HID device, but will also export a hidraw node for each devices connected to the receiver. This allows us to easily talk to all connected devices, instead of having to go through the receiver and having to implement an extra protocol for that.
As you can see, ratbagd is able to find and assign a driver to your device :blush:
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0x4063
ratbag debug: Logitech MX Anywhere 2 is device '/dev/hidraw4'.
...
ratbag debug: driver match found: Logitech HID++2.0
hidraw4: "Logitech MX Anywhere 2", 1 profiles

No. We are not talking to the receiver, in fact, we are not talking to any USB device directly. We are talking to the HID device (via the hidraw node) of the connected device. For Logitech receivers, the kernel will export a hidraw node for the receiver, as it would usually do for any USB HID device, but will also export a hidraw node for each devices connected to the receiver. This allows us to easily talk to all connected devices, instead of having to go through the receiver and having to implement an extra protocol for that.
As you can see, ratbagd is able to find and assign a driver to your device blush
ratbag debug: hidraw info: bus 0x03 vendor 0x46d product 0x4063
ratbag debug: Logitech MX Anywhere 2 is device '/dev/hidraw4'.
...
ratbag debug: driver match found: Logitech HID++2.0
hidraw4: "Logitech MX Anywhere 2", 1 profiles

Ok, thank you again for the explanation
PR


Abortion information: Format cost field

Format abortion cost field for $

:dollar:
Thanks @eheintzelman

Fixed in #501


Limit the number of columns in a table

Describe This Problem
The number of columns in the table will affect the query write performance, we need to limit the number of columns.
Proposal
Add a new parameter in config to limit the number of columns.
Additional Context
No response

It's awkward to add this limit to a column-based database, it should be optimized for table with wide columns.
I think a high level task is to investigate which part cause bottleneck, and try to fix them.


Refactor String#replaceAll

If we repeatedly call String#replaceAll, we internally repeatedly call the regular expression pattern compilation every time as following:
    public String replaceAll(String regex, String replacement) {
        return Pattern.compile(regex).matcher(this).replaceAll(replacement);
    }

The modifications are to keep the compiled pattern.
Therefore, compiling a relatively expensive regular expression pattern does not have to be done every time.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@72ee2fa). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #1486   +/-   ##
=========================================
  Coverage          ?   62.17%
  Complexity        ?      900
=========================================
  Files             ?      139
  Lines             ?     4174
  Branches          ?      595
=========================================
  Hits              ?     2595
  Misses            ?     1281
  Partials          ?      298

Impacted Files
Coverage Δ
Complexity Δ

.../stream/aggregate/AggregateApplicationBuilder.java
74.6% <100%> (ø)
25 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72ee2fa...4e4437e. Read the comment docs.


Error while trying to dynamically load/reformat locale messages using definei18nLocale and ts file

Environment
Nuxi 3.4.3
RootDir: /app
Nuxt project info:

Operating System: Linux
Node Version:     v18.16.0
Nuxt Version:     3.4.3
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>                                                                                1:05:29 PM
Builder:          vite
User Config:      app, components, css, postcss, modules, i18n, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
reproduction link: https://codesandbox.io/p/sandbox/loving-david-ytv9tc?file=%2Flocales%2Fel-translations.ts
It should translate the message add_option at the index page to 'Προσθήκη επιλογής'. Instead it doesnt and it logs the error described below.
Describe the bug
I am trying to have all my translations in one translation.json file so I created a .ts file for each of my locales (el.ts and en.ts).
In there I am trying to return a correctly formatted/reduced js object for each of the locales but with no luck.
I have wasted hours in trying to figure this out but nothing seems to work.
The way that's in the reproduction repo is probably the one that throws the fewest errors, but the main one is:
ERROR  Internal server error: You need to define 'export default' that will return the locale messages.
image version in browser:

Can someone please help?
Additional context
I have also tried having the translations file refactored to a json one but with pretty much the same results
Logs
ERROR  Internal server error: You need to define 'export default' that will return the locale messages.
  Plugin: vite:esbuild
  File: /project/sandbox/locales/el-translations.ts
      at generate (/project/sandbox/node_modules/@intlify/bundle-utils/lib/js.js:53:19)
      at TransformContext.esbuildPlugin.transform (file:///project/sandbox/node_modules/@intlify/unplugin-vue-i18n/lib/index.mjs:273:52)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async Object.transform (file:///project/sandbox/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:42919:30)
      at async loadAndTransform (file:///project/sandbox/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53385:29)

Hi!
Thank you for your reporting!
This is a bug that causes nuxt i18n to transform files other than el.ts and en.ts into the directory specified in the langDir option.
Until this issue is fixed, a workaround is to put all executable files other than el.ts and en.ts (i.e. el-translations.ts, en-translations.ts and translations.ts) in the directory specified by the langDir option. translations.ts) can be avoided by placing them in some directory, such as the shared` dir, instead of defining them.

Thank you!
Leaving just the el.ts and en.ts files in the specified langDIr and moving all the other files to another directory did the trick!
Hoping this gets fixed soon  ✌

Also HMR in these files would be nice, now every time I add a new translation I have to restart nuxt because otherwise I get error:
@nuxtjs/i18n Failed locale loading: (431 Request Header Fields Too Large

This issue has fixed in v8.0.0-beta.12 already.
You can upgrade to it!

Just upgraded!
Indeed the error is gone, however HMR still not working.
If I change or add a translation, even though the page seems to be refreshing when I update my translations json file, the translations shown on the page are still the ones from when I run npm run dev and the only way of getting them right is to restart the nuxt dev server
I know it's kinda minor but it will help speed up development for sure

FYI: There is already a HMR issue #2026

The original error is still a thing for me, even after upgrading to 8.0.0-rc.4.
The error I'm receiving is:

You need to define 'export default' that will return the locale messages.

Have downgraded the @intlify/unplugin-vue-i18n package, the issue went away for me and everything works as normal.

The original error is still a thing for me, 8.0.0-rc.5
any update now?

+1

@Thy3634 @nahojj
Could you provide a minimal reproduction using the latest edge release?

@codetheorist

Have downgraded the @intlify/unplugin-vue-i18n package

Downgraded to what ?

I should have been more clear.
I had the issue, but it seems the issue is related to the package I have mentioned rather than your own.  I had it installed alongside this package and it seems to be the culprit for this issue.

Closing this as this issue seems to have been resolved already, if anyone is still experiencing this issue please open a new issue with a (minimal) reproduction.

@rhengles Which version of @intlify/unplugin-vue-i18n package did you downgrade to? Thanks

@netopolit
I never solved this, my workaround was to not use Nuxt, unfortunately

My context was slightly different but I was getting the same error.
In my vite.config.mjs file I had to include "something" in order to make the configuration with runtimeOnly set to false work:
export default defineConfig({   plugins: [     [...]     VueI18nPlugin({       include: "",       runtimeOnly: false     })   ], [...] )}

The problem is still not fixed

@alexander-rodin

The problem is still not fixed

Can you open a new issue and provide a minimal reproduction?


Add bill command

Added

BillCommand class
BillCommandParser class
BillCommandTest class
BillCommandParserTest class
Bill command in user guide
Bill prefix "b/"
Add method for bill

Modified

Bill accepts negative values but not for final bill
Test data
Sample data

Comments

Bill command and bill class can accept +, -, or unsigned (taken as positive) values
Bill is checked for negative value before being assigned to guest

Resolves #99, resolves #82, resolves #83, resolves #81

Codecov Report
Base: 76.14% // Head: 76.66% // Increases project coverage by +0.51% :tada:

Coverage data is based on head (97f295b) compared to base (9f382a6).
Patch coverage: 92.85% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #104      +/-   ##
============================================
+ Coverage     76.14%   76.66%   +0.51%
- Complexity      451      463      +12
============================================
  Files            71       73       +2
  Lines          1283     1324      +41
  Branches        132      138       +6
============================================
+ Hits            977     1015      +38
- Misses          277      279       +2
- Partials         29       30       +1

Impacted Files
Coverage Δ

...java/seedu/guest/logic/parser/GuestBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...n/java/seedu/guest/logic/commands/BillCommand.java
92.30% <92.30%> (ø)

...va/seedu/guest/logic/parser/BillCommandParser.java
100.00% <100.00%> (ø)

.../main/java/seedu/guest/logic/parser/CliSyntax.java
87.50% <100.00%> (+1.78%)
:arrow_up:

src/main/java/seedu/guest/model/guest/Bill.java
93.33% <100.00%> (+8.71%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove 'make redundant' option from the restart network pop-up.

ISSUE TYPE

Bug Report

COMPONENT NAME

UI and Primate

CLOUDSTACK VERSION

4.14

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

This should be defined at an offering level, simply having the option to turn a network into redundant shouldn't be available on restart as it's confusing people
STEPS TO REPRODUCE

Restart a network and observe the option

@borisstoyanov did you report this to the Primate project (raised bug there?)

No, I've marked the component as UI and Primate, it needs to be tested against both when picket up.

@borisstoyanov this is fixed in Primate

with latests master installed from nightly I can still see this

this is cloudstack-primate-1.0.0-20201110.x86_64.rpm

@rhtyd @borisstoyanov
I think this works fine in old UI, why remove it from Primate ?

@weizhouapache while it is working good in majority of cases, this is something that should be set on a service offering level, it's simply not in the right place.

@borisstoyanov  what you said is an option to change a network to redundant.
makeredundant is an optional parameter of restartnetwork. it would be better to support it on Primate UI.
(local) mgt01 > restart network
cleanup=        filter=         id=             makeredundant=

yes @weizhouapache, what I mean is not just the UI but this API shouldn't be there at all. Cloudstack uses offering model to set limits on the resources it gives to users. So if a user wants to have a redundant VR he should have such offering, simply changing that with a VR restart is in conflict with this model.

As you see this seems to be available to users as well which is not really great.

As you see this seems to be available to users as well which is not really great.

yeah. however we have used that feature for years.
so if you want to change it, could you add a global setting to enable/disable the feature to keep backwards compatibility ?

We've discussed previously that we'll simply remove it from UI for now as first step, but it's still going to be there in cmk. Does this work for you @weizhouapache ?

@borisstoyanov thanks for your explanation. could you give me a link about the discussion ? thanks !

it's just this issue, not sure if there's anything in the primate repo.

This was a recently added UI feature, available via API though. We can hide it in UI as users from 4.9/4.11/4.13 can cause additional/unanticipated VR resource consumption for IaaS hosting/providers.


Hot reloading extension for development

There is a webpack plugin that watches the filesystem and hot reloads the extension.

Chrome now supports this out of the box when using the load unpacked option on the extensions page.


chore: Upgrade kind (0.23.0), kubectl (1.30.4), knative (1.15.0)

@squakez Do you know what type of change should make the project move to v3 ?


CCBC_732 - make rate-limit absolute, not per thread

--rate-limit now maps to the total number of ops performed on the cluster (previously was multiple by #threads).
e.g. using  -t4 and --rate-limit 200, ops on the cluster will be 200 where previously it would have been 800.

did it the proper way via gerrit


node js installation error

115687 verbose stack Error<EMAIL_ADDRESS>postinstall: npm run build:fonts && npm run build
115687 verbose stack Exit status 1
115687 verbose stack at EventEmitter. (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:279:16)
115687 verbose stack at emitTwo (events.js:135:13)
115687 verbose stack at EventEmitter.emit (events.js:224:7)
115687 verbose stack at ChildProcess. (C:\Users\admin\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
115687 verbose stack at emitTwo (events.js:135:13)
115687 verbose stack at ChildProcess.emit (events.js:224:7)
115687 verbose stack at maybeClose (internal/child_process.js:943:16)
115687 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
115688 verbose pkgid<EMAIL_ADDRESS>115689 verbose cwd E:\silex\Silex\Silex
115690 error Windows_NT 6.1.7601
115691 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\admin\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
115692 error node v9.1.0
115693 error npm v4.3.0
115694 error code ELIFECYCLE
115695 error errno 1
115696 error<EMAIL_ADDRESS>postinstall: npm run build:fonts && npm run build
115696 error Exit status 1
115697 error Failed at the<EMAIL_ADDRESS>postinstall script 'npm run build:fonts && npm run build'.
115697 error Make sure you have the latest version of node.js and npm installed.
115697 error If you do, this is most likely a problem with the cloud-explorer package,
115697 error not with npm itself.
115697 error Tell the author that this fails on your system:
115697 error npm run build:fonts && npm run build
115697 error You can get information on how to open an issue for this project with:
115697 error npm bugs cloud-explorer
115697 error Or if that isn't available, you can get their info via:
115697 error npm owner ls cloud-explorer
115697 error There is likely additional logging output above.
115698 verbose exit [ 1, true ]
please help me to solve this issue

Hello, what part of this error gave the impression this might be a problem with sharp?

hello sir
thanks for your response.when i install silexlabs(static website builder) by using npm i face some installation error.then i search for solution to this error i find your page related to my error.and the link is
https://github.com/lovell/sharp/issues/985
I follwed solution that you mentioned in that link.but it does not working for me.
stil i am facing some in installing silexlabs.
I also upload the error details.
2017-11-11T16_02_37_365Z-debug.log
please provide me a good solution to this error.

This is not a problem with sharp. You'll need to ask the people who maintain "silexlabs", perhaps https://github.com/silexlabs/Silex ?


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.14.265",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=586ef863c94354a7e00e5ae5ef01443d1dc99bc7"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "586ef863c94354a7e00e5ae5ef01443d1dc99bc7",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.14.265 by commit 586ef863c94354a7e00e5ae5ef01443d1dc99bc7. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000109