2019-10-10 01:00:37 UTC - chetanm: If wsk is in PATH it should be picked up. Otherwise you can run with `--dev-mode` flag to disable pre flight check https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570669237002100?thread_ts=1570583748.132500&cid=C3TPCAQG1 ---- 2019-10-10 01:28:31 UTC - chetanm: Seems like Travis builds are all failing due to permission issue even on master https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570670911003300 ---- 2019-10-10 01:28:41 UTC - chetanm: ```Installing collected packages: pip, setuptools, six Found existing installation: pip 19.2.1 Uninstalling pip-19.2.1: ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/bin/pip' Consider using the `--user` option or check the permissions. WARNING: You are using pip version 19.2.1, however version 19.2.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. The command "pip install --upgrade pip setuptools six" failed and exited with 1 during . Your build has been stopped.``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570670921003600?thread_ts=1570670921.003600&cid=C3TPCAQG1 ---- 2019-10-10 01:28:56 UTC - chetanm: <https://travis-ci.org/apache/openwhisk/jobs/595069239> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570670936003800 ---- 2019-10-10 01:29:19 UTC - chetanm: Looks like some change in base Travis image ? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570670959004500 ---- 2019-10-10 02:52:32 UTC - Bill Zong: Face the same issue, too. @Rodric Rabbah Could we just use the fixed pip version instead of upgrading it every time? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570675952004700?thread_ts=1570670921.003600&cid=C3TPCAQG1 ---- 2019-10-10 04:44:17 UTC - chetanm: Tried to use `pip install --upgrade --user` but that resulted in below error ```$ pip install --upgrade --user pip setuptools six
0.06s$ pip3 install --upgrade --user pip setuptools six pyenv: pip3: command not found The `pip3' command exists in these Python versions: 3.6.7 3.7.1``` Would now try without upgrade https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570682657004900?thread_ts=1570670921.003600&cid=C3TPCAQG1 ---- 2019-10-10 04:57:52 UTC - chetanm: Dropping the upgrade also fails ```$ ./tools/travis/docker.sh before_install.2 1.90s$ pip install pip setuptools six 0.07s$ pip3 install pip setuptools six pyenv: pip3: command not found The `pip3' command exists in these Python versions: 3.6.7 3.7.1 The command "pip3 install pip setuptools six" failed and exited with 127 during ``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570683472005100?thread_ts=1570670921.003600&cid=C3TPCAQG1 ---- 2019-10-10 05:04:43 UTC - Gohar Irfan Chaudhry: Ah thanks, will give that a shot! https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570683883005300?thread_ts=1570583748.132500&cid=C3TPCAQG1 ---- 2019-10-10 10:17:42 UTC - chetanm: Today I was trying to use Intellij inbuilt profiler to profile OpenWhisk in standalone mode (in a crude test say of invoking 10 activations) and based on the report it appears there is a possibility to optimize Apache PoolingHttpClientConnectionManager part +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570702662007000 ---- 2019-10-10 10:18:25 UTC - chetanm: As can be seen in above call graph quite a bit of time is spent in instantiating the SSLConnectionSocketFactory while creating the PoolingHttpClientConnectionManager instance which we do for every cold start https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570702705007900 ---- 2019-10-10 10:19:21 UTC - chetanm: As calls to action container is not using SSL we can possibly customize the connection registry to not create SSL factory or just cache the default registry as the classes are immutable https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570702761008900 ---- 2019-10-10 10:20:31 UTC - chetanm: Here is the same stat visualized as Flame graph (bigger the width of s section … bigger the time consumed in those parts) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570702831009000 ---- 2019-10-10 10:27:49 UTC - chetanm: Some correction - This was an allocation profiler run (which monitors memory). So above stats indicate that in PoolingHttpClientConnectionManager creation we do create some big objects/garbage which we can get rid of by disabling the SSL support https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570703269010600 ---- 2019-10-10 11:23:04 UTC - Rodric Rabbah: nice find https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1570706584011000 ----
